aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2017-12-01 14:48:19 +0100
committermarcinzelent <zelent.marcin@gmail.com>2017-12-01 14:48:19 +0100
commitc8f0195ccc06575349c0e675c23276ac089bf9c7 (patch)
tree16a861c8605829bb50dbfd05091b9591f01259c1 /PollutometerWebApi/Global.asax.cs
parent918e61788858a9ce8fe4e8680d92752f9af8fc5a (diff)
Changed name of the project.
Diffstat (limited to 'PollutometerWebApi/Global.asax.cs')
-rw-r--r--PollutometerWebApi/Global.asax.cs17
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);
+ }
+ }
+}