Skip to content

Commit 1ece46e

Browse files
committed
Updated and removed using statements
1 parent 3553fb6 commit 1ece46e

File tree

6 files changed

+27
-49
lines changed

6 files changed

+27
-49
lines changed

ImageResizeWebApp/ImageResizeWebApp/Controllers/HomeController.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Diagnostics;
4-
using System.Linq;
5-
using System.Threading.Tasks;
61
using Microsoft.AspNetCore.Mvc;
2+
using System.Diagnostics;
73

84
namespace ImageResizeWebApp.Controllers
95
{

ImageResizeWebApp/ImageResizeWebApp/Controllers/ImagesController.cs

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
5-
using Microsoft.AspNetCore.Mvc;
1+
using ImageResizeWebApp.Helpers;
62
using ImageResizeWebApp.Models;
3+
using Microsoft.AspNetCore.Http;
4+
using Microsoft.AspNetCore.Mvc;
75
using Microsoft.Extensions.Options;
8-
6+
using System;
7+
using System.Collections.Generic;
98
using System.IO;
10-
using Microsoft.Azure;
11-
using Microsoft.WindowsAzure.Storage;
12-
using Microsoft.WindowsAzure.Storage.Blob;
13-
using Microsoft.WindowsAzure.Storage.Auth;
14-
using System.Net.Http;
15-
using Microsoft.AspNetCore.Http;
16-
using ImageResizeWebApp.Helpers;
9+
using System.Threading.Tasks;
1710

1811
namespace ImageResizeWebApp.Controllers
1912
{

ImageResizeWebApp/ImageResizeWebApp/ImageResizeWebApp.csproj

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</PropertyGroup>
66

77
<PropertyGroup>
8-
<TargetFramework>netcoreapp2.0</TargetFramework>
8+
<TargetFramework>netcoreapp2.2</TargetFramework>
99
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
1010
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
1111
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback>
@@ -17,17 +17,23 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Microsoft.AspNetCore" Version="2.0.0" />
21-
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
22-
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.0" />
23-
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0" />
24-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.1.0" />
25-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.1.0" />
26-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.1.0" />
27-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="2.0.0" />
28-
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="2.0.0" />
29-
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.0" />
30-
<PackageReference Include="WindowsAzure.Storage" Version="8.2.1" />
20+
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
21+
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.2.8" />
22+
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
23+
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" />
24+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.1">
25+
<PrivateAssets>all</PrivateAssets>
26+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
27+
</PackageReference>
28+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.1" />
29+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.1">
30+
<PrivateAssets>all</PrivateAssets>
31+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
32+
</PackageReference>
33+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.1.1" />
34+
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="2.2.0" />
35+
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.0" />
36+
<PackageReference Include="WindowsAzure.Storage" Version="9.3.3" />
3137
</ItemGroup>
3238

3339
<ItemGroup>

ImageResizeWebApp/ImageResizeWebApp/Models/AzureStorageConfig.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
5-
6-
namespace ImageResizeWebApp.Models
1+
namespace ImageResizeWebApp.Models
72
{
83
public class AzureStorageConfig
94
{

ImageResizeWebApp/ImageResizeWebApp/Program.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.IO;
4-
using System.Linq;
5-
using System.Threading.Tasks;
61
using Microsoft.AspNetCore;
72
using Microsoft.AspNetCore.Hosting;
8-
using Microsoft.Extensions.Configuration;
9-
using Microsoft.Extensions.Logging;
103

114
namespace ImageResizeWebApp
125
{

ImageResizeWebApp/ImageResizeWebApp/Startup.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
1+
using ImageResizeWebApp.Models;
52
using Microsoft.AspNetCore.Builder;
63
using Microsoft.AspNetCore.Hosting;
7-
using Microsoft.AspNetCore.SpaServices.Webpack;
84
using Microsoft.Extensions.Configuration;
95
using Microsoft.Extensions.DependencyInjection;
10-
using ImageResizeWebApp.Models;
116

127
namespace ImageResizeWebApp
138
{

0 commit comments

Comments
 (0)