-
I apologize if this question has already been asked and answered, but I could not find a solution in my searches. I would like to know if there is a way to keep the database container (not server) running after debugging stops. Not referring to persisting data using the Thanks, E |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
https://devblogs.microsoft.com/dotnet/dotnet-aspire-container-lifetime/ You can use |
Beta Was this translation helpful? Give feedback.
https://devblogs.microsoft.com/dotnet/dotnet-aspire-container-lifetime/
You can use
WithLifetime(ContainerLifetime.Persistent)
andWithEndpointProxySupport(false)
https://learn.microsoft.com/en-us/dotnet/api/aspire.hosting.containerresourcebuilderextensions.withlifetime?view=dotnet-aspire-9.1
https://learn.microsoft.com/en-us/dotnet/api/aspire.hosting.containerresourcebuilderextensions.withendpointproxysupport?view=dotnet-aspire-9.1