ritterim / RimDev.AspNet.Diagnostics.HealthChecks

ASP.NET full framework implementation of ASP.NET Core health checks.
MIT License
25 stars 10 forks source link

Documentation to use with Global.asax #7

Open luigisaggese opened 4 years ago

luigisaggese commented 4 years ago

Hello, there is way to use with Global.asax?

kendaleiv commented 4 years ago

It's intended to be wired up in an OWIN startup class like Startup.cs. You should be able to create one and keep any existing functionality in Global.asax as well.

vimalpatel1111 commented 4 years ago

I wanted to make a health check application which will be common nuget library consumed by both .net framework and .net core applications in my organization. I converted this project to .net standard 2.0 project. As .net standard 2.0 does not fully support OWIN, i created Route handler into the project, which i register in the .net framework application. From this route handler i am using wrapper class similar like middleware, where i am initializing all the healthcheckwrapper based on my settings file in client application and able to use this. Thanks this project really helped me to meet my requirements. Please let me know if this handler approach is fine, as i dont want to use OWIN, or can you suggest better approach to consume from .net framework applications.