The .NET Ecosystem Runtime Tools and Languages

The .NET Ecosystem: Dive Into Runtime Tools and Languages

Barry Luijbregts Developer Tips, Tricks & Resources Leave a Comment

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 Leave a Comment

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 …

Performance counters in .NET Core

How to Use Performance Counters with .NET Core: Current Solution, Alternatives, and the Future

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

Performance counters are really important for monitoring and troubleshooting problems with your .NET applications. The full .NET Framework provides a wide array of performance counters that are very useful for troubleshooting application problems. Some examples of important performance counters are garbage collection and exception rates. Without these, you will be flying blind. In this article we will discuss how to …

Top Features of ASP.NET Core

Top 13 ASP.NET Core Features You Need to Know

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

ASP.NET is one of the most successful web application development frameworks by Microsoft. With every update, new and extended features are added that help developers deploy highly scalable and high-performance web applications. When coupled with application monitoring and other performance tools, such as a profiler, ASP.NET becomes a powerful solution for building incredible apps. Within the framework itself, there are …

What is Dependency Injection?

.Net Core Dependency Injection

Jared Nance Developer Tips, Tricks & Resources Leave a Comment

What is Dependency Injection? Dependency Injection (DI) is a pattern that can help developers decouple the different pieces of their applications. It provides a mechanism for the construction of dependency graphs independent of the class definitions. Throughout this article, I will be focusing on constructor injection where dependencies are provided to consumers through their constructors. Consider the following classes: class Bar …

ASP.NET Razor Pages vs MVC: How Do Razor Pages Fit in Your Toolbox?

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

As part of the release of .NET Core 2.0, there are also some updates to ASP.NET. One of those is the addition of a new web framework for creating a “page” without the full complexity of ASP.NET MVC. New Razor Pages are a slimmer version of the MVC framework and in some ways an evolution of the old “.aspx” WebForms. …

What is Kestrel Web Server?

What is Kestrel Web Server? How It Works, Benefits, and More

Stackify Developer Tips, Tricks & Resources Leave a Comment

Kestrel is open-source (source code available on GitHub), event-driven, asynchronous I/O based server used to host ASP.NET applications on any platform. It’s a listening server and a command-line interface. You install the listening server on a Windows or Linux server and the command-line interface on your computer. It was launched by Microsoft along with ASP.NET Core. All ASP.NET Core apps utilize a …

How to Deploy ASP.NET Core to IIS & How ASP.NET Core Hosting Works

Matt Watson Developer Tips, Tricks & Resources, Live Queue Leave a Comment

Previously, I discussed the differences between Kestrel vs IIS. In this article, we will review how to deploy an ASP.NET Core application to IIS. Deploying an ASP.NET Core app to IIS isn’t complicated, but ASP.NET Core hosting is a little different than ASP.NET. How to Configure Your ASP.NET Core App For IIS The first thing you will notice when creating …

How to Deploy ASP.NET Core Web App to Azure & How to Use Retrace With ASP.NET Core

Barry Luijbregts Developer Tips, Tricks & Resources, Insights for Dev Managers, Live Queue Leave a Comment

ASP.NET Core is the latest version of ASP.NET. It is built from the ground up using .NET Core, the lightweight, composable new .NET Framework. Some people love it, some don’t. However, this is the future. Microsoft will move forward with .NET Core and in the future, the regular, full-fledged versions will go away. I like ASP.NET core a lot. It …

ASP.NET Core Web Servers: Kestrel vs IIS Feature Comparison and Why You Need Both

Matt Watson Developer Tips, Tricks & Resources, Live Queue Leave a Comment

The Kestrel web server is a new web server as part of ASP.NET Core. It is now the preferred web server for all new ASP.NET applications. In this article, we will review what it is, how to use it, and the differences between Kestrel vs IIS. Why Do We Need the New Kestrel Web Server? What about IIS? If you have …

How to Create .NET Core Windows Services with Visual Studio 2017

How to Create .NET Core Windows Services with Visual Studio 2017

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Mobile and web applications might be all the rage these days, but a lot of the real work still gets done via background services and scheduled tasks. At Stackify, we use a lot of background .NET services for processing all of the data that our systems ingest. One of the common problems with .NET Core when it first came out was …

Microsoft.Extensions.Logging

How to Use LoggerFactory and Microsoft.Extensions.Logging for .NET Core Logging With C#

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

If you have used .NET Core, you have probably battled with the new built-in .NET Core LoggerFactory which is in Microsoft.Extensions.Logging. It has created a lot of confusion around logging with ASP.NET Core. At Stackify, we have logging integrations for log4net, NLog, Serilog, and our direct API. We have a lot of experience with building logging appenders and libraries to work with various …

How to Configure log4net for .NET Core

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Recently the log4net team published new NuGet packages that support .NETStandard 1.3, which means it should work with .NET Core. I decided to spend some time today to make sure our Stackify logging libraries work with log4net and .NET Core. We already published updates for NLog and Serilog. It was about time we had log4net support out there as well. …