Add project files.
This commit is contained in:
14
Program.cs
Normal file
14
Program.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.Services.AddRazorPages(options =>
|
||||
{
|
||||
options.Conventions.ConfigureFilter(new IgnoreAntiforgeryTokenAttribute());
|
||||
});
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
app.MapRazorPages();
|
||||
|
||||
app.Run();
|
||||
Reference in New Issue
Block a user