Programming

At $20/month Windows Azure host my website with 99.97% uptime

Couple of years ago a reliable and decent performing Windows hosting was not affordable to many enthusiastic developers who want to try a startup idea or build a hobby site. I tried to start an ASP.NET website few years ago to provide services like – Mobile Tracing, Vehicle Tracing. But due to high cost of …

At $20/month Windows Azure host my website with 99.97% uptime Read More »

Google Currency Convertor JSON API

There are many live currency conversion services available on the web and the popular one’s among them are – Google, Yahoo, MSN & XE. Among all these four Google is the developer’s darling and it provides a simple JSON API that can be integrated in your applications.  http://www.google.com/ig/calculator?hl=en&q=1USD=?INR Using the API is very simple and …

Google Currency Convertor JSON API Read More »

Team Foundation Server– Debug symbols(pdb files) generated in Release build? Fix it.

Yesterday I setup TFS for my .NET playground website to implement continuous integration and deployments. After a successful build I noticed that debug symbols(pdb files) were generated even though TFS is configured to build in Release mode.  After a bit of analysis its turned out to be the behavior of TFS to generate debug symbols …

Team Foundation Server– Debug symbols(pdb files) generated in Release build? Fix it. Read More »

List of ORM libraries available for .NET and the best one

An Object Relation Mapping(ORM) library helps developers to create data access applications by programming against a conceptual model instead of programming against a relational database model.  ORMs bring lot of advantages and few of the prominent ones are -  RDBMS independent data access layer development, rapid application development, huge reduction in code, auto generation of …

List of ORM libraries available for .NET and the best one Read More »

How to display Facebook fan page Like count in WordPress blog

If you want to display your blog’s Facebook fan page like count as text, simply add the following code in your theme files <?php $data = json_decode(file_get_contents(“https://graph.facebook.com/techdreams”)); echo $data->likes; ?> Don’t forget to replace techdreams with name or id of your Facebook fan page.

Ajax:Change browser url and page content without refreshing the page [Facebook style]

Have you noticed the way how Facebook changes URLs in address bar without reloading the entire page? To check it, go to your Facebook wall and click on any photograph shown in the stream, the photo is displayed as a popup with AJAX techniques on the same page but the URL in address bar changes. …

Ajax:Change browser url and page content without refreshing the page [Facebook style] Read More »

How To Resolve: Could not load file or assembly ‘xxxx’ or one of its dependencies. An attempt was made to load a program with an incorrect format. [Programming]

While enhancing one of Windows Azure web application today, I was struck with the following error that occurs only Windows Azure environment Could not load file or assembly ‘xxxx’ or one of its dependencies. An attempt was made to load a program with an incorrect format. When the web application is tested on local development …

How To Resolve: Could not load file or assembly ‘xxxx’ or one of its dependencies. An attempt was made to load a program with an incorrect format. [Programming] Read More »

How To Launch Visual Studio Always In Administrator Mode

For developing Windows Azure applications using Visual Studio 2010 you should launch Visual Studio 2010 with administrative privileges.  Otherwise you will be greeted with following error message when you try run an Azure application The Windows Azure compute emulator must be run elevated. Please restart Visual Studio in elevated administrator mode in order to run …

How To Launch Visual Studio Always In Administrator Mode Read More »

What Is The Difference Between DateTime and DateTime2? Which One To Choose?

SQL Server 2008 introduced several new data types and DateTime2 is one among them. In the earlier versions of SQL Server developers had only one data type option to save date & time values in database – DateTime. Now with the introduction of DateTime2, developer are given two options and this post explains what is …

What Is The Difference Between DateTime and DateTime2? Which One To Choose? Read More »