You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
499 B
C#

using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
var builder = WebApplication.CreateBuilder(args);
//<2F>ǿ<EFBFBD><C7BF><EFBFBD>ģʽҲ<CABD><D2B2><EFBFBD>þ<EFBFBD>̬<EFBFBD>ʲ<EFBFBD>
if (!builder.Environment.IsDevelopment())
{
builder.WebHost.UseStaticWebAssets();
}
builder.WebHost.UseStaticWebAssets();
builder.Services.AddRazorPages();
builder.Services.AddServerSideBlazor();
var app = builder.Build();
app.UseStaticFiles();
app.UseRouting();
app.MapBlazorHub();
app.MapFallbackToPage("/_Host");
app.Run();