.NET

stackify

What Is NullReferenceException? Object reference not set to an instance of an object

“Object Reference Not Set to an instance of an object.” Cast the first stone those who never struggled with this error message when they were a beginner C#/.NET programmer. This infamous and dreaded error message happens when you get a NullReferenceException. This exception is thrown when you try to access a member—for instance, a method or a property—on a variable that currently holds a null reference. But what is a null reference?

veracode

Top Security Anti-Patterns in ASP.NET Core Applications

Microsoft's ASP.NET Core enables users to more easily configure and secure their applications, building on the lessons learned from the original ASP.NET. The framework encourages best practices to prevent SQL injection flaws and cross-site scripting (XSS) in Razor views by default, provides a robust authentication and authorization solution, a Data Protection API that offers simplicity of configuration, and sensible defaults for session management.

stackify

ASP.NET Performance: 9 Types of Tools You Need to Know!

One of the best things about being a .NET developer is all the amazing ASP.NET performance tools that can make your life easier. This blog post is a list of the various types of ASP.NET performance tools at your disposal for finding and optimizing ASP.NET performance problems. Depending on the task, some of these tools will be much better than the others.

grafana

Instrumenting a .NET web API using OpenTelemetry, Tempo, and Grafana Cloud

OpenTelemetry is a CNCF project that standardizes observability (logs, metrics, and traces) across many languages and tools. Today we will look at how we can use the OpenTelemetry .NET library to instrument a .NET 5.0 web API, to offload traces to Tempo and logs to Loki in Grafana Cloud. Grafana Cloud now has a free plan. Set up your account and follow along!

datadog

Monitor your .NET web apps with the Datadog extension for Azure App Service

Azure App Service is a cloud-based platform-as-a-service (PaaS) for deploying functions, web apps, mobile apps, and other resources. It allows developers to deploy code—using common languages and frameworks—in minutes without worrying about provisioning or managing infrastructure. Developers can then use Azure App Service to scale their services dynamically to meet demand.

stackify

How to Handle Application_error in ASP.NET App's Global.asax

ASP.NET offers many benefits, such as improved security, easy updating, language independence and less overall code. With that said, .NET is not without errors and issues, even when working with a professional, such as this .NET development company. One common error is an Application_error in the Global.asax file. Let’s understand how to handle ASP.NET App’s Global.asax and other common errors in .NET.

elastic

How JetBrains uses .NET, Elasticsearch, CSVs, and Kibana for awesome dashboards

Recently, the JetBrains .NET advocacy team published a deep-dive post powered by data we retrieved from the official NuGet APIs with the goal of better understanding our community's OSS past and trying to predict trends into the future. This resulted in a giant dataset. Given our experience with Elasticsearch, we knew that the best tool to process millions of records was what we're calling the NECK stack: .NET, Elasticsearch, CSV, and Kibana.

instana

Monitoring .NET 5: A Small Step For Instana, One Giant Leap For The .NET Ecosystem

.NET 5 is finally here, released at .NET Conf 2020. .NET 5 was so highly anticipated that we already have a few Instana users deploying the .NET 5 Preview Releases in production, and we expect a sizable part of the ecosystem to eagerly migrate apps to .NET 5 at the earliest possible moment.

stackify

Best 5 Tools for .NET Monitoring

.NET monitoring is a critical aspect of .NET application development. It helps developers track the health and well-being of their applications to provide real-time performance reviews. Knowing the real status of your application ensures that users have round-the-clock access to your business site. .NET monitoring makes sure that your business is not impacted by application issues. For example, problems experienced during site navigation can discourage customers from making a purchase from your site.

serverless360

Getting Started with Azure Cosmos DB Using .NET SDK

Any application built today is expected to be highly responsive, highly available, and required to adapt to enormous changes in real-time at peak business hours, store ever-increasing volumes of data, and make that stored data available for users a fraction of seconds. To achieve such low latency and high availability, you need to deploy these applications’ Instances in data centers that are close to their users.