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 | |
parent | 918e61788858a9ce8fe4e8680d92752f9af8fc5a (diff) |
Changed name of the project.
-rw-r--r-- | AirPollutionWebApi.userprefs | 17 | ||||
-rw-r--r-- | AirPollutionWebApi/Global.asax | 1 | ||||
-rw-r--r-- | PollutometerWebApi.sln | 2 | ||||
-rw-r--r-- | PollutometerWebApi.userprefs | 24 | ||||
-rw-r--r-- | PollutometerWebApi/.gitignore (renamed from AirPollutionWebApi/.gitignore) | 0 | ||||
-rw-r--r-- | PollutometerWebApi/App_Start/RouteConfig.cs (renamed from AirPollutionWebApi/App_Start/RouteConfig.cs) | 2 | ||||
-rw-r--r-- | PollutometerWebApi/App_Start/WebApiConfig.cs (renamed from AirPollutionWebApi/App_Start/WebApiConfig.cs) | 2 | ||||
-rw-r--r-- | PollutometerWebApi/Controllers/HomeController.cs (renamed from AirPollutionWebApi/Controllers/HomeController.cs) | 6 | ||||
-rw-r--r-- | PollutometerWebApi/Controllers/ReadingsController.cs (renamed from AirPollutionWebApi/Controllers/ReadingsController.cs) | 6 | ||||
-rw-r--r-- | PollutometerWebApi/Global.asax | 1 | ||||
-rw-r--r-- | PollutometerWebApi/Global.asax.cs (renamed from AirPollutionWebApi/Global.asax.cs) | 2 | ||||
-rw-r--r-- | PollutometerWebApi/Models/Reading.cs (renamed from AirPollutionWebApi/Models/Reading.cs) | 2 | ||||
-rw-r--r-- | PollutometerWebApi/PollutometerWebApi.csproj (renamed from AirPollutionWebApi/PollutometerWebApi.csproj) | 4 | ||||
-rw-r--r-- | PollutometerWebApi/SqlOperator.cs (renamed from AirPollutionWebApi/SqlOperator.cs) | 4 | ||||
-rw-r--r-- | PollutometerWebApi/Views/Home/Index.cshtml (renamed from AirPollutionWebApi/Views/Home/Index.cshtml) | 0 | ||||
-rw-r--r-- | PollutometerWebApi/Views/Shared/Error.cshtml (renamed from AirPollutionWebApi/Views/Shared/Error.cshtml) | 0 | ||||
-rw-r--r-- | PollutometerWebApi/Views/Shared/_Layout.cshtml (renamed from AirPollutionWebApi/Views/Shared/_Layout.cshtml) | 0 | ||||
-rw-r--r-- | PollutometerWebApi/Views/Web.config (renamed from AirPollutionWebApi/Views/Web.config) | 0 | ||||
-rw-r--r-- | PollutometerWebApi/Views/_ViewStart.cshtml (renamed from AirPollutionWebApi/Views/_ViewStart.cshtml) | 0 | ||||
-rw-r--r-- | PollutometerWebApi/Web.config (renamed from AirPollutionWebApi/Web.config) | 2 | ||||
-rw-r--r-- | PollutometerWebApi/packages.config (renamed from AirPollutionWebApi/packages.config) | 0 |
21 files changed, 39 insertions, 36 deletions
diff --git a/AirPollutionWebApi.userprefs b/AirPollutionWebApi.userprefs deleted file mode 100644 index 3ac0c78..0000000 --- a/AirPollutionWebApi.userprefs +++ /dev/null @@ -1,17 +0,0 @@ -<Properties StartupConfiguration="{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}|"> - <MonoDevelop.Ide.ItemProperties.AirPollutionWebApi PreferredExecutionTarget="MonoDevelop.Default" /> - <MonoDevelop.Ide.Workbench ActiveDocument="AirPollutionWebApi/Models/Reading.cs"> - <Files> - <File FileName="AirPollutionWebApi/Controllers/ReadingsController.cs" Line="41" Column="41" /> - <File FileName="AirPollutionWebApi/SqlOperator.cs" Line="21" Column="64" /> - <File FileName="AirPollutionWebApi/Controllers/HomeController.cs" Line="1" Column="1" /> - <File FileName="AirPollutionWebApi/Models/Reading.cs" Line="7" Column="16" /> - </Files> - </MonoDevelop.Ide.Workbench> - <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" /> - <MonoDevelop.Ide.DebuggingService.Breakpoints> - <BreakpointStore /> - </MonoDevelop.Ide.DebuggingService.Breakpoints> - <MonoDevelop.Ide.DebuggingService.PinnedWatches /> - <MultiItemStartupConfigurations /> -</Properties>
\ No newline at end of file diff --git a/AirPollutionWebApi/Global.asax b/AirPollutionWebApi/Global.asax deleted file mode 100644 index 9fb00cd..0000000 --- a/AirPollutionWebApi/Global.asax +++ /dev/null @@ -1 +0,0 @@ -<%@ Application Inherits="AirPollutionWebApi.Global" %> diff --git a/PollutometerWebApi.sln b/PollutometerWebApi.sln index 35d9c6a..c3559e3 100644 --- a/PollutometerWebApi.sln +++ b/PollutometerWebApi.sln @@ -1,7 +1,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirPollutionWebApi", "AirPollutionWebApi\AirPollutionWebApi.csproj", "{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PollutometerWebApi", "PollutometerWebApi\PollutometerWebApi.csproj", "{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
diff --git a/PollutometerWebApi.userprefs b/PollutometerWebApi.userprefs new file mode 100644 index 0000000..20c987b --- /dev/null +++ b/PollutometerWebApi.userprefs @@ -0,0 +1,24 @@ +<Properties StartupConfiguration="{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}|"> + <MonoDevelop.Ide.Workbench ActiveDocument="PollutometerWebApi/Global.asax.cs"> + <Files> + <File FileName="PollutometerWebApi/Controllers/HomeController.cs" Line="2" Column="22" /> + <File FileName="PollutometerWebApi/Controllers/ReadingsController.cs" Line="1" Column="1" /> + <File FileName="PollutometerWebApi/SqlOperator.cs" Line="1" Column="1" /> + <File FileName="PollutometerWebApi/Views/Home/Index.cshtml" Line="1" Column="1" /> + <File FileName="PollutometerWebApi/Views/Shared/_Layout.cshtml" Line="1" Column="1" /> + <File FileName="PollutometerWebApi/App_Start/RouteConfig.cs" Line="1" Column="1" /> + <File FileName="PollutometerWebApi/App_Start/WebApiConfig.cs" Line="1" Column="1" /> + <File FileName="PollutometerWebApi/packages.config" Line="1" Column="1" /> + <File FileName="PollutometerWebApi/Web.config" Line="3" Column="33" /> + <File FileName="PollutometerWebApi/Global.asax" Line="1" Column="39" /> + <File FileName="PollutometerWebApi/Global.asax.cs" Line="1" Column="1" /> + </Files> + </MonoDevelop.Ide.Workbench> + <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" /> + <MonoDevelop.Ide.ItemProperties.PollutometerWebApi PreferredExecutionTarget="MonoDevelop.Default" /> + <MonoDevelop.Ide.DebuggingService.Breakpoints> + <BreakpointStore /> + </MonoDevelop.Ide.DebuggingService.Breakpoints> + <MonoDevelop.Ide.DebuggingService.PinnedWatches /> + <MultiItemStartupConfigurations /> +</Properties>
\ No newline at end of file diff --git a/AirPollutionWebApi/.gitignore b/PollutometerWebApi/.gitignore index 940794e..940794e 100644 --- a/AirPollutionWebApi/.gitignore +++ b/PollutometerWebApi/.gitignore diff --git a/AirPollutionWebApi/App_Start/RouteConfig.cs b/PollutometerWebApi/App_Start/RouteConfig.cs index bc8f39a..7455a55 100644 --- a/AirPollutionWebApi/App_Start/RouteConfig.cs +++ b/PollutometerWebApi/App_Start/RouteConfig.cs @@ -1,7 +1,7 @@ using System.Web.Mvc; using System.Web.Routing; -namespace AirPollutionWebApi +namespace PollutometerWebApi { public class RouteConfig { diff --git a/AirPollutionWebApi/App_Start/WebApiConfig.cs b/PollutometerWebApi/App_Start/WebApiConfig.cs index 6adb366..8c2725a 100644 --- a/AirPollutionWebApi/App_Start/WebApiConfig.cs +++ b/PollutometerWebApi/App_Start/WebApiConfig.cs @@ -1,7 +1,7 @@ using System.Net.Http.Formatting;
using System.Web.Http; -namespace AirPollutionWebApi +namespace PollutometerWebApi { public static class WebApiConfig { diff --git a/AirPollutionWebApi/Controllers/HomeController.cs b/PollutometerWebApi/Controllers/HomeController.cs index 6a83056..69e4846 100644 --- a/AirPollutionWebApi/Controllers/HomeController.cs +++ b/PollutometerWebApi/Controllers/HomeController.cs @@ -1,11 +1,7 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; using System.Web.Mvc; -using System.Web.Mvc.Ajax; -namespace AirPollutionWebApi.Controllers +namespace PollutometerWebApi.Controllers { public class HomeController : Controller { diff --git a/AirPollutionWebApi/Controllers/ReadingsController.cs b/PollutometerWebApi/Controllers/ReadingsController.cs index 99965e6..b692a9c 100644 --- a/AirPollutionWebApi/Controllers/ReadingsController.cs +++ b/PollutometerWebApi/Controllers/ReadingsController.cs @@ -1,9 +1,9 @@ using System;
using System.Web.Http;
-using AirPollutionWebApi.Models; -using AirPollutionWebApi.Singletons; +using PollutometerWebApi.Models; +using PollutometerWebApi.Singletons; -namespace AirPollutionWebApi.Controllers
+namespace PollutometerWebApi.Controllers
{
public class ReadingsController : ApiController
{ diff --git a/PollutometerWebApi/Global.asax b/PollutometerWebApi/Global.asax new file mode 100644 index 0000000..ee57536 --- /dev/null +++ b/PollutometerWebApi/Global.asax @@ -0,0 +1 @@ +<%@ Application Inherits="PollutometerWebApi.Global" %> diff --git a/AirPollutionWebApi/Global.asax.cs b/PollutometerWebApi/Global.asax.cs index aa5b94f..3a03cf6 100644 --- a/AirPollutionWebApi/Global.asax.cs +++ b/PollutometerWebApi/Global.asax.cs @@ -3,7 +3,7 @@ using System.Web.Mvc; using System.Web.Routing; using System.Web.Http; -namespace AirPollutionWebApi +namespace PollutometerWebApi { public class Global : HttpApplication { diff --git a/AirPollutionWebApi/Models/Reading.cs b/PollutometerWebApi/Models/Reading.cs index 0d7ff39..18b2326 100644 --- a/AirPollutionWebApi/Models/Reading.cs +++ b/PollutometerWebApi/Models/Reading.cs @@ -1,4 +1,4 @@ -namespace AirPollutionWebApi.Models +namespace PollutometerWebApi.Models { public class Reading { diff --git a/AirPollutionWebApi/PollutometerWebApi.csproj b/PollutometerWebApi/PollutometerWebApi.csproj index 1fc9e17..a997321 100644 --- a/AirPollutionWebApi/PollutometerWebApi.csproj +++ b/PollutometerWebApi/PollutometerWebApi.csproj @@ -6,8 +6,8 @@ <ProjectGuid>{22C32F4C-0DEB-40EA-9D56-48942CBB2A07}</ProjectGuid>
<ProjectTypeGuids>{349C5851-65DF-11DA-9384-00065B846F21};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
- <RootNamespace>AirPollutionWebApi</RootNamespace>
- <AssemblyName>AirPollutionWebApi</AssemblyName>
+ <RootNamespace>PollutometerWebApi</RootNamespace>
+ <AssemblyName>PollutometerWebApi</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
diff --git a/AirPollutionWebApi/SqlOperator.cs b/PollutometerWebApi/SqlOperator.cs index 34213df..d85aa3d 100644 --- a/AirPollutionWebApi/SqlOperator.cs +++ b/PollutometerWebApi/SqlOperator.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using System.Data.SqlClient; -using AirPollutionWebApi.Models; +using PollutometerWebApi.Models; -namespace AirPollutionWebApi.Singletons +namespace PollutometerWebApi.Singletons { public static class SqlOperator { diff --git a/AirPollutionWebApi/Views/Home/Index.cshtml b/PollutometerWebApi/Views/Home/Index.cshtml index 2501eee..2501eee 100644 --- a/AirPollutionWebApi/Views/Home/Index.cshtml +++ b/PollutometerWebApi/Views/Home/Index.cshtml diff --git a/AirPollutionWebApi/Views/Shared/Error.cshtml b/PollutometerWebApi/Views/Shared/Error.cshtml index 20ec06a..20ec06a 100644 --- a/AirPollutionWebApi/Views/Shared/Error.cshtml +++ b/PollutometerWebApi/Views/Shared/Error.cshtml diff --git a/AirPollutionWebApi/Views/Shared/_Layout.cshtml b/PollutometerWebApi/Views/Shared/_Layout.cshtml index 54f6729..54f6729 100644 --- a/AirPollutionWebApi/Views/Shared/_Layout.cshtml +++ b/PollutometerWebApi/Views/Shared/_Layout.cshtml diff --git a/AirPollutionWebApi/Views/Web.config b/PollutometerWebApi/Views/Web.config index c23d873..c23d873 100644 --- a/AirPollutionWebApi/Views/Web.config +++ b/PollutometerWebApi/Views/Web.config diff --git a/AirPollutionWebApi/Views/_ViewStart.cshtml b/PollutometerWebApi/Views/_ViewStart.cshtml index 2de6241..2de6241 100644 --- a/AirPollutionWebApi/Views/_ViewStart.cshtml +++ b/PollutometerWebApi/Views/_ViewStart.cshtml diff --git a/AirPollutionWebApi/Web.config b/PollutometerWebApi/Web.config index 3056996..77dd8b3 100644 --- a/AirPollutionWebApi/Web.config +++ b/PollutometerWebApi/Web.config @@ -1,6 +1,6 @@ <?xml version="1.0"?> <!-- -Web.config file for AirPollutionWebApi. +Web.config file for PollutometerWebApi. The settings that can be used in this file are documented at http://www.mono-project.com/Config_system.web and diff --git a/AirPollutionWebApi/packages.config b/PollutometerWebApi/packages.config index 8631ca7..8631ca7 100644 --- a/AirPollutionWebApi/packages.config +++ b/PollutometerWebApi/packages.config |