Skip to content

Commit

Permalink
feat: .NET 6
Browse files Browse the repository at this point in the history
BREAKING CHANGE
  • Loading branch information
brunobritodev committed Apr 3, 2022
1 parent a4ed051 commit 430151e
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 933 deletions.
Binary file modified src/building-blocks/DevStore.WebAPI.Core/Identity/JwtConfig.cs
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Threading.Tasks;
using DevStore.Identity.API.Data;
using DevStore.WebAPI.Core.Configuration;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
Expand All @@ -16,9 +17,9 @@ public static class DbMigrationHelpers
/// Nuget package manager: Add-Migration DbInit -context ApplicationDbContext
/// Dotnet CLI: dotnet ef migrations add DbInit -c ApplicationDbContext
/// </summary>
public static async Task EnsureSeedData(IServiceScope serviceScope)
public static async Task EnsureSeedData(WebApplication app)
{
var services = serviceScope.ServiceProvider;
var services = app.Services.CreateScope().ServiceProvider;
await EnsureSeedData(services);
}

Expand Down
Binary file modified src/services/DevStore.Identity.API/Configuration/IdentityConfig.cs
Binary file not shown.
Binary file modified src/services/DevStore.Identity.API/Controllers/AuthController.cs
Binary file not shown.
Binary file modified src/services/DevStore.Identity.API/Data/ApplicationDbContext.cs
Binary file not shown.
Binary file modified src/services/DevStore.Identity.API/DevStore.Identity.API.csproj
Binary file not shown.

This file was deleted.

0 comments on commit 430151e

Please sign in to comment.