Skip to content

Update README.md - #327

Merged
robertmuehsig merged 1 commit into
ElectronNET:netcore30from
tadic-luka:patch-1
Oct 28, 2019
Merged

Update README.md#327
robertmuehsig merged 1 commit into
ElectronNET:netcore30from
tadic-luka:patch-1

Conversation

@tadic-luka

Copy link
Copy Markdown

EnableEndpointRouting should be set to false because there are breaking changes in ASP.NET Core 3.0. Otherwise people will get error:

Application startup exception: System.InvalidOperationException: Endpoint Routing does not support 'IApplicationBuilder.UseMvc(...)'. To use 'IApplicationBuilder.UseMvc' set 'MvcOptions.EnableEndpointRouting = false' inside 'ConfigureServices(...)
...

The solution is even proposed in stack trace.
Issue was opened on dotnet/aspnetcore#9542 and it is explained there what should be done.

EnableEndpointRouting should be set to false. Otherwise people will get error: 
Application startup exception: System.InvalidOperationException: Endpoint Routing does not support 'IApplicationBuilder.UseMvc(...)'. To use 'IApplicationBuilder.UseMvc' set 'MvcOptions.EnableEndpointRouting = false' inside 'ConfigureServices(...). 
The solution is even proposed in stack trace.
Issue was opened on dotnet/aspnetcore#9542 and it is explained there what should be done.
@robertmuehsig
robertmuehsig merged commit 5af8e48 into ElectronNET:netcore30 Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants