.NET

Partial View Auto Refresh in ASP.NET MVC3

Problem A partial view in ASP.NET MVC3 needs to be refreshed on every particular interval. Let us take a typical ASP.NET MVC3 application. In the HomeController, there is a action called “Quote” which displays funny software quote for every new request like below: The partial view “_Quote.cshtml” has nothing other than the code below This [...]

Unobtrusive JavaScript – Video Tutorial

UdoozTube :: Hasha Tech Tutorial

Collection Binding in ASP.NET MVC3 with AJAX

There is a less-common scenario in web applications where we need to edit collection of objects and submit the whole back to the system. For example, let us take the below view model: The UI for this scenario is shown below: Leave the top and bottom “Lorem ipsum” text, these are just gap fillers.  The [...]

Azure Table Storage, Domain Persistence and Concerns

Always domain modeling is the vital part and nobody has second opinion about the importance of Domain-driven design.  This post is about anti-corruption layer between domain objects and data persistence in the Azure world. Whenever, I am started working on object-repository framework, this famous Einstein’s quote echoed in my mind In theory, theory and practical [...]

Your Azure Web Role and Full IIS – Culture Changes

On Azure SDK v1.3 onwards, your web role can enjoy the benefits full IIS capabilities.  It means that your application has now fully controlled by IIS 7.x.  Prior to v1.3, your web role was hosted on “Hosted Web Core” (HWC – hmmm, another acronym), a feature introduced in IIS 7.0.  HWC can be seen as [...]

WCAT – Simple Performance Test Tool for your .NET web app

WCAT (Web Capacity Analysis Tool) is a tiny but excellent tool from Microsoft to perform load test your web application on IIS.  This tool enables you to do performance analysis on various scenarios of your web application.  All “perfmon” performance counters (like processor time, private bytes usage,  disk queue length,  total bytes sent or received [...]

WCF Claims, STS and Federation – Layman’s View – 2

In the previous post, we have seen the service configuration of WCF federation.  In this post, let us see the STS configuration.  In the STS’s configuration file, it is mentioned in <message> element.  The STS service contract is declared in Udooz.ISecurityTokenService and implementation is resided in Udooz.SecurityTokenService.      The message security mode is specified [...]

WCF Claims, STS and Federation – Layman’s View

Configuring your Federation I’m here to explain WCF claims in federated services using STS (security token service) from a layman’s perspective.  I’ve started with the set of configuration you have to put in place on web.config under system.serviceModel to make your service in federated way.  Instead of very boring textual explanation, I’m explaining in comic way.  [...]

Cumbersomeness Web.Config

People who are in .NET arena might encounter the plethora of xxx.config files especially web.config.  It is a required devil for placing any configuration settings for your applications.  We should appreciate the effort taken by the engineers at Microsoft for introducing (at that time, Java’s configuration approach is very immature) and providing a declarative approach, centralized and optimistic way [...]

.NET DLR: Will die?

Though my main stream is on C#, I personally like Ruby.  I was quite surprised that Microsoft started focusing on non-C family languages, those are actually coming from *nix world.  Couple of years back when Microsoft released the notes about Dynamic Language Runtime which is something like Java implementation languages like JRuby, Scala.  DLR has been scoped to [...]