TAILIEUCHUNG - Building XML Web Services for the Microsoft .NET Platform phần 7

. Nó có thể chứa hoặc một wellknown hoặc yếu tố kích hoạt. (Tôi bao gồm cấu hình các đối tượng khách hàng kích hoạt sau này trong chương.) Bạn sử dụng các yếu tố wellknown để cấu hình các đối tượng nổi tiếng. Các yếu tố phải có ba thuộc tính: | xml version encoding utf-8 configuration application service wellknown mode SingleCall type Licensing objectUri service application configuration The service element contains the configuration for objects exposed to other applications. It can contain either a wellknown or activated element. I cover configuring client-activated objects later in the chapter. You use the wellknown element to configure well-known objects. The element must contain three attributes mode type and objectUri. The mode attribute indicates whether the well-known object should be hosted as a single call SingleCall or a singleton Singleton . The type attribute contains the full type name and the assembly of the object that should be exposed by the Remoting runtime. The objectUri attribute specifies the URI where the object can be accessed. In the case of the Licensing Web service the URI specified is . does not physically exist requests sent to the URI are intercepted and processed by the Remoting runtime. The Licensing Web service can be hosted within any process. Because many clients might access the Licensing Web service simultaneously a good option is to host the Web service within Microsoft Internet Information Services IIS . This allows the Web service to be hosted in a Web farm that takes advantage of applications that improve the manageability of the Web farm such as Microsoft Application Center . The Licensing Web service can be deployed within any IIS Web application. You can create a new Web application by opening the IIS MMC right- clicking on the Web site selecting New and then choosing Virtual Directory. Once the Web application has been created the contents of the configuration file I just created can be copied into the Web application s file. The Remoting runtime will expect the assemblies to be located within the Web application s bin .

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.