Tags: C#

Dictionary in C#

I am finding that as you learn to use and implement more sophisticated programming techniques the easier it becomes to created what many would call “complex algorithms”. I believe this, just think about what alternative you have to a Dictionary. I mean other than the similar methods found in the System.Collections or Systems.Collections.Generic classes. Configuration […]

Read More →

Fields vs. Properties in C#

There is a very significant difference between a field and property within a class. The difference is in the behaviour of the field when defined as either a static or instance. Basically, if you create 2 instances of class which has a static field, when you change the value of that field, the values in […]

Read More →

The number 400

Benjamin Perkins C#

What is significant about the number 400? 400 is 20² 400 is divisible by: 1, 2, 4, 5, 8, 10, 16, 20, 25, 40, 50, 80, 100, 200, 400 400 equals 2⁴ * 5² or ( 2*2*2*2*5*5) 400 is a self-number which are generated by this formula:  You can write 400 like this: four hundred, […]

Read More →

Server Error 0x800004005 Request timed out.

Benjamin Perkins C#

I wrote this post and this lab about the impact of having debug=true in your web.config file.  The fact is, when you are running in a production environment, you do not want to have debug=true.  However, I was writing a series of NETSH tracing posts: Capturing a NETSH network trace Analyze NETSH traces with Wireshark […]

Read More →

Configuration error, targetFramework 4.7

Benjamin Perkins C#

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 →