IndianGeek

Perspectives on Computer Science and Software Engineering

IndianGeek RSS Feed
 

Archive for .Net

Windows Azure Distilled - A Programmer’s view

The launch of Windows Azure has coincided with the launch of the entire cloud computing initiative from Microsoft which makes a lot of business sense but it also makes it hard to differntiate the individual parts of the initiative, here’s my understanding so far.

Windows Azure
This is the base platform that provides a generic cloud computing [...]

Using Windows Azure SDK with SQL Server 2005/2008

I downloaded the Windows Azure SDK today and was going through the quick starts from MSDNĀ , the quickstarts mention that you need SQL Server Express 2005/2008 to run the samples, but I only had SQL Server 2008 developer edition installed. I decided to give it a try anyways and immediately hit a snag when trying [...]

A case study in micro-optimization

Last week I saw a wrap up from cedric’s coding challenge on his blog, the problem looked simple enough, “write a counter function that counts from 1 to max but only returns numbers whose digits don’t repeat”.
My first stab at it consisted of a brute force solution of looking at every natural number up to [...]

Make sure you know what you’re fixing

I’ve been working on this bug for the past one week, basically a call to the GDI+ APIs MeasureString and DrawString was failing with a very useful exception “A generic GDI+ error has occured” , my initial hypotehesis was that the problem was coming because of the length of the string that we were [...]

Dynamic web service proxies need to be loaded from disk

In our application we generate web service proxies at runtime itself using something similar to this. Initially we were generating the assembly in memory by using ICodeCompiler interface and setting CompilerParameters.GenerateInMemory to true. This works fine but throws an exception when you try to invoke a web service, the message of the exception goes something [...]

NDepend 2.0 released

Patrick has released version 2.0 of his absolutely cool code analyzer NDepend .The VisualNDepend tool is looking slick and Code Query Lanaguage looks damn interesting. Also be sure to take a look at the metrics that are generated by NDepend, very nice.
Also while you’re at the site be sure to check out his excellent and [...]

Back from the dead

After a long gap (almost a year) I’ve managed to bring my site back up. The DB crashed on my ISP’s machine and I lost quite a lot of data, after one more similar situation I never got around to getting the site up. I finally bit the bullet and managed to get the site [...]