C # WebService packaged into the dynamic libraries

 C # WebService packaged into the dynamic libraries

     

        Remote call between the service and the service will often be achieved through Web Service, Web Service is to support cross-language calls, can be java calling c ++ or c # invoke java, etc., then how the Web Service calls packaged as dynamic libraries do the following We went down to how to package

1. Start webservice service, access wsdl, appear on this page indicates that the publication success

2. Go to the Start menu, find Visual Studio 2015, developers running VS2015 command prompt

3. Run the command wsdl

4. After the operation is complete, the directory will generate a webservice.cs file; then you can copy to use in the project

The dynamic libraries can also be generated

 

6. This dll can be directly used in reference to the project

 

     Note: In this special thanks to the guidance of "Ge" in! ! !

 

Guess you like

Origin www.cnblogs.com/ocean-wang/p/10974921.html