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.

C# WMI Tutorial


This tutorial will provide a step-by-step process to follow in order to use WMI. It will provide information about the tools you need, how to use them and finally how to code to get information from WMI.

Quick-Tip: How to Kill .NET Worker Process


This is a quick-tip on how to kill the .NET worker process. Often when I'm developing web applications I'll run into an issue where I've made a change but it's not being reflected when I'm running or debugging the software. I'll clear the browser cache and even restart my debugging session, but still the previous … Continue reading Quick-Tip: How to Kill .NET Worker Process

Back From Hiatus with Hardware


Overview I'm back with a new post, after a long hiatus. These days I've been diving into the world of hardware electronics; more specifically Arduino and Seeeduino. Long ago I started in this industry by selling electronic and computer components (e.g. resistors, rectifiers, ICs, cable, etc.). After that it was building, upgrading and repairing computers … Continue reading Back From Hiatus with Hardware

Embedding Images in HTML with Data URI & Base64 Encoding


I went about researching how to embed the image inside of the HTML page. I stumbled across RFC 2397 which provides a means of doing this called Data URI Scheme. The short explanation is that you base64 encode the image (or other resource) and then use a data URI to provide access to the encoded data. Here's how you do it.

Extended Methods in .NET


Extended methods are incredibly useful for adding functionality that .NET doesn't come stock with. They allow you to quickly extend existing classes without having to create new derived types, recompile or extend existing types! Just add, import their namespace and "magically" all instances of the type you extended contain the new methods. Seriously powerful stuff!