Archive for January, 2007

Saturday, November 29, 2008 10:16

Validating properties in a PropertyGrid control

The easiest way to validate a certain property is using the PropertyValueChanged event.The code bellow shows how to limit the valid range of Age property to be 1-150

using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
[...]

Saturday, November 29, 2008 10:16

Interesting blog posts

Jon Galloway – Google Personalized Homepage (IG) – Read a post inline
David Hayden – Validation Application Block Presentation and New Features – Enterprise Library 3.0
ScottGu’s Blog – ASP.NET AJAX 1.0 Released
Dmitryr’s blog – Finding out the current trust level in ASP.NET
Michael’s Blog – Transforms, Opacity Masks and Animation to Create an Animated Reflection in WPF/E
 
Technorati [...]

Saturday, November 29, 2008 10:16

The second CTP of Enterprise Library 3.0 is now available to download

Tom Hollander has posted that the second CTP of Enterprise Library 3.0 is now available to download on CodePlex community site.
New In This Release

Validation Application Block

Near-complete validator library
Configuration tool support
ASP.NET integration
Winforms integration
Quickstarts and preliminary documentation

Data Access Application Block

TransactionScope enlistment

Logging Application Block

Rolling Flat File Trace Listener
WCF integration

Application Block [...]

Saturday, November 29, 2008 10:16

Sorting System.Collections.Generic.List<T>

This post shows the sorting technique using anonymous delegate that can be implemented in any custom type generic list based on the selected property.For sorting any custom type the class must implement the System.IComparable interface. Now let me assume you have a Person class and if you want to sort the list of person objects [...]

Saturday, November 29, 2008 10:16

Object Relational Mapping and persistence framework for .NET 2.0

DataBlock is a Object Relational Mapping and persistence framework for .NET 2.0.When working with DataBlock your job should be to create business object that handle the specific business issues instead of writing SQL, juggling with ADO.NET objects or making sure that a specific piece of code is running in a transaction.
DataBlock comes with DataBlock Modeler, [...]

Saturday, November 29, 2008 10:16

How the design time infrastructure works

If you are not familiar with the DataSourceControls and if you don’t know how the design time infrastructure works, take a look to the following articles:

Data Source Controls – Under the hood (1/4)
Data Source Controls – Under the hood (2/4)
Data Source Controls – Under the hood (3/4)
Data Source Controls – Under the [...]