V10: project template (Program.cs and Startup.cs) can be simplified #12441
tormnator
started this conversation in
Features and ideas
Replies: 1 comment
-
Also see #12445 which proposes fully moving to the Minimal Hosting Model. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I understand it's not possible to go to a minimal hosting model until .Net 7, but I think we can simplify the V10 project template (Program.cs and Startup.cs) to use a couple of the new features in .Net 6:
With these changes the Program.cs would look something like this:
and the Startup.cs would look something like this:
I assume it would be easier to get these changes in before the V10 release, any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions