Web Apps

ServiceLocator in ASP.NET MVC 3 – Part 2

Aug 21st, 2010 | By sankarsan | Category: Web Apps

In my earlier post I had discussed about the Common Service Locator framework (IServiceLocator interface)and how we can implement an adapter for the StructureMap container.In this post we will take look into how the new ASP.NET MVC provides support to plug in this ServiceLocator.



ServiceLocator in ASP.NET MVC 3 Preview 3 – Part 1

Aug 8th, 2010 | By sankarsan | Category: Web Apps

For past couple of days I was checking out features of the new ASP.NET MVC Preview 3.There are couple of interesting new additions like integration with the new Razor viewengine,improvements in Model Validation,AJAX support and Dependency Injection.In this post we will discuss on, how ASP.NET MVC 3 has streamlined the ability to register/retrieve objects/services in [...]



Caching in HTTP – Part 1

May 30th, 2010 | By sankarsan | Category: Web Apps

A Web Cache stores copies of web resources(html/images etc.) returned by the requests that pass through it and next time onwards returns the stored copy to the client instead of forwarding the same request to the server.This helps to improve the speed of content delivery, reduce bandwidth usage and processing load on the servers.Caching as [...]



Flex with WCF Service Over Https – Part 1

Apr 11th, 2010 | By sankarsan | Category: Web Apps

For the past week I am trying to play around with Flex and find out how it works with different back end service endpoints.In this post I will discuss about how Flex works with a simple WCF Service over HTTPS and also the issues I encountered while doing so.



Microsoft AJAX Library Preview 6 & Data Binding

Nov 20th, 2009 | By sankarsan | Category: Web Apps

Sorry for a long absence.In my last post I had discussed about Microsoft AJAX Library Preview 6 and the DataView control.In this post we will take a look into the data binding feature. Let’s first take a look at the Sys.Binding class and it’s following properties target – The target object targetProperty – The property [...]



Microsoft AJAX Library Preview 6 & DataView

Oct 17th, 2009 | By sankarsan | Category: Web Apps

Yesterday I came to know about Microsoft AJAX Library Preview 6 from Scott Guthrie’s post.I have not taken look into this library earlier.The rich set of JavaScript API looked very impressive to me.I became a fan of DataView control very quickly.I am sure this will be extremely useful and productive for ASP.NET developers who are [...]



ModelValidator in ASP.NET MVC 2 Preview 2 – Part 2

Oct 4th, 2009 | By sankarsan | Category: Web Apps

In my last post we have discussed about the ModelMetaData and related classes along with a sample code.In this post we will discuss about ModelValidator and ModelValidatorProvider and extend the sample library. ModelValidator – This is the abstract base class and implemented by custom validators to perform the model validation.It has a constructor as shown [...]



ModelValidator in ASP.NET MVC 2 Preview 2 – Part 1

Oct 3rd, 2009 | By sankarsan | Category: Web Apps

While going through the new features of ASP.NET MVC 2 Preview 2, one feature seemed quite interesting to me.There are a set of classes, using which we can build a custom validation framework for the model.ASP.NET MVC framework by default provides a Data Annotation(classes present in System.ComponentModel.DataAnnotations namespace) based  model validation.This makes use of attributes [...]