Publish profile

This commit is contained in:
Andre Beging
2022-05-20 07:17:04 +02:00
parent e9aac729d5
commit f80ba142bc
6 changed files with 211 additions and 1 deletions

View File

@@ -3,5 +3,9 @@
public partial class FsContext
{
partial void OnCreated()
{
Database.EnsureCreated();
}
}
}

View File

@@ -9,6 +9,7 @@ using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.EntityFrameworkCore;
var builder = WebApplication.CreateBuilder(args);
builder.WebHost.UseUrls("http://+:8700");
// Add services to the container.
builder.Services.AddRazorPages();

View File

@@ -12,7 +12,6 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://localhost:7233;http://localhost:5233",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}