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.

Tags:  

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 [...]

Tags:    

ArgumentException in DataTable Select statement

Under some circumstances, filtering a Datatable using its Select method may result in throwing following exception: “Min (some value) must be less than or equal to Max (-1) in a Range object.”

Tags:      

Devexpress XtraGrid's multiple rows into footer

This article describes a way to insert multiple rows into a Devexpres WinForm XtraGrid footer. First step is to add a XtraGrid into your WinForm and set to true it’s ShowFooter property. Once the footer it’s visible you can add cells into it using the GUI or programmatically. Code for adding cells into footer look [...]

Tags:    

WCF Hosting options

Windows Communication Foundation was official released with .NET 3.0. For those people who are doing connected, distributed systems or are in any way interested in communication aspects of systems, this ought to be a God-send. WCF basically rolled all the different Microsoft messaging formats into one, making it extremely easy to architect the communication layer of simple to complex applications. 

Tags:   

Parse MIME string to retrieve message information

The purpose is to gain access to the message information in code by extracting it from a raw email message. For this we will parse the content of the email using the IMessage interface.

Tags:      

.Net Debugging Classes

The System.Diagnostics namespace contains five groups of classes that can help an programmer to debug and trace .NET applications. This five groups of classes have following uses : debugging tracing using of Windows event log performance monitoring process controlling This article will review the Debugger and Debug classes contained by first group of System.Diagnostics namespace.

Tags:    

Code Snippets

The Visual Studio Code Snippets feature allows very simple, common, code blocks to be reused without requiring the same thing to be typed out repeatedly, or copied and hacked. The Code Snippets feature allows inserting code, wrapping existing code and replacement of key parts of the Snippet.

Tags:  

XST from Server-Side Code Generated to jQuery

This article was written to emphasize some of advantages and disadvantages of  using  jQuery. What is jQuery? jQuery is a small JavaScript library that includes support for manipulating the DOM, supports AJAX and it provides some basic graphical effects. The functionality can be enhanced with plugins. Compared with other toolkits,  jQuery aims to change the [...]

Tags:   

Maintenance of a demo web application for test purposes

Often it is useful to showcase a web application to potential customers allowing them to live test the application features. For this you need to publish and maintain a demo version with some relevant base data. A service application, triggered to run at a given time, basicly will clean the database by restoring it from [...]

Tags: