Get tips to solve null reference exception

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

Matt Watson Developer Tips, Tricks & Resources

“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 …

Read our practical guide and learn how to measure and improve .NET performance, and make your apps as effcient and optimized as possible.

.NET Performance Optimization: Everything You Need To Know

Jared Nance Developer Tips, Tricks & Resources

It’s Friday afternoon, the majority of the development staff has already packed up and headed home for the weekend, but you remain to see the latest hotfix through to production. To your dismay, immediately after deployment, queues start backing up and you begin to get alerts from your monitoring system. Something has been broken and all evidence points to an …

iis error logs yellow screen of death

IIS Error Logs and Other Ways to Find ASP.Net Failed Requests

Matt Watson Developer Tips, Tricks & Resources

As exciting as it can be to write new features in your ASP.Net application, our users inevitably encounter failed requests. Do you know how to troubleshoot IIS or ASP.NET errors on your servers? It can be tempting to bag on your desk and problem your annoyance.  However, Windows and ASP.NET provide several different logs where failed requests are logged. This …

List of top features and tips for ASP.NET

Advanced ASP.NET Trace Viewer – WebForms, MVC, Web API, WCF

Matt Watson Developer Tips, Tricks & Resources, Stackify Product & Company Updates

Software is a complex thing. As soon as you deploy an application to production—especially when you don’t have any control over the environment it’s running on—anything could happen. You’ve created this “monster” and set if free. It’s now free from your control. How do you tame this beast before it creates havoc? The first step is to trace its steps …

Learn ASP.NET: 30 Tutorials, Resources, Websites

Sagar Arora Developer Career Development, Developer Tips, Tricks & Resources

 Microsoft ASP.NET is a web development framework that’s used to build dynamic web pages, interactive web services, and robust data-driven web applications. It is a part of Microsoft .NET framework. ASP.NET stands for Active Server Pages Network Enabled Technologies. In 2002, Microsoft released the first version of the ASP.NET framework. It was based on the CLR (Common Language Runtime), which …

Serilog Tutorial for .NET Logging: 16 Best Practices and Tips

Matt Watson Developer Tips, Tricks & Resources

Serilog is a newer logging framework for .NET. It was built with structured logging in mind. It makes it easy to record custom object properties and even output your logs to JSON. Note: You can actually check out our other tutorials for NLog and log4net to learn how to do structured logging with them also! In this article, we are …

Performance Monitoring Best Practices

15 Simple ASP.NET Performance Tuning Tips

Simon Timms Developer Tips, Tricks & Resources

There is a lot of evidence to suggest that slow loading times and clunky interaction will drive customers elsewhere. Even in the case of internal applications where the users have no option but to use the application, their satisfaction is tightly coupled to speed. Therefore, ASP.NET performance is one of the most important considerations when building an ASP.NET application There …

.NET Standard: How to Share Code

.NET Standard Explained: How To Share Code

Barry Luijbregts Developer Tips, Tricks & Resources

You can learn how the .NET ecosystem works on Stackify. It consists of runtimes (.NET Framework, .NET Core and Mono for Xamarin), class libraries, and a common infrastructure (runtime tools and languages). In this article, we are going to talk about the thing that makes the runtimes play well together and enables them to share code. Here, you’ll learn what .NET Standard is …

How to build self-contained and framework dependent .NET application

How to Build Cross-Platform .NET Core Apps

Barry Luijbregts Developer Tips, Tricks & Resources

One of the main reasons for using .NET Core is that you can run it on multiple platforms and architectures. So you can build an app that will run on Windows, but also on Linux, macOS and on different architectures like x86 and ARM. This is perfect for lots of scenarios, including desktop applications. You can learn about other reasons …

The .NET Ecosystem Runtime Tools and Languages

The .NET Ecosystem: Dive Into Runtime Tools and Languages

Barry Luijbregts Developer Tips, Tricks & Resources

The .NET ecosystem consists of runtimes: .NET Framework, .NET Core, and Mono for Xamarin. If you want to learn what these runtimes are and how they are different, you should read this article about the .NET ecosystem. In this article, we are going to focus on the tools and languages that make the runtimes in the .NET ecosystem work. These are …

Understand the .NET Ecosystem

The .NET Ecosystem Demystified

Barry Luijbregts Developer Tips, Tricks & Resources, Insights for Dev Managers

When I think of .NET, I think of the .NET Framework and Visual Studio. The first production version 1.0 of the .NET Framework was released on February 13 in 2002. In technology years, this is light-years ago. Since then, new versions of the .NET Framework have been released and Microsoft has started efforts to keep .NET a viable development platform …

.NET Event Counters – When logging isn’t fast enough

Simon Timms Developer Tips, Tricks & Resources

Over the past few years, I’ve become more and more convinced that having really good production logs is critical to running a successful software deployment. Logging has always been important, however if you’re deploying a web of microservices and a business transaction might span twenty different services, then searchable centralized logging is crucial. There are plenty of great tools available …

ASP.NET Interview Questions & Answers

Dev Leaders Share Their Favorite ASP.NET Interview Questions

Angela Stringfellow Developer Career Development

If you’re in the market for a new development job, you know that interview questions related to roles focused on specific programming languages can be quite complex. Even if you’re an experienced veteran in ASP.NET, you can never prepare too much for your next interview. We reached out to a panel of ASP.NET pros and development leaders to learn about …

Stackify ASP.Net Performance Monitoring

ASP.NET Performance Monitoring: A Developer’s How to Guide

Matt Watson Developer Tips, Tricks & Resources, Popular

Monitoring hasn’t traditionally been designed for developers or applications. With the rise of cloud computing, PaaS and even serverless applications, developers need to be much more involved in application monitoring. Comprehensive ASP.NET performance monitoring requires monitoring your application multiple ways, from server CPU usage, identifying slow web requests, slow SQL queries, garbage collection metrics, and much more. In this guide, …

What is ViewBag?

ViewBag 101: How It Works, When It’s Used, Code Examples, and More

Alexandra Altvater Developer Tips, Tricks & Resources

ViewBag is a property – considered a dynamic object – that enables you to share values dynamically between the controller and view within ASP.NET MVC applications. Let’s take a closer look at ViewBag, when it’s used, some limitations, and other possible options to consider. What is ViewBag? The Microsoft Developer Network writes that the ViewBag property allows you to share …