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

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
Use $broadcast(), $emit() and $on() in AngularJS
AngularJS applications may need to communicate across the controllers. Such a communication might be needed to send notifications or to pass data between the controllers. Although there can be different approaches to achieve this goal, one that is readily available is the event system of $scope and $rootScope. Both of these objects - $scope and $rootScope - support three methods namely $broadcast(), $emit() and $on() that facilitate event driven publisher-subscriber model for sending notifications and passing data between the controllers. In this article I will discuss how to raise events using $broadcast() and $emit() and then how to handle those events using $on().
Posted On : 18 May 2015
Use ASP.NET MVC Controller as API
A few months ago I wrote an article titled ASP.NET MVC Controller Vs. Web API - 5 Things You Should Know, wherein I discussed the main differences between an ASP.NET MVC controller and Web API. Some readers asked how exactly one can use an MVC controller as an API. So, in this article I am going to discuss the same with an example.
Posted On : 06 May 2015
jQuery and AngularJS course in June-July 2015
Modern web applications use JavaScript extensively in one form or the other. jQuery is a popular JavaScript library that makes tasks such as event handling, DOM manipulation, animations and Ajax a breeze. No wonder even ASP.NET MVC uses this popular library. AngularJS is gaining popularity in web development world when it comes to building SPA kind of applications. I will be conducting a weekend course in jQuery, TypeScript and AngularJS in the month of June-July 2015. You may read more details about this course here.
Posted On : 04 May 2015
Prepare Yourself for ASP.NET 5 - Part 5 (Framework Versions)
Today when you decide to develop a web application you don't need to make any decision about the underlying .NET framework. This is because there is just one .NET framework available today. Going forward, you need to give some thought about the kind of .NET framework you wish to target. Two flavors of .NET framework will be available - Full and Core. For the sake of this article, I am going to call the former as .NET Full and the later as .NET Core.
Posted On : 27 Apr 2015
Prepare Yourself for ASP.NET 5 - Part 4 (Application Startup)
In an ASP.NET when the web server (IIS) starts your application, it invokes Global.asax and code from event handlers such as Application_Start. So, things that you wish to configure when an application starts go inside Global.asax. In ASP.NET 5 the application start-up happens in a different way. This article familiarizes you with the new start-up style.
Posted On : 13 Apr 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