Skip to content

open DI in F# webapi project template #36683

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

Merged
merged 1 commit into from
Sep 18, 2021
Merged

open DI in F# webapi project template #36683

merged 1 commit into from
Sep 18, 2021

Conversation

halter73
Copy link
Member

@halter73 halter73 commented Sep 17, 2021

This is a follow up to #35833. Without open Microsoft.Extensions.DependencyInjection, the AddControllers() extension method cannot be found in the F# project template. I thought we tested if our project templates compiled, but maybe that was just C#.

I've also added this commit to the 6.0-rc2 backport of the F# project template changes (#36660).

Screenshot without the change:

image

@halter73 halter73 added the old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels label Sep 17, 2021
@halter73 halter73 added this to the 7.0-preview1 milestone Sep 17, 2021
@halter73 halter73 requested a review from Pilchie as a code owner September 17, 2021 21:53
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Sep 17, 2021
@vzarytovskii vzarytovskii merged commit 2347f90 into main Sep 18, 2021
@vzarytovskii vzarytovskii deleted the halter73/open-di branch September 18, 2021 10:07
@danmoseley danmoseley removed the old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels label Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants