tailieunhanh - Developing ASP Components P2

To address this problem, Microsoft added the ability to IIS Version to run an ASP application in isolation in order to be able to unload a specific application. Once the application was unloaded, the component accessed by the application was unlocked and could then be recompiled. | Page 20 Thursday February 22 2001 1 27 PM 20 Chapter 2 Setting Up the ASP Development Environment To address this problem Microsoft added the ability to IIS Version to run an ASP application in isolation in order to be able to unload a specific application. Once the application was unloaded the component accessed by the application was unlocked and could then be recompiled. With IIS Version you have three options to control ASP application isolation You can create a new web server that runs within the shared IIS process environment through . You can set your application to run within a pooled environment through . Your application can run as an isolated application again through . By default the web server is set up to run within a pooled environment but this can be changed in the server s Properties page. To change the setting for the new development web server right-click on the server in the Internet Information Services console snap-in and pick Properties from the menu that opens. Then select the Home Directory tab from the window that opens as shown in Figure 2-1. The program isolation setting is an option labeled Application Protection. Set this to High Isolated to be able to unload the application and release any locks on components without having to shut down either the web server or the web service. You can change several other properties for the server including performance tuning and setting security for the site from the Properties window. But first time to try out your test environment. To do this you ll need a test ASP component. To test the environment you ll need an ASP component you can use to make sure the application isolation is set correctly and you can unload the web site without having to shut it down. Then you ll need to create a simple ASP page that accesses the component. For this example we ll create a component using Visual Basic. If you aren t using Visual Basic and are running .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã 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.