Problem loading ASP.Net project after installing VS 2010 SP1

Sometimes developer faces this problem on loading existing web projects that were hosted on local IIS server and using the same port number that has been used by the IIS Express for particular websites. IIS Express installed by default when you apply the SP1 for Visual Studio 2010. In my case, I installed VS 2010 [...]


Implementing Repository Pattern with Entity Framework – Code First Model Approach

When working with Entity Framework - Code First model approach, developer creates POCO entities for Database tables. The benefit of using Code First model is to have POCO entity for each table that can be used as either WCF Data Contracts or you can apply your own custom attributes to handle Security, Logging, etc. and [...]

Logging Messages from Windows Service to Windows Form using WCF Duplex Messaging

As you all know windows services run in background and user can start or configure them through Services panel in Windows Operating System. In order to do the logging to check what the service is doing you can log messages in database, message queues, event logs etc. But in order to send back and forth [...]

Debugging javascript from Visual Studio

Open the Tools > Internet Options and click on Advanced tab. Uncheck "Disable script debugging" in the settings list. Now for any function where you want to debug just specify debugger; like this. Example $(document).ready(function () { debugger;      alert("hello world!"); } That's all! Now just run the application in debug mode from visual studio [...]