Friday, 3 December 2010

How to fix the failure in creation of the virtual directory (localhost) in Visual Studio

If you have already set up a site for your project in IIS but getting an error like this when trying to open the solution in Visual Studio:

The local IIS URL http://localhost/ specified for Web project has not been configured. In order to open this project the virtual directory needs to be configured. Would you like to create the virtual directory now?"

and then when you clicked yes, getting the following error:

Creation of the virtual directory http://localhost/ failed with the error: The URL 'http://localhost/' is already mapped to a different folder location.

All you need to do is to right click on the project file(with .csproj extension) and open the file in a text editor and update the http://localhost/ to your mapping.

Check the following link for more info:

Saturday, 27 November 2010

Spanish learning

I've recently started learning Spanish as my third language.
I've registered for lunchtime Spanish class in Bishopsgate Institute.

I'm also listening to Coffee break Spanish pod cast which I found it really useful.

I love learning Spanish it's getting one of my favourite hobbies since 2 month ago! or "Me gusta aprender espaƱol"

Saturday, 16 January 2010

Usefull CSS and JScript links

I was looking for some handy books to understand CSS and JavaScript better from a back end developer point of view. I found very good resources suggested by my experienced interface developer co-workers.

For JavaScript, the following are recommended

JavaScript: The Good Parts:

JavaScript: The Definitive Guide:

JavaScript Pro Design Patterns (in particular, has a great chapter on scope):

OO JavaScript:

Also, Doug Crockford’s YUI Theater videos are very useful indeed (and come packed with Crockford attitude).

(The JavaScript Programming Language Parts 1-4, Advanced JavaScript Parts 1-3, An Inconvenient API Parts 1-3)

Complete, amazingly well kept site on all variances between browsers + lots on all main ID issues:

And if you want a proper, technical reference on how closure is used in JavaScript:

CSS-wise, the definitive guide is good for the technical side of how CSS works:, but the reality of how to use it is better described by sites built around IE hacks:

And how to process png24s:

Note that all the above should now be looked at with performance in mind these days. Check YUI’s work:

And the Steve Souder book: