I am going to do a self study to learn how to implement authentications and authorization into my ASP.NET application using Azure Active Directory. Pretty much this, but with out using the AUX (OLD) portal (if now possible). Although it has already been done, I like to do it myself and I like to document […]
Read More →Author: Benjamin Perkins
How to analyze a trace taken using NETSH TRACE
I wrote article “Capture a NETSH network trace” here, where I discussed how to capture a NETSH trace, I will discuss how I analyzed it now. I wrote another here that explains how to convert the ETL into a CAP file so it can be analyzed in Wireshark or Network Monitor. “Analyze NETSH traces with […]
Read More →Analyze NETSH traces with Wireshark or Network Monitor, convert ETL to CAB
I wrote a post about how I captured a NETSH trace here “Capture a NETSH network trace”. I like to use Wireshark to analyze my network traces, this post describes how I analyzed a NETSH .ETL trace file in Wireshark. NOTE: Wireshark is not a Microsoft product it is a 3rd party tool. Basically, I […]
Read More →Capture a NETSH network trace
Here are the official details on this one. I was needing to do this and realized that I had never written a post on this one. Although we are moving into the cloud and this isn’t needed so much anymore, all the IT pros who will continue to work with Windows Server within their own […]
Read More →Configuration error, targetFramework 4.7
I was deploying some code to one of my IIS servers and got this YSOD as seen in Figure 1. I had coded in Visual Studio 2017 with the .NET Framework 4.7 targeted from my ASP.NET Web Forms application I wrote. Figure 1, Server Error, targetFramework=”4.7” Server Error in “/” Application. Configuration Error Description: An […]
Read More →Resize a control within a WPF window grid at runtime
It’s kind of funny, you search and you search for the answer or keyword for achieving the resizing of controls within a WPF window at runtime but just can’t seem to get there easily. However, as soon as you find the right word there is an abundant supply of information about the topic. I mean […]
Read More →Resize WPF contents controls when window is resized
I created a nice utility in WPF today which contained a treeview, textbox, button and datagrid. The logic and work flow executed as expected, I was very proud of the work. I caught all my errors and exceptions and provided the user with options on how to proceed or correct the error. But the window […]
Read More →.NET Core 2.0 modular and NuGet packages
One of the cool features of the .NET Core is that the namespaces you reference in the project are the only ones that are contained in the DLL your project renders. I was reading that when you initially create a project in Visual Studio, that numerous packages are included by default and was wondering, because […]
Read More →Targeting a specific version of the .NET Framework
I find numerous opinions and understandings about side-by-side and in-place installations of the .NET Framework. Here is my favorite explanation of this “.NET Versioning and Multi-Targeting – .NET 4.5 is an in-place upgrade to .NET 4.0”. I also link to that same article in one of my IIS labs here, “Lab 5: Basic and Advanced […]
Read More →What is the current .NET version on an Azure App Service
I have an App Service here (currentdotnetversion) that shows the output of the current (when I wrote this article) .NET version using C# code. Here is a partial code snippet: protected void Page_Load(object sender, EventArgs e) { const string subkey = @”SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\”; using (RegistryKey ndpKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32).OpenSubKey(subkey)) { […]
Read More →