From f80ba142bc9b1367d98c4e84873a51782756f808 Mon Sep 17 00:00:00 2001 From: Andre Beging Date: Fri, 20 May 2022 07:17:04 +0200 Subject: [PATCH] Publish profile --- .../.idea/deployment.xml | 184 ++++++++++++++++++ .idea/.idea.FoodsharingSiegen/.idea/misc.xml | 8 + .../.idea/webServers.xml | 14 ++ FoodsharingSiegen.Server/Data/FsContext.cs | 4 + FoodsharingSiegen.Server/Program.cs | 1 + .../Properties/launchSettings.json | 1 - 6 files changed, 211 insertions(+), 1 deletion(-) create mode 100644 .idea/.idea.FoodsharingSiegen/.idea/deployment.xml create mode 100644 .idea/.idea.FoodsharingSiegen/.idea/misc.xml create mode 100644 .idea/.idea.FoodsharingSiegen/.idea/webServers.xml diff --git a/.idea/.idea.FoodsharingSiegen/.idea/deployment.xml b/.idea/.idea.FoodsharingSiegen/.idea/deployment.xml new file mode 100644 index 0000000..7e29e62 --- /dev/null +++ b/.idea/.idea.FoodsharingSiegen/.idea/deployment.xml @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.FoodsharingSiegen/.idea/misc.xml b/.idea/.idea.FoodsharingSiegen/.idea/misc.xml new file mode 100644 index 0000000..283b9b4 --- /dev/null +++ b/.idea/.idea.FoodsharingSiegen/.idea/misc.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/.idea/.idea.FoodsharingSiegen/.idea/webServers.xml b/.idea/.idea.FoodsharingSiegen/.idea/webServers.xml new file mode 100644 index 0000000..7042615 --- /dev/null +++ b/.idea/.idea.FoodsharingSiegen/.idea/webServers.xml @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/FoodsharingSiegen.Server/Data/FsContext.cs b/FoodsharingSiegen.Server/Data/FsContext.cs index a90e1df..998fdc2 100644 --- a/FoodsharingSiegen.Server/Data/FsContext.cs +++ b/FoodsharingSiegen.Server/Data/FsContext.cs @@ -3,5 +3,9 @@ public partial class FsContext { + partial void OnCreated() + { + Database.EnsureCreated(); + } } } diff --git a/FoodsharingSiegen.Server/Program.cs b/FoodsharingSiegen.Server/Program.cs index 8e2b135..16d134f 100644 --- a/FoodsharingSiegen.Server/Program.cs +++ b/FoodsharingSiegen.Server/Program.cs @@ -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(); diff --git a/FoodsharingSiegen.Server/Properties/launchSettings.json b/FoodsharingSiegen.Server/Properties/launchSettings.json index 5cdba60..275b836 100644 --- a/FoodsharingSiegen.Server/Properties/launchSettings.json +++ b/FoodsharingSiegen.Server/Properties/launchSettings.json @@ -12,7 +12,6 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, - "applicationUrl": "https://localhost:7233;http://localhost:5233", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }