Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ASP.NET Core F# project templates to use new minimal hosting APIs in .NET 6 #11804

Closed
KevinRansom opened this issue Jul 8, 2021 · 2 comments
Labels
Area-SetupAndDelivery Setup, packages, templates, SDK, delivery channels Feature Request
Milestone

Comments

@KevinRansom
Copy link
Member

F# equivalent of #33944

The ASP.NET Core project templates included in the SDK should be updated to use the new minimal hosting APIs introduced in .NET 6 as they represent the new idiomatic way to bootstrap (configure and start) the relevant host for the majority of scenarios.

  • The CreateHostBuilder method would be removed as the patterns that were previously reliant on this are no longer necessary
  • The Startup class would be removed and its contents applied as applicable to the calls to WebApplicationBuilder in Program.cs

Asp net core issue: dotnet/aspnetcore#34123

@vzarytovskii
Copy link
Member

dotnet/aspnetcore#35833

@vzarytovskii vzarytovskii reopened this Sep 7, 2021
@dsyme dsyme added the Area-SetupAndDelivery Setup, packages, templates, SDK, delivery channels label Apr 20, 2022
@vzarytovskii vzarytovskii moved this to Not Planned in F# Compiler and Tooling Jun 17, 2022
@vzarytovskii vzarytovskii added this to the Backlog milestone Oct 19, 2022
@vzarytovskii
Copy link
Member

This is done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-SetupAndDelivery Setup, packages, templates, SDK, delivery channels Feature Request
Projects
Archived in project
Development

No branches or pull requests

3 participants