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.

Advertisements

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

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!

Enhancing SQL Database Performance


Performance tuning your database is always a daunting task. It can be the stuff of nightmares for even the most seasoned SQL DBA. This article gives you a step-by-step way to implement big performance gains quickly!