Archive for the C# Category

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

Validation form integration - Validation block tutorial 4/4

And now this is the last part of the tutorial. In this section I would like to show you how to put your Validation code into the windows form application. When you finish to combine your validation code and your windows form, the windows form will perform automatic validation when user type on your input [...]

Write the validation block - Validation block tutorial 3/4

Here i show you another example to use the validation application block
I’ll explain a little bit detail bellow the example