> ## Content Index
> Fetch the complete content index at: https://blog.jsinh.in/llms.txt
> Use this file to discover other available public pages before exploring further.

# webpages:Version AppSetting in MVC
- URL: https://blog.jsinh.in/man-004-webpages-version-appsetting-mvc/
- Published: 2014-06-25T16:42:00.000Z
- Updated: 2026-07-07T15:11:19.000Z
- Author: Jsinh
- Tags: #Import 2026-10-04 19:16

Another application configuration setting you will observe in `web.config` of your ASP.NET MVC application is **webpages:Version**

```
<add key="webpages:Version" value="3.0.0.0" />

```

The value for this setting currently is showing 3.0.0.0\. This indicates the version of Webpages - Razor view engine is to be used.

This application setting was introduced during update release of [ASP.NET MVC 3](https://www.microsoft.com/en-us/download/details.aspx?id=1491&ref=blog.jsinh.in) and is used to identify which Razor view engine to be used for handling webpages in your MVC application.

Based on my digging into [ASP.NET WebStack codebase](https://aspnetwebstack.codeplex.com/SourceControl/latest?ref=blog.jsinh.in#src/System.Web.WebPages.Deployment/WebPagesDeployment.cs) on codeplex, Build and Revision component of version number are optional or can differ.

If these two components of version number are not present or not found to be valid `System.Web.WebPages.Deployment` library fixes it to `x.x.0.0` and returns the version number.

#### What will happen if `webpages:Version` application settings is removed?

No worries, because a cascade check is used to find `webpages:Version` number.

**First Step:** Check in your application root web.config, if not found.

**Next Check:** Check in bin directory of your application, it will search for `System.Web.WebPages.Deployment.dll` and extract version number. This will be used / returned when asked for `webpages:Version` value, if not found.

**Next Step:** The application will use / return default version number for webpages which is - `1.0.0.0`.

Based on above information I believe if we remove this setting, the application will still work as expected (works on my machine), due to the fallback check.

In case if you wish to use specific version of Razor view engine for your application's webpage handling then this setting can come handy.

Happy Coding !!