You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'improvement/ASP.NET-Core-6-hosts' into develop
While the OnTopic library will continue to use .NET Standard 2.1 for backward compatibility with .NET Core and even .NET Framework, we expect _most_ customers will be using ASP.NET Core 6. As such, I've upgraded the unit tests, integration tests, and host projects to run on .NET 6 or ASP.NET Core 6.
As part of this, I also migrated the main `OnTopic.AspNetCore.Mvc.Host` project over to the new ASP.NET Core 6 minimal hosting model, which merges `Startup` and `Program` into a single top-level program. This is more consistent with the out-of-the-box ASP.NET Core 6 projects that new implementations will be working off of, and is also much easier to read.
I didn't migrate the `OnTopic.AspNetCore.Mvc.IntegrationTests.Host` project as there are apparent incompatibilities between the new minimal hosting model and the integration tests. I suspect these are easy to resolve—and may simply necessitate exposing internals to the integration tests project—but I don't have time to look into it right now, so will revisit that later. In the meanwhile, however, as the only purpose of that project is to act as a barebones host for the integration tests, and not a boilerplate example for implementers, it's not an immediate priority.
0 commit comments