TAILIEUCHUNG - Professional ASP.NET 3.5 in C# and Visual Basic Part 139

Professional in C# and Visual Basic Part 139. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 29 Building and Consuming Services Now turn your attention to working with the Addition Web service using HTTP-GET. To accomplish this task you must enable HTTP-GET from within the Web service application because it is disabled by default. HTTP-GET requests have been disabled by default since . did allow for HTTP-GET and even ran the Web service test interface page using it. You should possibly consider using HTTP-GET for non-secure data that you want the end user to get a hold of as simply as possible. To enable HTTP-GET make changes to your file as shown in Listing 29-9. Listing 29-9 Enabling HTTP-GET in your Web service applications configuration xmlns http .NetConfiguration webServices protocols add name HttpGet protocols webServices configuration Creating a protocols section in your file enables you to add or remove protocol communications. For example you can add missing protocols such as HTTP-GET by using the syntax shown previously or you can remove protocols as the following example shows configuration xmlns http .NetConfiguration webServices protocols remove name HttpGet remove name HttpPost remove name HttpSoap remove name Documentation protocols webServices configuration You do not want to remove everything shown in this code because that would leave your Web service with basically no capability to communicate but you can see the construction required for any of the protocols that you do want to remove. HTTP-POST and SOAP are covered shortly but the node removing Documentation is interesting in that it can eliminate the ability to invoke the Web services interface test page if you do not want to make that page available. After you have enabled your Web service to receive HTTP-GET requests you build a page that uses that protocol to communicate with the Addition Web service. The Web page is shown in .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.