Changing Frameworks

CSS and Fonts
This commit is contained in:
2020-04-12 20:01:46 +02:00
parent 5180f56e6f
commit a02b607bc6
38 changed files with 2813 additions and 1002 deletions

View File

@ -9,6 +9,7 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Seenginx.Data;
using Seenginx.Services;
namespace Seenginx
{
@ -27,7 +28,9 @@ namespace Seenginx
{
services.AddRazorPages();
services.AddServerSideBlazor();
services.AddSingleton<WeatherForecastService>();
services.AddTransient<IDmesgService,DmesgService>();
services.AddTransient<INginxService,NginxService>();
services.AddTransient<ISystemDService,SystemDService>();
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
@ -45,6 +48,7 @@ namespace Seenginx
app.UseStaticFiles();
app.UseRouting();
app.UseAuthentication();
app.UseEndpoints(endpoints =>
{