ASP.NET Monitoring and logging - asp.net

Is there any service similar to Application Insights and Application Monitoring which Azure provides which I can install in my own server and is free for small uses?

Related

Can I replace AppDynamics with Azure App Insights

Our existing Infra is hosted on private servers. AppDynamics is used for monitoring hundreds of application & host performances.
As a move we are moving all our applications on Azure. Is this possible to get away from AppDynamics & use any Azure solutions for the same purpose. Possibly Azure App Insight/Monitor ??
We have tried Java Application Monitoring on Azure App Insight; Azure Monitor is useful there. Also we have used LogAnalytics for creating various performance Dashboards on Azure Monitor.
Can Application Insight support all the similar features of AppDynamics: Like Workflow Monitoring Performance Monitoring etc etc..

use appinsights in an on-premise web server

We would like to use appinsights to collect data for our on-premise sites.
I found an article https://unhandled.wordpress.com/2018/02/01/using-azure-application-insights-with-on-premises-servers/
which will install an old (2016) software (Application Insights Status Monitor).
Is it still the right way to use appinsight in an on-premise web server?
There are two ways to instrument on-premise web server.
Option I: Use Status Monitor v2 to auto-instrument your application. No need to change code.
Option II: Add Application Insights SDK to your web application project. Redeploy your application.

Application insights site extension in Azure causing high CPU usage with spikes?

After enabling Application Insights site extension in Azure (without doing any code level updates) for an app service the CPU for the app service plan goes up:
After disabling the Application Insights from each app service (and removing Application Insights applications) CPU gets back to normal
What could be the reason for this and how to troubleshoot the issue?
The app service plan is a P3V2 (840 total ACU, 14 GB memory, Dv2-Series compute equivalent). It runs both .NET Framework and .NET Core app services.

ASP.Net web app running locally with IIS Server not running on Azure

I have simple ASP.Net web app in which there is Socket connection implementation.
It is working in local IIS Server, but not working when deployed on Azure.
Source Code on GitHub.
It is working in local IIS Server, but not working when deployed on Azure.
I previously followed this tutorial to build my web application with WebSockets. Per my understanding, you need to enable the Web sockets option under the "SETTINGS > Application settings" of your Azure web App on Azure Portal. Moreover, here is a similar tutorial about Introduction to WebSockets on Windows Azure Web Sites, you could refer to it.
UPDATE:
For using SSL for WebSockets under Azure Web Apps, you could just connect to wss://{your-appname}.azurewebsites.net (WebSockets over HTTPS). Azure Web Sites supports SSL even on free sites by using a default SSL certificate for *.azurewebsites.net. Details you could follow this tutorial.
TEST:
Additionally, if it does not work in your web app, you could leverage the Log stream under the MONITORING section of your app service on Azure Portal to retrieve the detailed error message to narrow this issue.

Can Azure Application Insights be used on applications not hosted in Azure?

Is it possible for me to add Application Insights to a .NET application that we host in our local environment for monitoring within Azure, or does Application Insights only work for applications hosted on Azure?
You can monitor any kind of app anywhere with Application Insights, as long as the thing being monitored can send outbound telemetry to application insights. the ip addresses for application insights are documented here if this requires setting up any kind of firewall/etc rules.
Azure is the "storage location" for your telemetry. Your app doesn't have to run in Azure, or even be a web app. people use application insights for console apps, device apps powershell scripts, web apps hosted all over the place, etc.

Resources