Chapter 19 Quick Reference


Chapter 19 Quick Reference

To

Do This

Create a Web service

From an ASP.NET project, select Web Site | Add New Item from the main menu

Select the Web Service template

Expose a class method as a Web method

Apply the [WebMethod] attribute immediately preceding the method signature

Consume a Web service

From within Visual Studio, select the project in solution explorer.

Right-click on project

Select Add Web Reference

Surf to the Web service. Visual Studio will automatically ask for the WSDL and build a proxy




Microsoft ASP. NET 2.0 Programming Step by Step
Microsoft ASP.NET 2.0 Step By Step (Step By Step (Microsoft))
ISBN: B002KE5VYO
EAN: N/A
Year: 2005
Pages: 177

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net