Code Samples

 

Technology

 Provider Based Services
 The sample code from the Provider Based Services article. A Visual Studio 2005 solution is available in either CSharp or Visual Basic. The source code demonstrates how to use the provider model to decouple a client application from the business logic and data services implemented in satellite class library assemblies.
 download details...
 
 Using The Recycle Bin From CSharp
 The sample source code from the Using The Recycle Bin From CSharp article. A Visual Studio 2005 project is available that includes the CsFileSystem class which you can use, without restriction, in your own personal or commercial projects. The CsFileSystem class provides a managed solution to performing file system folder and file copy, delete and move operations with full progress reporting and system Recycle Bin support.
 download details...
 
 Sorting .Net Collections
 The sample source code from the Sorting .Net Collections article. Two Visual Studio 2005 projects are available, choose to download either the CSharp or the Visual Basic project. The source code includes the IdentityCollection class which is a custom collection class that demonstrates binary search and sorting functions for searching and sorting a collection on any of the properties of its contained business objects.
 download details...
 
 DataSource and BindingList
 The sample source code from the DataSource and BindingList article. Two Visual Studio 2005 projects are available, choose to download either the CSharp or the Visual Basic project. The source code includes the ServiceDataSource and ServiceBindingList classes that can be data bound to user interface components or controls.
 download details...
 
 Windows Forms Threading
 The sample source code from the Windows Forms Threading article. Two Visual Studio 2005 projects are available, choose to download either the CSharp or the Visual Basic project. The source code includes the AsyncComponent class, a component base class with built in support for asynchronous methods.
 download details...
 
 User Application Settings
 The application settings provider source code from the User Application Settings article. Two Visual Studio 2005 projects are available, choose to download either the CSharp or the Visual Basic project. The source code includes the UserAppSettingsProvider class which is a fully functional application settings provider that supports the encryption of user application settings.
 download details...