Microsoft.NET

Share

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.

Continue Reading  

Share

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

Continue Reading  

Share

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.

Continue Reading  

Share

TransactionScope for SQL commands not working as expected? This article describes shortly how to use TransactionScope and also one of the most easy-to-make errors. 

Continue Reading  

Share

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.”

Continue Reading  

Share

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

Continue Reading  

Share

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. 

Continue Reading  

Share

Recently we had to integrate one of our .NET applications with an Axis Web Service using basic authentication over an https connection.

Continue Reading  

Share

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.

Continue Reading  

Share

Did you ever write some code, compile & run your solution and then, when debugging, found a minor error (like an sql string syntax error) that messed up your code’s execution? Well, stopping the debugger, correcting the error, recompiling & running is the way to go, right? Wrong! Visual Studio has two tricks up it’s […]

Continue Reading  

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close