Accessing Session State in an HttpModule in MVC


Overview HttpModules can be very useful for a lot of tasks. They are especially handy when trying to accomplish logging within a .NET web application. However, they also come with quite a few hurtles to overcome. In this article we'll discuss some of those challenges as well as ways to get around them. In the … Continue reading Accessing Session State in an HttpModule in MVC

XML Comment on ‘X’ Has CRef Attribute That Could Not Be Resolved


The generic collections in the System.Collections.Generic namespace get the "generic" moniker from their ability to mold themselves to fit the type you're working with. Within the definition of the generic collections this generic type is generally specified with a "". Well, the XML comment system also needs a type specifier to match up with the generic object's definition. In XML comments we can't use the less-than () characters so we instead use curly braces ({ and }). If you update all of the XML references that are throwing the error described above to have "{T}" at the end, the XML comment system will recognize it and resolve the error. If you have a Dictionary or other generic type, simply include the generic type characters appropriate to that definition. For instance the Dictionary object has a key and value so I simply put "{K,V}" after its definition.

High DPI Compatibility Fix


Overview With today's computers having high DPI/PPI (Dots-per-Inch/Pixels-per-Inch) screens, you can start experiencing some problems with the way certain pieces of software render things like buttons, dialog boxes, etc. Here is an example of this in CadSoft Eagle. Although the menu appears normal (i.e. File, Edit, etc.), the toolbar icons are practically microscopic. There can … Continue reading High DPI Compatibility Fix

Use Assembly Title, Description, Company, Copyright, Version in C#


When you edit the properties of a project in Visual Studio, you can enter a Title, Description, Company, Copyright and Version in the Assembly Information section. The question becomes, how do you use these in a project so that you have a single source of information? In this article I'll walk you through the steps used to access the assembly information so you can easily use it throughout your application.

Move Windows User Folders to Another Drive


To help alleviate this situation, we are going to move the user folders (Documents, Downloads, Music and Videos) to the secondary hard drive. If this is not done correctly though, applications that look for these files will just think they're missing and future files will continue to be stored on the small primary drive. This article will walk you through the steps to perform this move properly so that this don't occur.

Windows 10 Activation Failure


Overview When attempting to activate volume license versions of Windows 10 you can often end up experiencing problems. This article will explain how to determine if this is the problem you're experiencing as well as how to successfully activate Windows. The Symptoms With this issue, when you attempt to activate a volume license version of … Continue reading Windows 10 Activation Failure

Flashing Screen & Hyper-V in Windows 10


Flashing Screen & Windows 10 As of the time of writing this article, I have just received my new laptop. This system is to replace my primary HP laptop that died a few months ago after being in faithful service for over 10 years. Here's what I got.   System Specifications Alienware 17 R3 Microsoft Windows 10 Professional Intel … Continue reading Flashing Screen & Hyper-V in Windows 10