Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 4e12176

Browse files
committed
Update identity.api base image to aspnetcore2.0
Rename Identity.api namespace
1 parent 4f8ca3e commit 4e12176

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

src/Services/Identity/Identity.API/Data/ApplicationContextSeed.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
using Extensions.Logging;
66
using global::eShopOnContainers.Identity;
77
using global::Identity.API.Data;
8+
using global::Identity.API.Extensions;
89
using global::Identity.API.Models;
9-
using Identity.API.Extensions;
1010
using Microsoft.AspNetCore.Builder;
1111
using Microsoft.AspNetCore.Hosting;
1212
using Microsoft.Extensions.DependencyInjection;
@@ -16,7 +16,6 @@
1616
using System.IO;
1717
using System.IO.Compression;
1818
using System.Linq;
19-
using System.Security.Cryptography;
2019
using System.Text.RegularExpressions;
2120
using System.Threading.Tasks;
2221

src/Services/Identity/Identity.API/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/aspnetcore:1.1.2
1+
FROM microsoft/aspnetcore:2.0.0
22
ARG source
33
WORKDIR /app
44
EXPOSE 80

src/Services/Identity/Identity.API/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using Microsoft.AspNetCore;
22
using Microsoft.AspNetCore.Hosting;
3+
using Microsoft.eShopOnContainers.Services.Identity;
34
using Microsoft.Extensions.Logging;
45
using System.IO;
56

@@ -28,3 +29,4 @@ public static IWebHost BuildWebHost(string[] args) =>
2829
.Build();
2930
}
3031
}
32+

src/Services/Identity/Identity.API/Startup.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using Autofac;
22
using Autofac.Extensions.DependencyInjection;
3+
using eShopOnContainers.Identity;
34
using Identity.API.Certificate;
45
using Identity.API.Configuration;
56
using Identity.API.Data;
@@ -24,7 +25,7 @@
2425
using System.Reflection;
2526
using System.Threading.Tasks;
2627

27-
namespace eShopOnContainers.Identity
28+
namespace Microsoft.eShopOnContainers.Services.Identity
2829
{
2930
public class Startup
3031
{

0 commit comments

Comments
 (0)