0% found this document useful (0 votes)
41 views1 page

Running Web Applications Side-By-side

To configure a web application to use .NET Framework version 4.0, the 4.0 framework must be installed on the server. Through IIS Manager, the application pool can be set to use version 4.0. This allows existing applications to take advantage of 4.0 security and performance features without recompiling by running them on 4.0. Alternatively, applications can be manually recreated in Visual Studio 2010 to convert them while maintaining naming consistency and copying over code.

Uploaded by

Mahesa Sudiro
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views1 page

Running Web Applications Side-By-side

To configure a web application to use .NET Framework version 4.0, the 4.0 framework must be installed on the server. Through IIS Manager, the application pool can be set to use version 4.0. This allows existing applications to take advantage of 4.0 security and performance features without recompiling by running them on 4.0. Alternatively, applications can be manually recreated in Visual Studio 2010 to convert them while maintaining naming consistency and copying over code.

Uploaded by

Mahesa Sudiro
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 1

Running Web applications side-by-side

You can specify which version of the .NET Framework you want a Web application to use. Version 4.0 of the framework is backward-compatible with versions 2.0, 3.0, and 3.5. You can then run your existing applications in version 4.0 and take advantage of improved security and performance features without recompiling.
Book II Chapter 4

Upgrading .NET

Considering Your Conversion Strategies

Configuring your Web application to use version 4.0 of the .NET Framework requires that the .NET Framework version 4.0 is installed on the server where the application is hosted. If that version isnt installed, browse to the Windows Update site on the server and install it. To configure a Web application to use version 4.0 of the .NET Framework, follow these steps: 1. Launch the Internet Information Services Manager on the server. In Windows 7, you can find the IIS Manager by choosing Administrative Tools in the Control Panel. 2. Select View Application Pools item. 3. Right-click any items under the Name column. A menu appears. 4. Select Basic Settings. 5. Set the version by using the ASP.NET version drop-down list, as shown in Figure 4-3. 6. Click OK.
Figure 4-3: Set the version of the .NET Framework you want the site to use.

121

122

Using Visual Studio 2010 with .NET 2.0

If you like to take control of your conversions, you can re-create your applications manually in Visual Studio 2010. Heres the overview: 1. Create new Windows or Web solutions. 2. Use the visual designers to manually re-create your forms, pages, user controls, and any other elements that are in your existing application. Make sure to keep your naming style consistent with your old application. 3. Copy any code that you want to bring over from your old solution. Your code should work as long as you re-created all your Windows and Web forms properly. 4. Build your applications and deal with errors.

You might also like