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

View File

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

View File

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

View File

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