Power of the ASP.NET MVC + jquery

by Evgeny Petrov on June 1st, 2009 | Posted in Revium Sandbox | Comment on this entry

What a hectic couple of last months we have had with the SE New Products project team (Liani has blogged about this project earlier)! Quite a few work weekends and lots of things learned. That was our first serious test of new and becoming famous MS ASP.NET MVC framework.  It passed very well. In conjunction with the very extensive use of jquery and its various plug-ins it helped us to deliver a fast, crispy looking web site with some very intense business logic.

Particularly interesting from technical point of view were the following:

  • ASP.NET MVC + jquery may be considered a significant shift from classic ASP.NET development paradigm. It requires new skill and a fresh look at the way we develop .net based web sites.
  • By heavy use of jquery we achieved a substantial shift of business logic from server side to client side, from c# to jscript. It doesn’t look as an achievement at first sight, but in reality it is – client browser became “live” instead of being static as usually happens and this in our view dramatically improves the user experience.
  • We use a special technique to compress and gzip jscript files before delivering to the browser. According to our tests it gave size benefits up to 5 times and browser visually loads files faster. We have added a special flavour to this technique by dynamically changing urls to compressed files if there have been code changes made, thus ensuring that the only version of js browser can get is the latest.
  • jquery + ajax + json were used to deliver rich server side form validation rules to the client browser. For the user it seamlessly looks as a client validation, but in reality it’s not – the approach works very well in all cases we needed to use it in.
  • A custom RequireSSL action attribute has been developed to enforce SSL for certain pages according to the environment the web site is hosted on.
  • log4net logging framework has been used for logging instead of “MS Enterprise Libraries Logging” and we don’t regret it. We’ve had quite a few issues with Enterprise Libraries on previous projects and log4net didn’t let us down.

Take a look at the showcase web site at Simply Energy. I hope you’ll enjoy it.

Related posts:

  1. ASP.NET selectors in jquery
  2. jQuery image captions
  3. “Capitalise” jquery extension
  4. VMWare hard lessons
  5. Launch of the “WEB Determinations” project

Tags: jquery

« Linq to SQL select and update oddity

Asp.Net and Aweber »

Leave a Reply

Click here to cancel reply.

Recent Articles

  • Return of the daily sites
  • Collaborating with Government
  • Ya-bing-ooo!! Yahoo search is dead long live the Bing.
  • Social Media – Good For Some
  • 10 Tips for user acceptance testing of web applications
  • Popular Content Management Systems
  • ASP.NET MVC [HandleError] and logging
  • VMWare hard lessons

Twitter

  • Collaborating with Government: Revium is actively involved in the Federal Government’s R&D program for tax concess... http://bit.ly/9D7Vc6 1 week ago
  • 45 Free Applications For Web Designers & Developers http://www.noupe.com/tools/45-free-applications-for-designers-and-developers.html 1 week ago
  • In most watch advertisements the time displayed on the timepiece is 10:10 because then the arms frame the brand of the watch. 1 week ago
  • More updates...

Revium Logo

  • Home
  • About
  • Expertise
  • Showcase
  • Contact

  • news
  • blog
  • sandbox
  • twitter
  • facebook
  • rss
Bookmark and Share

We are Revium, hear us roar!

The news.

31 Aug

Collaborating with Government

Revium is actively involved in the Federal Government’s R&D program for tax concessions to develop our in-house products that we are looking to take…

Continue reading
View archive

The blog.

01 Sep

Return of the daily sites

Years ago I used to have a morning routine of checking a select few websites I came across. For one reason or another I…

Continue reading
View archive

The sandbox.

20 Aug

Ya-bing-ooo!! Yahoo search is dead long live the Bing.

Ya-bing-oo!! Yahoo search is dead long live the Bing In July 2010 Yahoo had started testing Bing powered search they routed 25% of their search…

Continue reading
View archive

eNewsletter.

 

© Copyright 2010. All Rights Reserved.

Revium Pty Ltd

e / info@revium.com.au t / Work +61 3 9429 2000

Find us: web development, seo

Disclaimer and privacy Revium Pty Ltd

10 Harvey Street
Richmond, Victoria, 3121 Australia
View map

Logo Partner MicrosoftLogo Partner KenticoLogo Partner IiaLogo Partner Iia RibLogo Partner Acs