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

Deploying framework-dependent .NET apps will fail if service doesn't have right version #2576

Open
timheuer opened this issue Sep 22, 2023 · 2 comments

Comments

@timheuer
Copy link
Member

When publishing to app service or functions, a user may be using an framework-dependent deployment option (FDD) (the default). Upon publishing (especially with newer versions, go-live RCs, etc.) there is a possibility that the resulting service doesn't have FDD support yet. While self-contained deployment (SCD) is an option it isn't the default in our flows.

Publishing from the extension should do a pre-check with all known information to see if the resulting deployment will succeed in a runtime start (sans user-delivered errors).

@alexweininger
Copy link
Member

alexweininger commented Sep 28, 2023

I new to FDD and SCD but read about them on https://learn.microsoft.com/en-us/dotnet/core/deploying/. Let me know if there are any other resources.

Publishing from the extension should do a pre-check with all known information to see if the resulting deployment will succeed in a runtime start (sans user-delivered errors).

Is there more information available so we can implement this pre-check? How can we know if a service supports FDD or SCD?

Love to know more about this because increasing the success rate of deployments is top priority.

@timheuer
Copy link
Member Author

@alexweininger -- I don't think a service needs to know it supports SCD because the nature of SCD is it shouldn't care mostly. But FDD requires that it will need to support whatever framework will need to be deployed. The source can look at the source target framework version and the source (app service) should have ability to check to see if the target is available on that instance (probably need to work with App Service team to see what info is available to interrogate)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants