[PR #327] [MERGED] Update README.md #1144

Closed
opened 2026-01-29 16:57:46 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ElectronNET/Electron.NET/pull/327
Author: @tadic-luka
Created: 10/22/2019
Status: Merged
Merged: 10/28/2019
Merged by: @robertmuehsig

Base: netcore30Head: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 README.md (+5 -0)

📄 Description

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 https://github.com/aspnet/AspNetCore/issues/9542 and it is explained there what should be done.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ElectronNET/Electron.NET/pull/327 **Author:** [@tadic-luka](https://github.com/tadic-luka) **Created:** 10/22/2019 **Status:** ✅ Merged **Merged:** 10/28/2019 **Merged by:** [@robertmuehsig](https://github.com/robertmuehsig) **Base:** `netcore30` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`aa98b85`](https://github.com/ElectronNET/Electron.NET/commit/aa98b85f18016c5e78e2ed1d69e4e89dbfbcd60f) Update README.md ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+5 -0) </details> ### 📄 Description 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 https://github.com/aspnet/AspNetCore/issues/9542 and it is explained there what should be done. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:57:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#1144