Running the Web Application |
In order to run the ASP.NET application, the following steps are required: 1. Copy the BrowserBin sub-directory from the TX Text Control installation directory including all its containing files to the BrowserWebSite directory of your project. Note that there are two BrowserWebSite directories. ![]() 2. Select the project BrowserWebSite in the Solution Explorer. Choose the menu item Website / Project Dependencies... to open the appropriate dialog box. Check the BrowserApplication.cs class to specify that the web application depends on the container user control. ![]() 3. To avoid copying the container user control manually into the BrowserBin folder, open the Project / Properties of the BrowserApplication project. In the second tab Build, set the output path to the BrowserBin directory on the server. ![]() 4. On the first tab Application, click the button Assembly Information.... Check the checkbox Make assembly COM-Visible and close the dialog with OK. 5. Be sure that you have adjusted your client-side .NET Security settings. This article shows you how to do that. 6. Press F5 to compile and start the application. While developing your application, you need to clear the .NET download cache (dl3) everytime you create a new version of the wrapping user control. Otherwise, Internet Explorer won't download the user control again due to the fact that the codebase has been modified. This only happens on the development machine. In production, if the server provides a new version of the user control, Internet Explorer downloads this new version in order to install it in the .NET download cache. To avoid cleaning the download cache manually using the Visual Studio command line, you can add this command to the post-build events of Visual Studio: - Open your website's properties using the main menu Project entry. - On the third tab, add the following command to the Post-build event comment line: "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" /cdl |