-
Notifications
You must be signed in to change notification settings - Fork 92
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
Using Auto NuGet package with IIS .NET FX Application #3365
Comments
Is this for multiple apps in a single app pool, or is this for multiple apps on the same host but different processes? |
Multiple apps in IIS and different processes. If they are in the same app pool, then there is probably not much we can do any more, I don't know any more specific scope that could be used to fix that case. |
The nuget package approach that you are recommending for multiple apps not in the same app pool should work. I'm not sure how to solve the problem when there are multiple apps with conflicts in the same app pool. They might all need the same version installed by the nuget package. |
That should work, one app has to share binaries for others... this cross loading pattern seems quite weird although 🤔 |
Synced with @pjanotti . Seems I did not properly understand that .NET FX apps must use also newer SDK style projects to leverage the Auto NuGet package. I don't know if it's possible to create such fx webapplication that supports the NuGet. I think it should be rephased that this task is more about IIS and Net Core Apps ❓ |
What
When user has multiple IIS apps and one or many of them have dependency conflicts, then it's advised to use
OpenTelemetry.AutoInstrumentation
NuGet package. There is no way to use the shipped startup script and IIS defines variables for external installation.Proposal
Add PowerShell function (Similarly #3161) to convert a single app pool to use a NuGet package provided auto instrumentation.
This should overwrite all of the primary envs with a proper locations.
Related
#3085
The text was updated successfully, but these errors were encountered: