Archive for the ‘.NET Framework’ Category

Due to the latest paradigm shift in web development, more and more websites are loading and displaying all types of dynamic contents on the web pages. Web 2.0 based websites such as Gmail. Facebook and Twitter have not only changed the user’s expectations but also forced developers to learn more dynamic and exciting ways to build web applications. Client side web technologies like AJAX, XHTML, DOM, JavaScript and JQuery are now mandatory ingredients of every web developer resume. In my previous tutorial, I have shown you how you can call ASP.NET web services using JQuery AJAX capabilities. In this tutorial, I will show you how you can pass parameters to web services and how you can use JSON data returned from web services to display dynamic contents on web page.

Click hereto read full post.


Read Full Post »

CodeRush Xpress is a powerful developer productivity tool from DevExpress. Microsoft has made arrangements with Developer Express to make its CodeRush Xpress product available as a free download to Visual Studio customers. Note however that CodeRush Xpress will not load in the Express Editions of Visual Studio.

Download CodeRush Xpress

CodeRush Xpress includes features that support common developer tasks in the following areas: Navigate, Declare, Select, and Refactor.

CodeRush Xpress fully supports all language features of Visual Basic and C# in Visual Studio 2010. If a specific feature applies to only one of these two languages, it will be noted with either a “VB” or “C#” icon.

For a complete introduction to CodeRush Xpress, take a look at this blog entry from Developer Express.

And watch these two videos:

Introducing CodeRush Xpress 9.1 – Features for C# Developers

Introducing CodeRush Xpress 9.1 – Features for VB Developers

Read Full Post »

Server Error in ‘/’ Application.

Cannot open database “<Database Name>” requested by the login. The login failed.

Login failed for user ‘IIS APPPOOL\DefaultAppPool’.

Hi everyone I hope you are doing fine and as you can see I am in good mood too. Staring off the day with some cool greetings from IIS. The other I a discovered Microsoft SEO Toolkit and analyzed my client’s website at www.SquareCircuit.com. The results were really helpful and I started fixing them one by one and decided that I will execute it locally for instant results when I got yellow carpet reception by IIS 7 via IE 8.

However the fix proved to be an easy one (I glad to say that as they usually eat up one half or more). The new IIS uses the ‘Application Pool Identity’ as shown below:

IIS Application Pools

IIS Application Pools

Before discussing the solution I would like to explain the why part. IIS 7 uses a default account in this ‘IIS_APPPOOL\DefaultAppPool’ and this account is not added to SQL Server. This can be verified using SQL Server Management Studio in the Secutiry > Logins.

Now the solution is pretty obvious
a) You enter the IIS Default Pool account in the SQL Server Logins.
b) Change the identity of the default application pool (recommended).

Changing Application Pools Identity

Changing Application Pools Identity

Hope this helps.

Read Full Post »

I found these helpful posts on the subject.

Using ASP.Net with Facebook’s Graph API and OAuth 2.0 Authentication

New Facebook Connect in C#

Read Full Post »

nopCommerce is the best open source eCommerce and shopping cart solution out there. There are some other popular choices but I have found this to be a very neatly managed offering. Recently the nopCommerce team have released v1.5 which contains a very cool set of features.    

If you choose to go for nopCommerce please make sure that you have enough room available in your database. I faced a terrible situation during the times when one of my clients had their site hosted on GoDaddy and one day they complained that they cannot add images anymore. The reason I found out that since nopCommerce (I was working with v1.3) was storing all the images in the database as ‘Binary’ and GoDaddy only allows database a maximum size of 200 MB (what a joke!). That was the time when I started looking for a new hosting as well how fix this issue. Luckily I got both. My client got rid of GoDaddy and switched to ThePlanet and I rewrote the PictureManager.    

In general I am happy with this product but there certain things I don’t admire:    

1. Images are stored in file system as well as the database which makes it unfeasible for small projects. I would suggest that they include a feature ‘Hosted Images’ so that the owner can choose between self or third-party hosting. 2. The product is tied to Microsoft SQL Server again minus point for small setup. You can find countless request on the internet and their forums requesting for a MySQL version but there is no official support. In my estimation this could be a single exploding feature for the ASP.NET community if they had supported multiple databases or the leading databases such as MySQL, SqlLite, Oracle etc. My suggestion to the team is to go for a ORM like Hibernate, Entity Framework, TopLink etc which will release the pressure of maintaining multiple layers of Data Access code.   

You can try out the latest version in their demo store here:    

Demo Store Front

Demo Store Administration

Demo Store Administration


While these were the unlikes the ones I admire are just too many. I highly the quality of code which is highly modularized and layered.   

 I have a thorough working of nopCommerce on multiple versions. Following are my contributions:   

  • Integration with eBay implementing two way inventory synchcronization.
  • PayPal Standard customer address issue.
  • Anonymus user automatic registration when doing transactions with PayPal.
  • Implemented a new version of PictureManager which does not store images inside the database.
  • Added professional looking Invoice for single and multiple orders.


I would ge glad to help anyone working on this great product. 

Read Full Post »