Microsoft ASP.NET Programming with Microsoft Visual Basic .NET Version 2003 Step by Step [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Microsoft ASP.NET Programming with Microsoft Visual Basic .NET Version 2003 Step by Step [Electronic resources] - نسخه متنی

G. Andrew Duthie

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید







Chapter 11 Quick Reference


























To


Do this


Create an XML-based Web service using ASP.NET


In Visual Studio .NET, create a new ASP.NET Web Service project. Visual Studio .NET will create the application in IIS and create a default Web service file with an .asmx extension.


Test a Web service


Browse the .asmx file containing the Web service from a Web browser. ASP.NET will generate documentation pages for the Web service, as well as allowing you to invoke the Web service.


Change the default namespace of a Web service


Add or modify the WebService attribute, adding a Namespace=“<new URL> parameter.


Advertise a Web service


Either create a discovery document for your Web services and publish the document to a public location, such as your organization’s Web site, or register your Web services in one of the publicly available UDDI business registries, making sure to provide the URL to the WSDL contract for each Web service you register.


Consume a Web service from ASP.NET


Use the wsdl.exe utility to create a proxy class based on the WSDL contract for the Web service, compile the proxy class, and instantiate the proxy class from your client application as you would any other .NET class. Alternatively, simply right- click on the project root in Visual Studio .NET, click Add Web Reference on the drop-down menu, and then enter a URL. If the URL is recognized and the methods available are displayed, click Add Reference.


/ 126