Geeks With Blogs
Rajesh Pillai My experiments with mvc, jquery, wpf, silverlight, sharepoint, tdd and design patterns. December 2009 Entries
WCF 2 - Building Blocks
Building Blocks of Service Service is a Collection of operations that are exposed to the clients. Service contract defines what operations are available and how clients use them. Data contract describes data that the client and service can exchange. Service Contracts Service Contracts Describe the operations supported by a service, the message exhange pattern used and format of each message. ServiceContract attribute marks an interface as a service contract. OperationContract attribute exposes methods ......

Posted On Sunday, December 20, 2009 9:14 PM

WCF 1 - Introduction
What is WCF? Windows Communication Foundation aka WCF is a Microsoft platform for SOA (Service Oriented Architecture). The following are some of the important aspects that WCF allows us to achieve. Its used for building distributed and interoperatble applications. Unifies ASMX, .NET Remoting, Enterprise Services, MSMQ etc. A single programming model for all distributed computing technology. Configuration driven protocol choices, messaging format, reliable transactions etc. Built for service-oriented ......

Posted On Sunday, December 20, 2009 12:15 PM

WSS 1 : Introduction
Introduction Welcome to this series of blog post that deals with Windows Sharepoint Services aka WSS. In this first part we will review the basics of a content management system, the types of content management system and the fitment of WSS in this space. We will delve into the technical details of WSS in the subsequent posts. The content that follows provide a birds eye view into the basics of a CMS system. Overview Basically a CMS is a system for organizing and facilitating collaborative creation ......

Posted On Saturday, December 19, 2009 9:18 PM

VS Theme generator
I don't usually prefer posting links to other blogs unless I find it absolutely useful. I was always wondering how to genreate themes with different color combinations for my visual studio. Luckily there is the cute theme generator tool at Just select the color combination and click on "Create" and follow the instruction. Hope you find this useful ......

Posted On Tuesday, December 8, 2009 3:55 PM

jQuery Limit text entry
Lets quickly have a look at how you can limit the entry to textbox and display the character input left to be keyed in. First things first, the script. <script type="text/javascript"> $(function() { var limit = 250; $('#dvLimit').text('250 characters left'); $('textarea[id$=txtDemoLimi... { var len = $(this).val().length; if (len > limit) { this.value = this.value.substring(0, limit); } $("#dvLimit").text(limit - len + " characters left"); }); }); </script> The $() ......

Posted On Thursday, December 3, 2009 5:40 PM

ASP.NET MVC Asynchronous controller
This post touches the ASP.NET MVC async controller. Its included in the futures library and is available on codeplex. This may become part of ASP.NET MVC 2. Download and add reference to the "Microsoft.Web.Mvc" dll. Make the following changes in the Global.asax to set the rounte to handle async request. public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resour... routes.MapAsyncRoute("Defau... "{controller}/{action}/{id}", new { controller = ......

Posted On Tuesday, December 1, 2009 11:00 PM

Copyright © Rajesh Pillai | Powered by: