How To: Code Generators and Code Snippets
As you know, Snippets are available since Visual Studio 2005 and Add-Ins since Visual Studio 2003, but we rarely asked “Can these help our work?”. Yes, they do. It’s not important how they are created, for this are many tutorials available, important is how those could help us.
Dynamically generate ENUMs through assembly
In C# ENUMs are storage efficient data structure acting at run-time just like primitive types. The following presents one way to generate an enumeration class within a dynamic assembly using database data.
Windows Application interaction with a Web Page
Displaying a web page inside a widows form application and interact with the content it’s very simple using System.Windows.Forms.WebBrowser. This way you can easily create a panel containing ads in to your application or even communicate with a 3rd Party web component for displaying data. In our case we needed to integrate an enterprise application [...]
Binding Breakpoints in Visual Studio Debugging
Few months back I ran into a strange behavior regarding breakpoints. Debugging a c# solution in Visual Studio 2008 I’ve noticed the breakpoints I have “click” removed during one debug session reappear as soon as session ends.
Extending Base Types with extension methods
In almost every project there is need for code that converts one object type to another or provides custom formatting for output. Until C# 3.0 this was usually done by creating a wrapper class with static methods or worst by writing inline code that made those transformations on the spot. With C# 3.0 Microsoft introduced [...]


Tags: 


