Thursday, August 04, 2005

August .NET User group meeting

We had the August .NET User group meeting yesterday. The audience was relatively small compared to the other days. I did a session on “The art of refactoring” and here are a few resources on refactoring:
http://www.refactoring.com/
Refactoring:Improving the design of existing code (Book)
http://www.jetbrains.com/resharper/download/
http://msdn.microsoft.com/vbasic/downloads/2005/tools/refactor/
And on a related note here are some tools to do unit testing:
http://www.nunit.org/
http://nunitasp.sourceforge.net/
http://nunitforms.sourceforge.net/

Tuesday, August 02, 2005

Article on getting schema information using ADO.NET 2.0

My article on getting schema and metadata using ADO.NET is published in the simple-talk journal at the following URL
http://www.simple-talk.com/2005/08/02/using-adonet/ 
This article looks into getting schema and metadata information using ADO.NET 2.0 with examples using SQL Server 2000 and Microsoft Excel. Let me know if you have any comments or suggestions.

Thursday, July 28, 2005

Windows genuine advantage: A must not beta

Just noticed something when i tried to download the WinFx sdk from the Microsoft web site. I was required to validate my windows installation prior to the download. Usually this process is optional but today it was mandatory. After doing some search found out the validation process was made mandatory along with the launch of Windows genuine advantage 1.0
You need to do this process only once and after the first time a key will be stored in your  machine for subsequent downloads.
You can also find a FAQ on Windows genuine advantage at http://www.microsoft.com/genuine/downloads/FAQ.aspx?displaylang=en

Are you a Windows Vista developer?

Starting or thinking about starting development on Windows Vista? Check out http://msdn.microsoft.com/windowsvista/

Let the Beta begin...Woohoo

A handful of beta products are out from Microsoft and I am waiting to get my hands on them as soon as possible.
Windows Vista Beta 1
Internet Explorer 7 Beta 1
WinFX Beta 1(WPF,WCF)

Indigo and Avalon name changes

The beta 1 of Avalon and Indigo are released. Avalon has been named as Windows Presentation Foundation(WPF) and Indigo as Windows Communication Foundation(WCF). You can download the latest bits at the download URL

Wednesday, July 27, 2005

Escape from Yesterworld

Kinda silly humour but nevertheless interesting.
http://www.escapeyesterworld.com/
This is part of the marketing campaign for VS.NET 2005 and SQL Server 2005…

Ever wondered how a software bug feels and thinks

Give a little life to the software bugs you encounter and make it talk and think and have discussions with other bugs. Thats exactly what happens in the blog by Kazem Ardekanian. The cartoons are real fun and interesting. Do go and check his blog to find more like the one below:
First Bug

Migrating web applications to ASP.NET 2.0

If you are migrating your web applications to ASP.NET 2.0 be sure to check out the following MSDN article:
ASP.NET conversion issues and solutions
Also check the upgrade centre at MSDN http://msdn.microsoft.com/asp.net/migration/upgrade/default.aspx

Monday, July 25, 2005

Need more java: Call to Sun bloggers

I am  subscribed to the sun blogs from Sun Microsystems as well as MSDN blogs from Microsoft. The MSDN blogs always have good content each and everyday on the new technologies and good useful information and code snippets on the development on the Microsoft.NET platform. But i rarely see any good content on Java in the Sun blogs. I really don't understand why the blogosphere is not used by Sun compared to how much Microsoft is using it in the MSDN blogs.
I know there are good communities providing lot of info on development on Java but i do feel more blogging on Java by the people implementing new features and version will give it a big boost. Sun you need to take a note on this from Microsoft.

Windows Vista: The official name for Longhorn client

Microsoft has officially named the next generation windows operating system code named longhorn as Windows Vista. This applies only to the Longhorn client. Check out the following URL for more details:
http://www.microsoft.com/windowsvista/default.mspx
Well personally i still like Longhorn and it will take quite some time to get used to using Windows Vista instead of Longhorn

Monday, July 18, 2005

Changes to the MCP program

There are quite a few changes in the MCP program with more specialisation in various areas. You can read more about it at:
http://www.mcpmag.com/news/article.asp?EditorialsID=821
So the upgrade for me is to target the “Microsoft Certified Professional Developer – Enterprise Developer” from my current MCSD. So thats two Microsoft exams to be done end of this year.

Wednesday, July 13, 2005

Article on ADO.NET DataSets and Partial classes

My article titled “ADO.NET DataSets: Using partial classes to make intelligent datasets” is published on the simple-talk journal at the following URL
http://www.simple-talk.com/2005/07/13/adonet-data-sets/
This looks into one usage of partial classes to include business logic without getting in the way of the generated code of the typed dataset.

Tuesday, July 12, 2005

Naming changes for the Java editions

The names of the java editions have been changed to be more uniform. The “2” is dropped from the names J2SE, J2EE and J2ME. The standard, enterprise and mobile editions will be known as:
Java Standard Edition (JSE)
Java Enterprise Edition (JEE)
Java Micro Edition (JME)

Friday, July 08, 2005

Sage: A rss reader for Firefox

Check out Sage, a real cool rss reader that integrates into Firefox. After installing Sage you can add your feeds to the Sage Feeds menu under Firefox bookmarks. There is also a good wiki site on using Sage

Thursday, June 30, 2005

MS AntiSpyware and Unit testing

I was just trying out the unit testing feature in VS.NET 2005 but had a problem with MS Antispyware blocking the auto created batch file every time i run my tests. And when i get the prompt from MS Antispyware asking me whether to allow or block the script, by the time i click on allow the script the test already fails. Since the name of the auto created batch file is different every time there was no way to make MS Antispyware allow just that batch file. I guess the only thing to do for now is to disable MS Antispyware every time i run my unit tests...
And according to the post at MSDN forum this seems like the only solution for now

Sunday, June 26, 2005

SCJA Beta experience

I did the SCJA beta exam today. It was relatively easy but i still feel it’s quite different from SCJP. SCJP tests very deep in your core java skills. But SCJA tests the overall understanding on the entire java platform (standard, enterprise and mobile) as well as other related technologies often used along with java such as UML, XML and HTML. But the important factor is the exam doesn’t go very deep into these technologies and just tests your understanding of these technologies.
If you want to certify that you have a good understanding of the overall java platform and the kind of applications you can develop using various editions of java and you understand how other technologies such as XML and HTML etc works along with java and to show you can interpret basic UML diagrams the SCJA certification is ideal. But if you want to show your expertise on core java then go for SCJP.

Thursday, June 23, 2005

Global error handling for Windows applications in .NET

Just had a situation where there was a need for a global error handler method for windows applications in .NET. This handler should be invoked whenever there is an unhandled error raised in the windows application.
A way to do this is handling the ThreadException event of the Application object.

For example:
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
 Application.ThreadException+=new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
 Application.Run(new Form1());
}

private static void Application_ThreadException(object sender, ThreadExceptionEventArgs e)
{
 MessageBox.Show(e.Exception.ToString());
}

Maybe there are other methods of doing this as well. But for a single threaded application this seemed ok.

Wednesday, June 22, 2005

Article on NHibernate

My article titled “Data access using NHibernate - Solving the object relational mismatch” is published in the special supplement on Enterprise .NET-SDA-Asia magazine June/July issue. This article looks into using NHibernate the open source .NET ORM tool in creating database aware applications. The SDA-Asia magazine is a bi-monthly magazine for the IT community distributed in Asia.

Dilbert cartoons

How many of you are fond of dilbert cartoons? The crazy workplace humour is really one of my favourite cartoon strips. I got hold of the rss feed for the daily dilbert cartoon and subscribed to it and receive a strip each day. So for anyone fond of dilbert, subscribe to the following rss feed:
http://www.tapestrycomics.com/dilbert.xml