Building Single Page Application – Bundling

30 באוגוסט 2013

Single page application consists of many JavaScript files. Traditionally, when adding JS file we need to add a reference into the the HTML file too. Moreover, the newly added reference need to be inserted at the right location according to the logical dependencies between this file and other files. ASP.NET MVC 4 supports the concept of bundling and minification. We can use the bundling feature to ease the maintenance of newly JavaScript files. A new MVC 4 project reveals the following bundling configuration (CSS bundling code and comments were removed) under file named ~/App_Start/BundleConfig.cs public class BundleConfig{   ...
no comments

Using jQuery Grid with ASP.NET MVC – Part 2

20 באוגוסט 2013

I just realized that my most popular post is about using jqGrid with ASP.NET MVC I wrote this post quite a time ago when I just started to use ASP.NET MVC and was surprised to find that ASP.NET MVC does not come with its own Grid helper. The funny thing is that MVC still does not support one. It has WebGrid helper from ASP.NET Web Helpers package but it is quite limited and does not feet into modern application where massive client side programming is needed. This helper is mainly being used by WebMatrix users. ...
no comments

Building Single Page Applications – Preface

At last !!! For the last few months I’ve been thinking about sharing my knowledge on this topic but failed to find the time to do so. Hopefully, this is the first of several posts about building single page applications Working with different customers it seems that every one wants to build Single Page Application. With the help of modern libraries/frameworks like Angular and Q life is easier. However, there are still several aspects of SPA (Single Page Application) that need to be taken care by the developer itself. Most of them relates to the “dead”...
no comments