71.9 F
High Point
Local Development with Azure API Management Gateway This was rather tricky to figure out so I thought I would share my experience with setting up Visual Studio with a local development subscription of Azure API Management (APIM) Gateway. It turns out that running a local copy of the Azure API Management Gateway is possible through either Docker or Kubernetes. Since...

Force TLS in .NET

Force TLS in .NET Versions before ASP.NET 4.7 default to making outbound connections using TLS 1.0. This is a real problem for security for many reasons. It's now been deprecated with many CVEs. Some of these vulnerabilities make TLS 1.0 vulnerable to man-in-the-middle attacks. A lot of APIs will not accept incoming requests from TLS 1.0 because of this. TLS 1.0...
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...
Mounting Volumes in Docker with Visual Studio This technique is ideal for local development within Visual Studio. You can easily mount local files into a docker container by modifying the MSBuild commands of the project. Project File's MSBuild Commands This code came from a .NET Core 3.1 project. Docker Volume Mounting The docker -v or --volume flag is used to designate a volume mount...
.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
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...
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 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:...
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
Software Architect

WEATHER

High Point
broken clouds
71.9 ° F
75.2 °
68.7 °
79 %
1.6mph
75 %
Sun
88 °
Mon
77 °
Tue
84 °
Wed
80 °
Thu
76 °

FOLLOW ME

131FollowersFollow
356FollowersFollow
16SubscribersSubscribe

Random article