Posts Tagged C#

C# simple MD5 encryption

This article show you an easy way about how to create MD5 encryption in C#.

Spring.Net simple IoC example

Here is another IoC example using Spring.Net similar to the Movie Finder example taken from Martin Fowler’s article.
This example return a list of all employees that match the specified department and demonstrates how the Spring.Net IoC container can be used to supply an appropriate

IEmployeeService implementation to an arbitrary EmployeeService instance.

Create new console application project called EmployeeFinder, and add the following references to use in this example.

Spring.Net

Spring.Net is an application framework that provides comprehensive infrastructural support for developing enterprise .Net application (taken from Spring.Net documentation). Spring.Net is based from Java version of Spring framework that widely known as very useful application framework to develop an enterprise application using Java.
Spring.Net contain a lot of feature and organized into modules shown bellow.

Spring.Core module [...]

Create custom country ComboBox control

From the previous post I have describe how to get the country list from the system registry. Now I want to show You how to create a custom country ComboBox control in visual studio .NET.
first, lets create a new project, name it whatever You want. then add a user control class by right clicking on [...]