Changed to the RainCrab.Plugins version w/ fixes
This commit is contained in:
parent
f2d24a1545
commit
55df5e3525
|
|
@ -10,7 +10,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="RainCrab.Plugins.AspNet" Version="0.1.11">
|
||||
<PackageReference Include="RainCrab.Plugins.AspNet" Version="0.2.0">
|
||||
<ExcludeAssets>runtime</ExcludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="TestLib.Writer" Version="1.0.0" />
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
<PropertyGroup>g
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="RainCrab.Plugins.AspNet" Version="0.1.11">
|
||||
<PackageReference Include="RainCrab.Plugins.AspNet" Version="0.2.0">
|
||||
<ExcludeAssets>runtime</ExcludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="TestLib.Writer" Version="2.0.0" />
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<PackageReference Include="Markdig" Version="0.37.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.8" />
|
||||
<PackageReference Include="Pek.Markdig.HighlightJs" Version="0.5.1" />
|
||||
<PackageReference Include="RainCrab.Plugins.AspNet" Version="0.1.11" />
|
||||
<PackageReference Include="RainCrab.Plugins.AspNet" Version="0.2.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
".NETCoreApp,Version=v8.0": {
|
||||
"Plugin1/1.0.0": {
|
||||
"dependencies": {
|
||||
"RainCrab.Plugins.AspNet": "0.1.11",
|
||||
"RainCrab.Plugins.AspNet": "0.2.0",
|
||||
"TestLib.Writer": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
|
|
@ -173,13 +173,13 @@
|
|||
"System.Buffers": "4.6.0"
|
||||
}
|
||||
},
|
||||
"RainCrab.Plugins.AspNet/0.1.11": {
|
||||
"RainCrab.Plugins.AspNet/0.2.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Hosting": "2.3.0",
|
||||
"RainCrab.Plugins.Base": "0.1.7"
|
||||
"RainCrab.Plugins.Base": "0.2.0"
|
||||
}
|
||||
},
|
||||
"RainCrab.Plugins.Base/0.1.7": {
|
||||
"RainCrab.Plugins.Base/0.2.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.Logging.Abstractions": "8.0.2"
|
||||
}
|
||||
|
|
@ -386,19 +386,19 @@
|
|||
"path": "microsoft.net.http.headers/2.3.0",
|
||||
"hashPath": "microsoft.net.http.headers.2.3.0.nupkg.sha512"
|
||||
},
|
||||
"RainCrab.Plugins.AspNet/0.1.11": {
|
||||
"RainCrab.Plugins.AspNet/0.2.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-6o4oboIqWXIMEWyW5cVF8dCTLWImyuYjMOqOAWf7WaqdnaEgINZA2SaRQ6AqKvo1/SbVTD3H3n+grcRUAUnlIQ==",
|
||||
"path": "raincrab.plugins.aspnet/0.1.11",
|
||||
"hashPath": "raincrab.plugins.aspnet.0.1.11.nupkg.sha512"
|
||||
"sha512": "sha512-1unomK6qcPFiZ1qeK7lvsp3vhc1jGHoG4TMnX87UQPxMESHJRIfX0ZweDATsHfqUqkQ2yhNaFf2zMx2yNALEDg==",
|
||||
"path": "raincrab.plugins.aspnet/0.2.0",
|
||||
"hashPath": "raincrab.plugins.aspnet.0.2.0.nupkg.sha512"
|
||||
},
|
||||
"RainCrab.Plugins.Base/0.1.7": {
|
||||
"RainCrab.Plugins.Base/0.2.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-NTQdJyPxDaKKcURU+c625yS+9R0TuNbefXv9TTQ3LhsF+4TCHko0kmn0IOw4HSMuTi+jwdt8tgz2xwl4sgZYoA==",
|
||||
"path": "raincrab.plugins.base/0.1.7",
|
||||
"hashPath": "raincrab.plugins.base.0.1.7.nupkg.sha512"
|
||||
"sha512": "sha512-VzqHOxO0V/5kBX27b0T9EojJejE1y6554teqlDHw1laKzD2G7FL+kxPv6UIR3HSJFMHGTQmw+o22QWGTRjqKMg==",
|
||||
"path": "raincrab.plugins.base/0.2.0",
|
||||
"hashPath": "raincrab.plugins.base.0.2.0.nupkg.sha512"
|
||||
},
|
||||
"System.Buffers/4.6.0": {
|
||||
"type": "package",
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -8,7 +8,7 @@
|
|||
".NETCoreApp,Version=v8.0": {
|
||||
"Plugin2/1.0.0": {
|
||||
"dependencies": {
|
||||
"RainCrab.Plugins.AspNet": "0.1.11",
|
||||
"RainCrab.Plugins.AspNet": "0.2.0",
|
||||
"TestLib.Writer": "2.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
|
|
@ -173,13 +173,13 @@
|
|||
"System.Buffers": "4.6.0"
|
||||
}
|
||||
},
|
||||
"RainCrab.Plugins.AspNet/0.1.11": {
|
||||
"RainCrab.Plugins.AspNet/0.2.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Hosting": "2.3.0",
|
||||
"RainCrab.Plugins.Base": "0.1.7"
|
||||
"RainCrab.Plugins.Base": "0.2.0"
|
||||
}
|
||||
},
|
||||
"RainCrab.Plugins.Base/0.1.7": {
|
||||
"RainCrab.Plugins.Base/0.2.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.Logging.Abstractions": "8.0.2"
|
||||
}
|
||||
|
|
@ -386,19 +386,19 @@
|
|||
"path": "microsoft.net.http.headers/2.3.0",
|
||||
"hashPath": "microsoft.net.http.headers.2.3.0.nupkg.sha512"
|
||||
},
|
||||
"RainCrab.Plugins.AspNet/0.1.11": {
|
||||
"RainCrab.Plugins.AspNet/0.2.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-6o4oboIqWXIMEWyW5cVF8dCTLWImyuYjMOqOAWf7WaqdnaEgINZA2SaRQ6AqKvo1/SbVTD3H3n+grcRUAUnlIQ==",
|
||||
"path": "raincrab.plugins.aspnet/0.1.11",
|
||||
"hashPath": "raincrab.plugins.aspnet.0.1.11.nupkg.sha512"
|
||||
"sha512": "sha512-1unomK6qcPFiZ1qeK7lvsp3vhc1jGHoG4TMnX87UQPxMESHJRIfX0ZweDATsHfqUqkQ2yhNaFf2zMx2yNALEDg==",
|
||||
"path": "raincrab.plugins.aspnet/0.2.0",
|
||||
"hashPath": "raincrab.plugins.aspnet.0.2.0.nupkg.sha512"
|
||||
},
|
||||
"RainCrab.Plugins.Base/0.1.7": {
|
||||
"RainCrab.Plugins.Base/0.2.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-NTQdJyPxDaKKcURU+c625yS+9R0TuNbefXv9TTQ3LhsF+4TCHko0kmn0IOw4HSMuTi+jwdt8tgz2xwl4sgZYoA==",
|
||||
"path": "raincrab.plugins.base/0.1.7",
|
||||
"hashPath": "raincrab.plugins.base.0.1.7.nupkg.sha512"
|
||||
"sha512": "sha512-VzqHOxO0V/5kBX27b0T9EojJejE1y6554teqlDHw1laKzD2G7FL+kxPv6UIR3HSJFMHGTQmw+o22QWGTRjqKMg==",
|
||||
"path": "raincrab.plugins.base/0.2.0",
|
||||
"hashPath": "raincrab.plugins.base.0.2.0.nupkg.sha512"
|
||||
},
|
||||
"System.Buffers/4.6.0": {
|
||||
"type": "package",
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -4,11 +4,8 @@ using FastBlog.Web.Middlewares;
|
|||
using Microsoft.AspNetCore.RateLimiting;
|
||||
using RainCrab.Plugins.AspNet;
|
||||
using RainCrab.Plugins.AspNet.Extensions;
|
||||
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
|
||||
if (Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == Environments.Development)
|
||||
builder.Services.AddControllersWithViews().AddRazorRuntimeCompilation();
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue