object reference not set to an instance of an object

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 …

What is Blazor? Your Guide to Getting Started

Simon Timms Developer Tips, Tricks & Resources

For years now, if you wanted to write code to run in a browser, your choices were JavaScript or JavaScript. For a couple of brief periods on certain browsers, there were other languages you could use, but they weren’t significant: VBScript on IE and Dart on a special build of Chrome. There are also languages that compile down to JavaScript (TypeScript, …

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 …

Writing Multitenant ASP.NET Core Applications

Ricardo Peres Developer Tips, Tricks & Resources

A multitenant web application is one that responds differently depending on how it is addressed – the tenant. This kind of architecture has become very popular, because a single code base and deployment can serve many different tenants. In this post, I will present some of the concepts and challenges behind multitenant ASP.NET Core apps. Let’s consider what it takes …

Entity Framework vs NHibernate: Understand the Similarities and Differences

Ricardo Peres Developer Tips, Tricks & Resources

A long time before Entity Framework (EF) Core was around – or any other Entity Framework for that matter – we already had NHibernate. In this article, I’m going to review Entity Framework and NHibernate, what approaches and differentiates them. History of NHibernate and Entity Framework NHibernate is a port of Hibernate from Java, one of the oldest and most …

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 …