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
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:
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<!-- Previous items in the first property group -->
**<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel>
<AspNetCoreModuleName>AspNetCoreModuleV2</AspNetCoreModuleName>**
</PropertyGroup>
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:
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 hit this issue in my first 10 minutes of learning F# & Giraffe. Quite baffling to a newbie. Yes, I ran dotnet publish -c Release in the first 10 minutes because I wanted to see the size of a simple Giraffe App.
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: