Archive for July 2005

 
 

DotNetOpenMail

DotNetOpenMail is an open-source library written in C# for sending HTML and plain-text email with attachments using Microsoft’s .Net platform.

How to catch Exception in Background Worker

Juval Lowy provides the BackgroundWorker component to facilitate easy asynchronous invocation with Windows Forms in Net 1.1, but when an exception occurs in BackgroundWorker(DoWork event) - it behaves as though happened nothing.It is possible to understand what happened just by analyzing Error
argument as shown below:

private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
 throw new ApplicationException("exception");
}
private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
 string message = string.Empty;
 if( e.Cancelled )
 {
   message = "Cancelled";
 }
 else
 {
  if(e.Error !=null)
  { // analyze error here
    message = "Error";
  }
  else
  {
    message = "Stoped";
  }
 }
 
 MessageBox.Show(message);
}

DataSet Links

Interesting information about DataSet

DataSet FAQ - By ObjectSharp

Nix the DataSet?????? - Andrew Conrad

DataSets Are Not Evil - Jelle Druyts

Returning DataSets from WebServices is the Spawn of Satan and Represents All That Is Truly Evil in the World - Scott Hanselman

DataSets vs. Collections - Dino Esposito

GRID computing using .NET

GRID computing, in the sense of distributed computing with a focus on large-scale resource sharing and high performance computing Below are links to several  projects that lets you create Grids using the .NET platform:

MS.NETGrid - An open source .NET implementation of  Open Grid Services Architecture and Infrastructure
OGSI.NET - Another open source implementation of the same standard
Alchemi.NET - Yet another open-source project - this time a part of the GridBus project

[Via Cirrus Minor blog]

Enterprise Library June 2005 now available!

The June 2005 release of Enterprise Library is a minor update of the original January 2005 release. This release contains the same seven Microsoft patterns
& practices application blocks, and it incorporates the patches and extensions previously released to the Enterprise Library Community site. In addition, it includes several minor fixes and improvements.

Download it from here

[Via Tom Hollander's blog]