-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to .NET 5.0 and EF 5.0 (#102)
* Upgraded EF, AspnNet, Sample projects to .net 5.0 * Updated other projects to .net 5 * removed langversion fixed deprecated interfaces * Fixed badge in docs * Fixed dependency * Updated MediatR and Benchmark.Net * Test projects deps upgrade * Serilog upgrade * Upgraded packages * Package upgrades * Process manager sample * Various changes after upgrade
- Loading branch information
Showing
171 changed files
with
531 additions
and
1,524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
<Project> | ||
<PropertyGroup Label="Package Versions"> | ||
<NewtonsoftJsonPackageVersion>11.0.2</NewtonsoftJsonPackageVersion> | ||
<MediatRPackageVersion>4.1.0</MediatRPackageVersion> | ||
<ScrutorPackageVersion>3.1.0</ScrutorPackageVersion> | ||
<BenchmarkDotNetPackageVersion>0.10.14</BenchmarkDotNetPackageVersion> | ||
<MoqPackageVersion>4.8.2</MoqPackageVersion> | ||
<XunitPackageVersion>2.3.1</XunitPackageVersion> | ||
<XunitRunnerVisualStudioPackageVersion>2.4.0-beta.1.build3958</XunitRunnerVisualStudioPackageVersion> | ||
<FluentAssertionsPackageVersion>5.10.0</FluentAssertionsPackageVersion> | ||
<MicrosoftExtensionsPackagesVersion>2.2.0</MicrosoftExtensionsPackagesVersion> | ||
<MicrosoftEntityFrameworkPackagesVersion>2.1.4</MicrosoftEntityFrameworkPackagesVersion> | ||
<MicrosoftAspNetCoreAppPackageVersion>2.1.5</MicrosoftAspNetCoreAppPackageVersion> | ||
<MicrosoftCSharpPackageVersion>4.6.0</MicrosoftCSharpPackageVersion> | ||
<SerilogPackageVersion>2.7.1</SerilogPackageVersion> | ||
<SerilogExtensionsLoggingPackageVersion>2.0.2</SerilogExtensionsLoggingPackageVersion> | ||
<SerilogSinksMSSqlServerPackageVersion>5.1.2</SerilogSinksMSSqlServerPackageVersion> | ||
<SerilogAspNetCorePackageVersion>2.1.1</SerilogAspNetCorePackageVersion> | ||
<AutoMapperPackageVersion>8.0.0</AutoMapperPackageVersion> | ||
<OpenTracingPackageVersion>0.12.0</OpenTracingPackageVersion> | ||
<OpenTracingContribPackageVersion>0.5.0</OpenTracingContribPackageVersion> | ||
<JaegerPackageVersion>0.2.2</JaegerPackageVersion> | ||
<NBBPackagesVersion>4.1.0</NBBPackagesVersion> | ||
<NewtonsoftJsonPackageVersion>12.0.3</NewtonsoftJsonPackageVersion> | ||
<MediatRPackageVersion>9.0.0</MediatRPackageVersion> | ||
<ScrutorPackageVersion>3.3.0</ScrutorPackageVersion> | ||
<BenchmarkDotNetPackageVersion>0.12.1</BenchmarkDotNetPackageVersion> | ||
<MoqPackageVersion>4.15.2</MoqPackageVersion> | ||
<XunitPackageVersion>2.4.1</XunitPackageVersion> | ||
<XunitRunnerVisualStudioPackageVersion>2.4.3</XunitRunnerVisualStudioPackageVersion> | ||
<FsUnitPackageVersion>4.0.2</FsUnitPackageVersion> | ||
<FluentAssertionsPackageVersion>5.10.3</FluentAssertionsPackageVersion> | ||
<MicrosoftExtensionsPackagesVersion>5.0.0</MicrosoftExtensionsPackagesVersion> | ||
<MicrosoftEntityFrameworkPackagesVersion>5.0.0</MicrosoftEntityFrameworkPackagesVersion> | ||
<MicrosoftCSharpPackageVersion>4.7.0</MicrosoftCSharpPackageVersion> | ||
<SerilogPackageVersion>2.10.0</SerilogPackageVersion> | ||
<SerilogExtensionsLoggingPackageVersion>3.0.1</SerilogExtensionsLoggingPackageVersion> | ||
<SerilogSinksMSSqlServerPackageVersion>5.6.0</SerilogSinksMSSqlServerPackageVersion> | ||
<SerilogAspNetCorePackageVersion>3.4.0</SerilogAspNetCorePackageVersion> | ||
<AutoMapperPackageVersion>10.1.1</AutoMapperPackageVersion> | ||
<OpenTracingPackageVersion>0.12.1</OpenTracingPackageVersion> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<TargetFramework>net5.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Build Status | ||
[![Build status](https://abilauca.visualstudio.com/NBB/_apis/build/status/NBB-CI)](https://abilauca.visualstudio.com/NBB/_build/latest?definitionId=9) | ||
[![Build status](https://dev.azure.com/totalsoft//NBB/_apis/build/status/NBB-CI-GitHub)](https://dev.azure.com/totalsoft/NBB/_build/latest?definitionId=35) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 11 additions & 9 deletions
20
samples/MicroServices/NBB.Contracts/NBB.Contracts.Api/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
using Microsoft.AspNetCore; | ||
using Microsoft.AspNetCore.Hosting; | ||
|
||
using Microsoft.AspNetCore.Hosting; | ||
using Microsoft.Extensions.Hosting; | ||
|
||
namespace NBB.Contracts.Api | ||
{ | ||
public static class Program | ||
{ | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
BuildWebHost(args).Run(); | ||
CreateHostBuilder(args).Build().Run(); | ||
} | ||
|
||
public static IWebHost BuildWebHost(string[] args) => | ||
WebHost.CreateDefaultBuilder(args) | ||
.UseStartup<Startup>() | ||
.Build(); | ||
public static IHostBuilder CreateHostBuilder(string[] args) => | ||
Host.CreateDefaultBuilder(args) | ||
.ConfigureWebHostDefaults(webBuilder => | ||
{ | ||
webBuilder.UseStartup<Startup>(); | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.