Common NET development Multiplexing technologies

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.