Today, we’ll contrast .NET Core vs. .NET Framework to help you choose which one to use for your next project.
How to Deploy ASP.NET Core to IIS & How ASP.NET Core Hosting Works
Explore the steps to deploy ASP.NET Core to IIS. And how to make both ASP.NET Core and IIS work together. Ready?
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 …
.NET Performance Optimization: Everything You Need To Know
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 and Other Ways to Find ASP.Net Failed Requests
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 …
Advanced ASP.NET Trace Viewer – WebForms, MVC, Web API, WCF
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
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, …
Top 10 .NET Debugging Tips
The best-laid plans of mice and men still go off the rails sometimes. Even when you’ve been rigorous and put unit tests in place, there are times when you’ll want to jump in and debug an application or a unit test. In this article, we’ll take a look at 10 tips for .NET debugging. 1. Setting Breakpoints A breakpoint is …
Learn ASP.NET: 30 Tutorials, Resources, Websites
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
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 …
ASP.NET Core Testing Tools and Strategies
Don’t be that developer who is woken up in the middle of the night because of some problem with the web application. After all, you need your beauty sleep – some of us more than others. The best way to avoid problems with your application is to test thoroughly. Of course, there is a cost to testing, and it is …
Writing Multitenant ASP.NET Core Applications
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 …
What’s New in .NET Core 2.1
NET Core 2.1 was officially released on May 30. I will summarize what’s new for all its parts – .NET Core itself, Entity Framework Core, and ASP.NET Core. You can also check out our article on the .NET Ecosystem to fully understand your options before you start your next project. .NET Core 2.1 First, you will need either Visual Studio …
Entity Framework vs NHibernate: Understand the Similarities and Differences
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 …
15 Simple ASP.NET Performance Tuning Tips
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 …
The Java vs .NET Comparison (Explained with Cats)
Comparing technologies is always fun. Not that we want to start yet another programming language war, but it is really quite interesting to take a fresh look at a familiar technology and put it into perspective. Plus, it’s quite common for developers and business owners to be faced with the choice between two or more options, be it a fresh …
.NET Standard Explained: How To Share Code
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 Cross-Platform .NET Core Apps
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: Dive Into Runtime Tools and Languages
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 …
The .NET Ecosystem Demystified
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 …