Author Archives: Web Development

About Web Development

Imran Abdul Ghani is working as Software Developer(Senior) with extensive knowledge in Web development technologies especially C#, ASP.NET, MVC, WCF, Web API, ADO.NET Entity Framework, jQuery etc. He has several years of experience in designing/developing enterprise level applications. He is Microsoft Certified Solution Developer for .NET (MCSD.NET) since 2005. You can reach his blogging at,, and

Model Validation in ASP.NET Web API

In my previous articles, I discussed about MVC (Model-View-Controller) architecture as well as its implementation in details. I am expecting that the reader of this article already understand about the role of Model in an ASP.NET MVC application. Model in MVC is basically a representation of our data structure. So, here in this article, we… Read More »

HttpHandlers and HttpModules in ASP.NET

In order to understand the concept of HttpHandlers and HttpModules in ASP.NET, we must need to understand first, how our web server and ASP.NET collectively reacts when a user requests for a particular resource? Our web server i.e. IIS does the following: It looks for the extension of the requested resource file e.g. (.aspx, .ascx… Read More »

Exception Handling in ASP.NET Web API – Part 2

In order to return HTTP Response with a specific error status code, normally HttpResponseException type is used. In part-1 of this ASP.NET Web API Tutorial, we checked a specific condition and return error status code accordingly. What exactly we did? We checked if student object returned from a data source is null, then throw HttpResponseException with HTTP… Read More »

Solution to browser back button click event handling

In Javascript, onbeforeunload event is fired when the page is about to unload and there can be multiple reasons for this unload. For instance, back or forward or refresh button is clicked or a link on the page is clicked etc. Normally, onbeforeunload event is used in order to handle browser back button functionality as… Read More »

Attaching the script debugger to process ‘iexplorer.exe’ failed

During web application development, sometimes we face strange issues. Applications or code snippets starts behaving abnormally. Same happen to me after installing Internet Explorer 10 on my machine with Windows 7. “Attaching the script debugger to process ‘[4343] iexplorer.exe’ on machine ‘machine01’ failed. A debugger is already attached” My development machine has Visual Studio 2010… Read More »

Could not load type ‘System.Web.UI.ScriptReferenceBase’ from assembly

While deploying my application on a production server, I was facing the following issue:Exception: System.TypeLoadException Message: Could not load type ‘System.Web.UI.ScriptReferenceBase’ from assembly  ‘System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Stack Trace:    at AjaxControlToolkit.ToolkitScriptManager.OnResolveScriptReference (ScriptReferenceEventArgs e) By looking into above details, it clearly shows that there is some problem in loading AjaxControlToolkit assembly.I did some online search… Read More »

What’s new in jQuery 2.0?

jQuery library has simplified and strengthen web development experience. jQuery lastest version 2.0 doesn’t have a lot of new features but instead jQuery team has provided a number of previous version fixes.