Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've followed the installation procedure for Umbraco 10 and once Umbraco was installed, with dotnet new umbraco I decided to switch from Startup.cs to the new .NET 6 default configuration that includes only the Program.cs. Then, something weird started happening. Even though I could start it and see the website just fine, the /umbraco url stopped working and nothing I could do seemed to bring it back. Is the middleware firing when using this configuration?
dotnet new umbraco
WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
// Add services to the container.
IWebHostEnvironment env = builder.Environment ?? throw new ArgumentNullException(nameof(builder.Environment));
IConfiguration config = builder.Configuration ?? throw new ArgumentNullException(nameof(config));
WebApplication app = builder.Build();
// Configure the HTTP request pipeline.
It seems like the middleware is completely ignored or so it makes me think. Anyone ran into this?
I haven't tried this myself but there's an open issue from May regarding this: https://github.com/umbraco/Umbraco-CMS/issues/12445
Spot on, pretty sure that's what's happening! Thanks, I'll keep my eyes on the issues.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted