tailieunhanh - Introducing Windows Azure- P35

Introducing Windows Azure- P35:The cloud platform is getting more and more attractive to the computing world. Today, service-oriented architecture (SOA) and aspect-oriented programming (AOP) techniques are widely used in enterprise solutions. A question an IT management team or a software development team may ask is, what is the next trend going to be? Cloud computing seems to be the right answer. | CHAPTER 5 AZURE .NET SERVICES ACCESS CONTROL private User registeredUser null region lUserRegisterService Members public string Ping return I am here 0 public void RegisterUser string xmlString try XmlDocument xmlDoc new XmlDocument xmlString XmlSerializer serializer new XmlSerializer typeof User StringReader reader new StringReader xmlString registeredUser User reader catch Exception ex public string GetRegisteredUser XmlSerializer serializer new XmlSerializer typeof User StringBuilder sb new StringBuilder StringWriter writer new StringWriter sb writer registeredUser return .ToString endregion Service Implementations and Configurations The following is the implementation of the server Listing 5-9 and its configuration Listing 5-10 . Listing 5-9. Implementations for Service Host using System using using using 143 CHAPTER 5 AZURE .NET SERVICES ACCESS CONTROL namespace class Program static void Main string args ServiceHost host new ServiceHost typeof AzureForDotNetDeveloperWCFservice UserRegister service is running. Press Enter to terminate server private static string ReadSolutionName Please enter your solution name 0 return Listing 5-10. Configurations for Service Host xml version encoding utf-8 configuration bindings basicHttpBinding binding name basicHttpBinding1 basicHttpBinding bindings services service behaviorConfiguration UserRegisterServiceBehavior name .AzureForDotNetDeveloperWCFservice endpoint address binding basicHttpBinding bindingConfiguration name UserRegisterEndpoint contract .

Đã 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.