https://github.com/aranasoft/applicationinsights.aspnetcore.ihostenvironment
https://github.com/aranasoft/applicationinsights.aspnetcore.ihostenvironment
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/aranasoft/applicationinsights.aspnetcore.ihostenvironment
- Owner: aranasoft
- License: other
- Created: 2023-05-11T22:00:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-12T03:29:34.000Z (about 3 years ago)
- Last Synced: 2025-03-08T17:54:18.314Z (over 1 year ago)
- Language: C#
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Microsoft Application Insights for ASP.NET Core applications
======
This code is a temporary workaround for the `IHostingEnvironment`/`IHostEnvironment` issue in the Application Insights SDK. It is a temporary workaround until the SDK is updated to support the new `IHostEnvironment` interface.
The code is based on the [Microsoft Application Insights for ASP.NET Core applications](https://github.com/jayharris/ApplicationInsights-dotnet/tree/main/NETCORE).
The original issue is [Microsoft/ApplicationInsights-dotnet#2439](https://github.com/microsoft/ApplicationInsights-dotnet/issues/2439).
## Installation
From Package Manager Console:
```bash
PM> install-package Aranasoft.ApplicationInsights.AspNetCore.IHostEnvironment
```
## License
Copyright of Arana Software, released under the [BSD License](http://opensource.org/licenses/BSD-3-Clause/).
Copyright of Microsoft, released under the [MIT License](https://opensource.org/license/mit/).