The Stackify team has been playing with .NET Core since the first beta came out. It was critical to us to ensure that we had amazing support for arguably the future of all .NET development. We first supported .NET Core in Prefix when .NET Core RC1 came out and have done many updates since then. We are excited to announce that .NET Core on Windows is now fully supported with Retrace.
What frameworks are supported for .NET Core?
Retrace works with all .NET Core apps on Windows. Including apps targeting .NET 4.5.1, .NET 4.6 and the new Core CLR (netcoreapp10). It will also work for ASP.NET apps running behind IIS, or running “self hosted” with Kestrel only. We also support non web apps which could be windows services, etc. We have also have full support for Azure App Services for ASP.NET Core. Please note that we do not currently support .NET Core on Linux at all.
What will Retrace APM tell me about my .NET Core app?
Retrace tracks the usage and performance of all dependencies including SQL, NoSQL, external HTTP calls, caching, queuing, and more. Retrace can also show you your log messages and exceptions.
Learn More: List of Supported .NET Technologies
Installing Retrace APM
First step is installing our Windows Agent and selecting both IIS and Windows Services (since .NET Core runs outside of IIS). Or, if you are using Azure App Services, by installing our Site Extension.
Add StackifyMiddleware to your app and redeploy it
For Retrace to work correctly you need to add the StackifyMiddleware nuget package to your application and register the middleware.
PM> Install-Package StackifyMiddleware
Then add one line of code to register the middleware:
See the complete directions in our docs: Enabling For .NET Core Applications
After adding the Middleware, redeploy your application and Retrace will immediately start collecting data.
Optimize the performance of your applications Retrace APM
Identify which part of your stack is slowing down your app
Identify top web requests
Identify top SQL queries
Get code level performance details, including your logging statements!
- How to Create SQL Percentile Aggregates and Rollups With Postgresql and t-digest - August 10, 2020
- What Is NullReferenceException? Object reference not set to an instance of an object - March 11, 2020
- C# Exception Handling Best Practices - March 4, 2020
- IIS Error Logs and Other Ways to Find ASP.Net Failed Requests - November 6, 2019
- List of .Net Profilers: 3 Different Types and Why You Need All of Them - October 30, 2019