The commonly used net development multiplexing technology is divided into three kinds
1. master Page
2. User Controls
3. Web Services (webserver)
Ways to create webserver under vs2012
Create a service
Create Project-Select Web service, server. CS is located under App_Code, extension. asmx
Referencing a Web service in a real project
Add a Web reference under the Web site root, and the URL fills in the URL of the Web service. Then fill in the Add Web reference with the Web reference name that you want to use.
The reference is in the App_webrefernces directory.
Customer invocation
Create a button after the button
Using Simpleweb;
protected void Button1_Click (Object Sender,eventargs e)
{
Instantiating service objects
Service ms=new service ();
Call the Helloword method of the service object MS,
Passing TextBox.Text as a parameter to the Helloword method
Label1.text=ms. HelloWorld (TextBox1.Text);
}
ASP. NET WebService Getting Started instance
Http://www.cnblogs.com/qidian10/archive/2011/08/05/2128199.html
VS2010 Adding a custom project template and item template
Http://www.cnblogs.com/1971ruru/archive/2012/02/28/2371868.html
http://blog.csdn.net/qiaozhiwei/article/details/5014664
Common NET development Multiplexing technologies