diff --git a/api/MyApp/MyApp.csproj b/api/MyApp/MyApp.csproj
index eb4998d..2238d35 100644
--- a/api/MyApp/MyApp.csproj
+++ b/api/MyApp/MyApp.csproj
@@ -12,6 +12,7 @@
+
diff --git a/api/MyApp/Program.cs b/api/MyApp/Program.cs
index 5515756..4878965 100644
--- a/api/MyApp/Program.cs
+++ b/api/MyApp/Program.cs
@@ -4,7 +4,7 @@
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddModularStartup(builder.Configuration);
-//builder.Services.ConfigureNonBreakingSameSiteCookies(builder.Environment);
+builder.Services.ConfigureNonBreakingSameSiteCookies(builder.Environment);
var app = builder.Build();
@@ -17,10 +17,6 @@
app.UseHttpsRedirection();
}
-app.UseStaticFiles();
-
-app.UseRouting();
-
app.UseServiceStack(new AppHost());
app.Run();
diff --git a/api/MyApp/Startup.cs b/api/MyApp/Startup.cs
deleted file mode 100644
index 1957571..0000000
--- a/api/MyApp/Startup.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-// using Microsoft.AspNetCore.Builder;
-// using Microsoft.AspNetCore.Hosting;
-// using Microsoft.Extensions.Hosting;
-// using Microsoft.Extensions.DependencyInjection;
-// using Microsoft.Extensions.Configuration;
-// using Funq;
-// using ServiceStack;
-// using ServiceStack.Configuration;
-// using MyApp.ServiceInterface;
-
-// namespace MyApp
-// {
-// public class Startup : ModularStartup
-// {
-// // This method gets called by the runtime. Use this method to add services to the container.
-// // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
-// public new void ConfigureServices(IServiceCollection services)
-// {
-// }
-
-// // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
-// public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
-// {
-// if (env.IsDevelopment())
-// {
-// app.UseDeveloperExceptionPage();
-// }
-
-// app.UseServiceStack(new AppHost());
-// }
-// }
-
-// public class AppHost : AppHostBase
-// {
-// public AppHost() : base("MyApp", typeof(MyServices).Assembly) { }
-
-// // Configure your AppHost with the necessary configuration and dependencies your App needs
-// public override void Configure(Container container)
-// {
-
-// SetConfig(new HostConfig
-// {
-// DebugMode = AppSettings.Get(nameof(HostConfig.DebugMode), false)
-// });
-
-// Plugins.Add(new SharpPagesFeature());
-// }
-// }
-// }