This repository was archived by the owner on May 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed
src/HttpReports.Dashboard Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netcoreapp2.1;netcoreapp3.0;netcoreapp3.1</TargetFrameworks >
5- <AspNetCoreHostingModel >InProcess </AspNetCoreHostingModel >
4+ <TargetFrameworks >netcoreapp2.1;netcoreapp2.2; netcoreapp3.0;netcoreapp3.1</TargetFrameworks >
5+ <AspNetCoreHostingModel >OutOfProcess </AspNetCoreHostingModel >
66 </PropertyGroup >
77
88 <ItemGroup >
2121 <PackageReference Include =" Microsoft.VisualStudio.Web.CodeGeneration.Design" Version =" 3.0.0" />
2222 </ItemGroup >
2323
24+
25+ <ItemGroup Condition =" '$(TargetFramework)'=='netcoreapp2.2'" >
26+ <PackageReference Include =" Microsoft.AspNetCore.App" />
27+ <PackageReference Include =" Microsoft.VisualStudio.Web.CodeGeneration.Design" Version =" 2.2.0" />
28+ </ItemGroup >
29+
30+
2431 <ItemGroup Condition =" '$(TargetFramework)'=='netcoreapp2.1'" >
2532 <PackageReference Include =" Microsoft.AspNetCore.App" />
2633 <PackageReference Include =" Microsoft.AspNetCore.Razor.Language" Version =" 2.1.2" PrivateAssets =" All" />
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public static void Main(string[] args)
1111 CreateHostBuilder ( args ) . Build ( ) . Run ( ) ;
1212 }
1313
14- #if NETCOREAPP2_1
14+ #if NETCOREAPP2_1 || NETCOREAPP2_2
1515
1616 public static IWebHostBuilder CreateHostBuilder ( string [ ] args ) =>
1717 WebHost . CreateDefaultBuilder ( args )
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public void Configure(IApplicationBuilder app)
4848 app . UseStaticFiles ( ) ;
4949 app . UseCookiePolicy ( ) ;
5050
51- #if NETCOREAPP2_1
51+ #if NETCOREAPP2_1 || NETCOREAPP2_2
5252
5353 app . UseMvc ( routes =>
5454 {
Original file line number Diff line number Diff line change 11{
22 "ConnectionStrings" : {
3- "HttpReports" : " Max Pool Size = 512;server=.;uid=sa;pwd=123456;database=HttpReports;"
4- // "HttpReports": "DataBase=HttpReports;Data Source=localhost;User Id=root;Password=123456"
3+ // "HttpReports": "Max Pool Size = 512;server=.;uid=sa;pwd=123456;database=HttpReports;"
4+ "HttpReports" : " DataBase=HttpReports;Data Source=localhost;User Id=root;Password=123456"
55 },
66 "HttpReportsConfig" : {
7- "DBType" : " SqlServer " , // MySql Or SqlServer
7+ "DBType" : " MySql " , // MySql Or SqlServer
88 "UserName" : " admin" ,
99 "Password" : " 123456"
1010 }
You can’t perform that action at this time.
0 commit comments