.NET Core: Dynamically Return Style Sheets with Web API If you have a need to dynamically return a stylesheet to the UI here's a quick tutorial on how to do it. Header Template C# Web API
.NET Core Interview Questions Q: What is .NET Core? .NET Core is a modern Microsoft framework for creating applications that can run platform agnostic. .NET core has performance gains over its predecessor technology ASP.NET where it's been shown as 2400% times faster. .NET core can handle up to 7,000,000 HTTP requests per second. .NET core is developed in C++ and C#. https://en.wikipedia.org/wiki/.NET_Core https://www.ageofascent.com/2019/02/04/asp-net-core-saturating-10gbe-at-7-million-requests-per-second/ Q:...
TypeScript Experimental Decorator Error in Visual Studio/Code I ran into this issue in Visual Studio 2019 while working on a .NET Core/Angular 8 project. It seems like every new component I created displayed an error or a warning for experimental decorators. After doing a bunch of research this issue seems more prominent in Visual Studio Code so I thought I...
.NET Health Checks: Azure Key Vault There isn't much documentation on how to use the Azure Key Vault Health Checks so I thought I would demonstrate and teach what I've learned using C#. I typically use Azure App Configuration and reference Key Vault entries with microservices. It's not very intuitive but the way this works is your Key Vault Health...
Hardening ASP.NET Response Headers (Code) A reliable way to harden your ASP.NET web application is to remove and skew the response headers via code. This will throw off automated scans that are performing banner grabbing in an attempt to identify vulnerabilities. There are ways to do this in IIS, however, performing this in code means it's applied everywhere that the...
.NET Kafka Producers This multipage post will specifically target the concept of getting data out of a specific system or database and on to the Kafka Event Bus. There are many ways of doing this and some are easier to implement than others. It's important to remember why Kafka is relevant in today's world; Kafka is a real-time event streaming...
Docker: Jenkins Build Server on Windows Server Core Big fan of Jenkins! I've really enjoyed the flexibility that this CI server provides. While it's easy to run a Linux container with Jenkins and do .NET Core builds it's not possible to build traditional ASP.NET projects... unless you install Mono.. but I could never get that to work. After contemplating my...
C# Reflection: Application Name & Version My friend Christian Caspers showed me this trick and I thought it was a great idea. I've always saved these values in a configuration file but this little snippet is great for pulling that information from the assembly file. View Gist on GitHub
Introduction to ASP.NET/.NET Core .NET is an incredibly powerful software development framework created by Microsoft and used by some of the largest enterprise environments in the world. Originally created in 2002, it was decided to supersede Active Server Pages (ASP Classic 3.0). While .NET is very versatile it is also very "corporatey" because of its tight integration within the Windows...
69.6 ° F