Asp.Net 3.5 In Simple Steps- P23

In Simple Steps- P23:This is a book that helps you to learn using Visual Studio 2008. Precision, an easy-to-understanding style, real life examples in support of the concepts, and practical approach in presentation are some of the features that make the book unique in itself. The text in the book is presented in such a way that is equally helpful to beginners as well as professionals. | in Simple Steps In the preceding listing we have added five Label controls four TextBox controls and a Button control. The design view of the page is shown in Next we need to add a Web reference to the UsingSimplelnterestWebService Web application. 5. To do so right-click the UsingSimplelnterestWebService Web application in the Solution Explorer window. A context menu appears as shown in 6. Select the Add Web Reference option from the context menu to display the Add Web Reference dialog box as shown in 250 in Simple Slips 10. Now press F5 to run the UsingSimplelnterestWebService Web application. 11. fn erthe appropriate values in the Principal Rate and Duration fields and dick the Calculate Simple Interest button to calculate the simple interest as shown in After discussing about the Web service let s learn how to create a WCF service. Here we also create a client to use tlx WCF services. Using a WCF Service Creating a WCF service becomes easy in Visual Studio 2008 due to its in-built support tor WCF. In earlier versions of Visual Studio you need to first install the components of WCF to create WCF services. Now let s create the WCF service using the template provided in Visual Studio 2008 by following these steps 1. Open Visual Studio 2008 and select Filc- New- Web site. A New Web Site dialog box appears as shown in 2. In the New Web Site dialog box. se ecHhc WCF Service template from the Templates pane . 3. Now enter the location and the name. WCFServicc of the project besides the Location field . 4. Selective language in which you want to develop your project and click the OK button . The system-generated files are displayed in the Solution Explorer window as shown in heberrechtlich geschütztes Material 252 Chapter 14 Web Service and WCF Service Solutw plow Sciuboo Vl - 2

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.