diff options
author | marcinzelent <zelent.marcin@protonmail.com> | 2017-11-20 14:36:20 +0100 |
---|---|---|
committer | marcinzelent <zelent.marcin@protonmail.com> | 2017-11-20 14:36:20 +0100 |
commit | f6f830d066635c91763dd1ae6248c8c189e6fe7e (patch) | |
tree | 7cf4d3315bda5829046e029cf52d2e2d9a167380 /AirPollutionWebApi/Views/Web.config | |
parent | 7ff8524f57d6f4641e4a3dbea6ff6dbe9e346deb (diff) |
Added WebApi.
Diffstat (limited to 'AirPollutionWebApi/Views/Web.config')
-rw-r--r-- | AirPollutionWebApi/Views/Web.config | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/AirPollutionWebApi/Views/Web.config b/AirPollutionWebApi/Views/Web.config new file mode 100644 index 0000000..c23d873 --- /dev/null +++ b/AirPollutionWebApi/Views/Web.config @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<configuration> + <configSections> + <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> + <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" /> + <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" /> + </sectionGroup> + </configSections> + <system.web.webPages.razor> + <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> + <pages pageBaseType="System.Web.Mvc.WebViewPage"> + <namespaces> + <add namespace="System.Web.Mvc" /> + <add namespace="System.Web.Mvc.Ajax" /> + <add namespace="System.Web.Mvc.Html" /> + <add namespace="System.Web.Routing" /> + <add namespace="AirPollutionWebApi" /> + </namespaces> + </pages> + </system.web.webPages.razor> + <appSettings> + <add key="webpages:Enabled" value="false" /> + </appSettings> + <system.webServer> + <handlers> + <remove name="BlockViewHandler" /> + <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" /> + </handlers> + </system.webServer> +</configuration> |