"
ASP.NET (snapshot 2017) Microsoft documentation and samples

Running Different Versions of ASP.NET Web Pages (Razor) Side by Side

by Tom FitzMacken

This article explains how to run ASP.NET Web Pages (Razor) websites on the same computer or server when the websites are configured to use different versions of ASP.NET Web Pages.

What you’ll learn:

  • What the default behavior is in ASP.NET when you have sites built with ASP.NET Web Pages.
  • How to configure a new site to run with an older version of ASP.NET Web Pages.

This is the ASP.NET feature introduced in the article:

  • The webPages:Version configuration setting.

Software versions

  • ASP.NET Web Pages (Razor) 3

This tutorial also works with ASP.NET Web Pages 2 and ASP.NET Web Pages 1.0.

ASP.NET Web Pages supports the ability to run websites side by side. This lets you continue to run your older ASP.NET Web Pages applications, build new ASP.NET Web Pages applications, and run all of them on the same computer.

Here are some things to remember when you install the Web Pages with WebMatrix:

In general, you can always control which version of Web Pages to use with your site by using NuGet to install the appropriate assemblies into the site’s bin folder. To find packages, visit NuGet.org.

Additional Resources

The Top Features in ASP.NET Web Pages 2



Comments ( )
Link to this page: //www.vb-net.com/AspNet-DocAndSamples-2017/aspnet/web-pages/overview/releases/running-v1-and-v2-sites-side-by-side.htm
< THANKS ME>