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:
http://www.neilpullinger.co.uk/2008/07/creation-of-virtual-directory.html

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: http://oreilly.com/catalog/9780596517748

JavaScript: The Definitive Guide: http://oreilly.com/catalog/9780596101992

JavaScript Pro Design Patterns (in particular, has a great chapter on scope): http://www.apress.com/book/view/159059908x

OO JavaScript: http://www.packtpub.com/object-oriented-javascript-applications-libraries/book

Also, Doug Crockford’s YUI Theater videos are very useful indeed (and come packed with Crockford attitude).
http://developer.yahoo.com/yui/theater/

(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:
http://www.quirksmode.org/

And if you want a proper, technical reference on how closure is used in JavaScript:
http://www.jibbering.com/faq/faq_notes/closures.html

CSS-wise, the definitive guide is good for the technical side of how CSS works:

http://oreilly.com/catalog/9781565926226, but the reality of how to use it is better described by sites built around IE hacks:

http://www.positioniseverything.net/
http://www.satzansatz.de/cssd/onhavinglayout.html

And how to process png24s:

http://msdn.microsoft.com/en-us/library/ms532969%28VS.85%29.aspx
http://www.satzansatz.de/cssd/tmp/alphatransparency.html

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

http://developer.yahoo.com/performance/

And the Steve Souder book:

http://search.oreilly.com/?q=even+faster+web+sites