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

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

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

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

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 …

Monitor Windows Services

How to Monitor Windows Services: Performance, Errors, Usage

Matt Watson Developer Tips, Tricks & Resources, Popular

It seems like everyone these days is writing cool ASP.NET web applications. However, we all know that a lot of the real work is still done behind the scenes in background services. Buying something on Amazon no doubt kicks off a waterfall of tasks that are done behind the scenes to fulfill a single order. Including verifying stock, shipping, contacting …

Retrace now supports Azure WebJobs

How to Monitor Azure WebJobs: Performance, Errors, Usage

Matt Watson Developer Tips, Tricks & Resources

Azure Cloud Services and App Service made it relatively easy to run web applications in the cloud. Developers still need a simple way to run tasks on a schedule at pre-defined  times or specific intervals . We commonly use simple console apps via the Windows Task Scheduler to handle these needs. WebJobs were released as part of Azure App Service …

Web Service Monitoring With Retrace

Web Service Monitoring With Retrace

Matt Watson Developer Tips, Tricks & Resources, Popular

Today’s applications depend on a wide array of 3rd party and internal web services. Retrace’s web service monitoring capabilities have always been able to monitor how often your code accesses any type of HTTP web services over REST, SOAP, etc. This includes popular external services like Twilio, SendGrid, Amazon S3, or others. It also would include your own microservices. We …

SOAP with ASP.NET

How to Call WCF Services and Create SOAP Services with ASP.NET Core

Ricardo Peres Developer Tips, Tricks & Resources

If you are looking to use SOAP or WCF with ASP.NET Core, you are not alone. It is one of the most searched for and requested features for .NET Core. In this article, we will discuss how to consume a WCF SOAP service from your .NET Core application. We also show how to create and host a SOAP service with …

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 …

What is Kestrel Web Server?

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

Alexandra Altvater Developer Tips, Tricks & Resources

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 …

What is IIS Express?

What is IIS Express? How It Works, Tutorials, and More

Alexandra Altvater Developer Tips, Tricks & Resources

Previously, when developers built and tested ASP.Net sites and applications, they use one of these two servers: Visual Studio’s ASP.NET Development Server and the Windows’ IIS Web Server. Each option has its pros and cons. Then, an increasing number of developers expressed their desire to have a server that exhibits the characteristics of user-friendly ASP.NET Development Server along with the …

How to Use Web.Config customErrors for ASP.NET

Matt Watson Developer Tips, Tricks & Resources

The ASP.NET framework provides built-in settings to control how to respond when application errors occur. This functionality is part of the Web.Config customErrors settings section. Configuration Options for Web.Config <customErrors> Like most web.config settings, customErrors can be configured within the Machine.config, root web.config or your application’s web.config file. Usually, it is set in the web.config file for your application. CustomErrors …

Get tips for error handling in ASP.Net

Best Practices for Error Handling in ASP.NET MVC

Matt Watson Developer Tips, Tricks & Resources

Error handling is an important part of any application. ASP.NET provides several different ways to handle errors. In this article, we will review MVC error handling best practices. 5 Ways to do MVC Error Handling Between .NET, ASP.NET, and MVC there are several potential ways to handle application errors. Web.Config customErrors MVC HandleErrorAttribute Controller.OnException method HttpApplication Application_Error event Collect exceptions via …

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

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 …