tailieunhanh - ASP.NET 4 Unleased - p 161

Triển khai ASP. Ứng dụng Web NET ứng dụng cùng với cấu hình của họ tất cả, phụ thuộc, và điều kiện tiên quyết. Những gói này có thể được triển khai tới các máy chủ IIS bởi nhà phát triển, quản trị, hoặc dòng lệnh kịch bản và nhanh chóng giảm bớt gánh nặng của việc triển khai các ứng dụng web. Ngoài ra, chúng tôi cũng có khả năng tạo hồ sơ công bố một cú nhấp chuột, cho phép chúng tôi để có những gói web và triển khai chúng theo nhu cầu chỉ cần nhấn một nút. | 1574 CHAPTER 35 Deploying ASPNET Web Applications applications along with all their configuration dependencies and prerequisites. These packages can be deployed to IIS servers by developers administrators or command-line scripts and dramatically ease the burden of deploying web applications. In addition we also have the ability to create one-click publication profiles that enable us to take these web packages and deploy them on-demand just by clicking a button inside Visual Studio. When you have gotten over the joy of building your new 4 application it s going to get even more fun when you see how easy it is to deploy and manage these applications. From the Library of Wow eBook CHAPTER 36 Building Custom Controls In this chapter you learn how to extend Framework by building custom controls. You learn how to create controls in exactly the same way that Microsoft developed the standard controls such as the TextBox and Button controls. Although the standard toolbox of controls available to developers is full of useful controls you might need something more specific for your application or you might intend to build controls available throughout your organization or for resale to other developers. IN THIS CHAPTER Overview of Custom Control Building View State and Control State Processing Postback Data and Events Working with Control Property Collections Creating a Better Designer Experience Summary Overview of Custom Control Building Answer two questions before writing a custom control What type of control do I want to write From what class do I inherit The two basic types of controls are fully rendered and composite controls. When you build a fully rendered control you start from scratch. You specify all the HTML content that the control renders to the browser. When you create a composite control on the other hand you build a new control from existing controls. For example you can create a composite AddressForm control from existing TextBox and