-
Notifications
You must be signed in to change notification settings - Fork 266
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
Current template lacks fsproj items needed to run in official ASP.NET docker containers #487
Comments
Oh, thanks for bringing this to our attention! Have you got a pointer to an official ASP.NET Core documentation section which outlines why or when one needs this in order to work with the .NET Docker image? I'll add that to the docs then! |
I mean, the in-process part is a bit confusing, but it doesn't seem like it ever runs on Linux or Mac -- the best case is that on those platforms, ASP.NET might not respect the setting: https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/in-process-hosting?view=aspnetcore-6.0 AspNetCoreModuleV1 is deprecated, so that's why that one should change. OutOfProcess hosting works with IIS, but with slightly reduced performance. InProcess does not run on Linux or Mac at all, from what I can tell. |
Up. Do you guys still think this is something we can add to the documentation? |
I hit this issue in my first 10 minutes of learning F# & Giraffe. Quite baffling to a newbie. Yes, I ran |
Hello,
While I don't know if the Giraffe team would prefer to update the template or update the docs, currently the fsproj file needs the following lines added in order to run in the official ASP.NET Docker containers:
I don't know what the oldest version of .NET Core and ASP.NET Core that support these two is, but I know they work in ASP.NET 3.1.
The text was updated successfully, but these errors were encountered: