diff options
author | marcinzelent <zelent.marcin@gmail.com> | 2017-12-01 14:48:19 +0100 |
---|---|---|
committer | marcinzelent <zelent.marcin@gmail.com> | 2017-12-01 14:48:19 +0100 |
commit | c8f0195ccc06575349c0e675c23276ac089bf9c7 (patch) | |
tree | 16a861c8605829bb50dbfd05091b9591f01259c1 /PollutometerWebApi/Global.asax.cs | |
parent | 918e61788858a9ce8fe4e8680d92752f9af8fc5a (diff) |
Changed name of the project.
Diffstat (limited to 'PollutometerWebApi/Global.asax.cs')
-rw-r--r-- | PollutometerWebApi/Global.asax.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/PollutometerWebApi/Global.asax.cs b/PollutometerWebApi/Global.asax.cs new file mode 100644 index 0000000..3a03cf6 --- /dev/null +++ b/PollutometerWebApi/Global.asax.cs @@ -0,0 +1,17 @@ +using System.Web; +using System.Web.Mvc; +using System.Web.Routing; +using System.Web.Http; + +namespace PollutometerWebApi +{ + public class Global : HttpApplication + { + protected void Application_Start() + { + AreaRegistration.RegisterAllAreas(); + GlobalConfiguration.Configure(WebApiConfig.Register); + RouteConfig.RegisterRoutes(RouteTable.Routes); + } + } +} |