ASP.NET MVC, jQuery, AngularJS and HTML5 Courses in Thane
Learn ASP.NET MVC, jQuery, AngularJS and HTML5! Intensive courses for professional developers. Small batches, real world examples, convenient weekend timings. Conducted by Bipin Joshi in Thane. Registration open. Upgrade your web development skills now! Click here to know more.

Latest Articles

Overloading Controller Actions in ASP.NET MVC
Method overloading is very common technique used in C# code. Although it works great for normal C# classes, the same can't be said about ASP.NET MVC controller classes. Unlike an ordinary C# class, a controller is dealing with HTTP protocol. And HTTP doesn't understand overloading as C# does. So, in case you wish to use method overloading in a controller you need to consider the ways as discussed in the remainder of this article.
Posted On : 05 Oct 2015
Select, Zip and Download Files Programmatically in ASP.NET MVC
You might have already seen websites that display a list of files to the end user. The user can then select one or more files from the list and request a zipped bundle of those files as a single download. In this article you will learn how to do just that. You will use classes from System.IO.Compression namespace to zip the files programmatically.
Posted On : 21 Sep 2015
Four Ways of Handling Multiple Submit Buttons in ASP.NET MVC
In web forms handling multiple submit buttons on a form is quite straightforward because all you need to do is write the Click event handler of the respective buttons. However, in ASP.NET MVC you need to rely on the plain HTML and / or JavaScript to deal with the situation. To that end this article illustrates four ways of handling multiple submit buttons.
Posted On : 07 Sep 2015
Call Controller Actions using HttpClient
The HttpClient component is typically used to call a Web API. The overall design of HttpClient component is geared towards REST services. However, you can also use the HttpClient to call MVC actions. Of course, the actions to be called must follow the pattern as expected by the HttpClient.
Posted On : 24 Aug 2015
Six New Features of C# 6 You Should Know
As you are probably aware C# 6 is now available and there are some nice new additions to the language. Here is a quick overview of six new features of C# that are worth noting.
Posted On : 10 Aug 2015
Infinite scrolling using jQuery Ajax and ASP.NET MVC
Web applications such as Facebook and Twitter use a technique known as infinite scrolling or endless scrolling wherein data is loaded on the fly when a user scrolls to the bottom of a web page. There are many jQuery plugins that help you enable such a feature in your web application. However, if you wish to avoid any third-party dependency or have some specific needs, you can add your own infinite scrolling with a few lines of jQuery code and ASP.NET MVC. This article tells you how that can be accomplished.
Posted On : 27 Jul 2015
Compress the Response Content in ASP.NET MVC
Developers often minify JavaScript and CSS files in an attempt to improve the performance of their ASP.NET MVC application. In addition to minifying JavaScript and CSS files you can also pay attention to reducing the size of the HTML response. You may minify the HTML output from a view or you may compress the output (you can also use both together). To that end this article shows how to compress HTML response by writing a custom action filter.
Posted On : 13 Jul 2015
Modify Response Content in ASP.NET MVC using a Custom Action Filter
Recently I came across a requirement wherein I wanted to modify the response content from an ASP.NET MVC view. What I wanted to accomplish was this - read the HTML content that is being sent to the browser and highlight certain words from the content. This article explains how this can be accomplished.
Posted On : 30 Jun 2015
Two Ways of Handling Concurrency Violations in Entity Framework Code First
When you update an entity and call SaveChanges() to save the values back in the database, the existing values for that record are overwritten by the new entity values. This is the default behavior in entity framework code first. In a real world situation it is quite possible that database values might have got changed after you select them for modification. In such cases, your update operation might be overwriting changes made by someone else. This is concurrency violation. And it is important to detect if concurrency violation has occurred. You can then take some corrective action or at least inform the user about such a violation.
Posted On : 15 Jun 2015
Create Strongly Typed Custom HTML Helper for Picking Dates
Recently some beginner asked me as to how a strongly typed HTML helper can be created. Although the process is relatively simple you need to keep in mind a certain steps. In this short article I will explain how a custom HTML helper can be created to render an HTML5 date picker input field. I will explain unbound as well as model bound versions for better clarity.
Posted On : 01 Jun 2015

Tag Cloud

.NET Framework Administration ADO.NET AJAX Architecture ASP.NET C# Components Configuration Custom Controls Data Access Data Controls Deployment HTML5 JavaScript jQuery LINQ Multithreading MVC Performance Programming Languages Projects Reviews Sample Applications Security Server Controls SQL Server User Controls Utilities VB.NET Visual Studio WCF Web Forms Web Services Windows Windows Forms XML