Update identity.api base image to aspnetcore2.0

Rename Identity.api namespace
This commit is contained in:
Ramón Tomás 2017-09-12 15:39:06 +02:00
parent 4f8ca3eebb
commit 4e12176801
4 changed files with 6 additions and 4 deletions

View File

@ -5,8 +5,8 @@
using Extensions.Logging;
using global::eShopOnContainers.Identity;
using global::Identity.API.Data;
using global::Identity.API.Extensions;
using global::Identity.API.Models;
using Identity.API.Extensions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
@ -16,7 +16,6 @@
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Security.Cryptography;
using System.Text.RegularExpressions;
using System.Threading.Tasks;

View File

@ -1,4 +1,4 @@
FROM microsoft/aspnetcore:1.1.2
FROM microsoft/aspnetcore:2.0.0
ARG source
WORKDIR /app
EXPOSE 80

View File

@ -1,5 +1,6 @@
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.eShopOnContainers.Services.Identity;
using Microsoft.Extensions.Logging;
using System.IO;
@ -28,3 +29,4 @@ namespace eShopOnContainers.Identity
.Build();
}
}

View File

@ -1,5 +1,6 @@
using Autofac;
using Autofac.Extensions.DependencyInjection;
using eShopOnContainers.Identity;
using Identity.API.Certificate;
using Identity.API.Configuration;
using Identity.API.Data;
@ -24,7 +25,7 @@ using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace eShopOnContainers.Identity
namespace Microsoft.eShopOnContainers.Services.Identity
{
public class Startup
{