Chat topic: .NET Remoting
Moderator and expert introduction
Host Guide_Wendy_ms Says: You will welcome you. Net Remoting questions to ask Su Jun engineers.
Host Guest_Junsu [MS] Says: remoting is Microsoft used to develop distributed applications
Guest question Q and expert answer A
[Q]: How can we use Remoting how to implement it?
[A]: Remoting is mainly used to develop distributed applications, and the original DCOM technology is used for the same environment.
[Q]: What is the main point?
[A]: Remoting is the technology used in .NET to span Machine, Process, AppDomain
[A]: You can refer to .NET Framework SDK
[Q]: Do you mean that removeing is the upgrade of DCOM [A] Can understand this way
[Q]: Under what circumstances should be used in Remoting technology
[A]: We often say the 30-made structure of the structure, you can use Remoting technology to build. It is the basic technology of distribution applications
[Q]: Is there some online document?
[A]: MSDN is a good document
[A]: http://msdn.microsoft.com/library/en-us/cpguide/html/cpConaccessingObjectsinotherapplicationDomainSUsingnetREMoting.asp
Here is the online document in the MSDN, a better book DVANCed .NET Remoting>
[Q]: Is there any middleware technology?
[A]: Remoting itself does not include middleware technology, but it can develop applications based on COM
[Q]: Three-layer or multi-storey does not have to build it, then his benefits are there?
[A]: Remoting relative to other technologies, we will compare, [DCOM] can only be used for Windows platforms, and it is a binary standard, not enough scalability.
[CORBA] is more difficult to learn, manufacturers are inconsistent
[Q]: And it is a binary standard. "What does this mean?
[A]: When calling, data is unreadable binary data
[Q]: So [transoting] is it difficult? What need to have knowledge? Compared with DCOM, individuals think it is much easier. Basic knowledge is .NET programming
Everyone can download the .NET Framework SDK, look at the documents and examples,
[A]: There are very few people to put Java and DCOM together. Say the J2EE solution comparison to put Remoting is the first technology that does not need to generate proxy / stub
Using Meta Data's .NET Framework can use a universal proxy to support all classes. And, in .NET design, consider remoting, a close part of the .NET CLR combined with.
[A] To Bluelaugh is more than just remote process calls. Remoting can use stateful objects, the server can help you keep an object state
I have just asked the difference between WebService and Remoting, this is a big aspect.
[Q]: Remoting is NATIVE? Is there any DCOM under Remoting?
[A]: Yes, Remoting Basic is Managed Code, network communication is Managed Socket
[Q]: New is the difference between Activator.getObject, the same function, how should you choose or don't care?
[A]: When New is finally called activator.getObject, but you can't use the new target for the new interface. EjB finally uses RMI to complete the call.
[A]: There are three ways to share Assembly on the client and the server.
[A]: Using activator.getObject (TypeF (BankInf), "http: // server: port / bank.soap") [A] If you use BankImp is an object of MarshalByref, you can also go to see SOAPSUDS.EXE Documentation,
[A]: It generates a Assembly (without Code without Metadata) to go to the client
[A]: This detail is more, I think you will see MSDN will help
[A]: Your WellkNowObject can only use byref, but the parameter can be an object of a serializable (Byval)
[A] / Program Files / Microsoft Visual Studio .NET / FRAMEWORKSDK / BIN
[A] Remoting you can take a look at INGO's DVANCed .NET Remoting> Very good book,
[A] For Remoting, C # and vb.net can, there is no difference in Remoting is a very easy to extend the structure, it is a very ideal structure.
[Q]: What are the main applications?
[A]: In enterprise-class applications, Remoting is used to communicate between multiple Layer,
[Q]: How is the security aspects of security?
[A]: Remoting Some security mechanisms are relying on IIS, IIS's verification mechanism will verify that users, Remoting code is running under this user's identity.
[Q]: Is it useful to XML / SOAP when communicating?
[A] Remoting does not limit what kind of communication format is in the current implementation
[A] XMLSerializer uses SOAP's RPC / Document format to transfer data
[A] Remoting can use some of the future interfaces
[A] According to I know, there is a fan in writing WS-Security For Remoting.
[Q]: Yes, Microsoft's standard is too much.
[A]: These but the standards of the industry. SUN, IBM is a member of this standard
[Q]: Is REMOTING is a webservice, or can be called by WebService
[A]: Remoting and WebService are two independent technologies, they do not affiliated to the relationship, Remoting is a technology that tends to RPC
[Q]: Remoting DLL can pass a way to an interface of a WebServices
[A]: Using [WebMethod] in .NET Remoting [WebMethod], add [SOAPRPCService ()] to your webmedhod
[Q]: WEB SERVICES is not RPC?
[A]: Remoting uses SOAP's part of the specification for RPC, WebService is more all, he uses document as a description of WSDL, and the REMOTING RPC description method is different.