This week I came across a problem related to structuring an ASP.NET MVC Web application one development team was facing. What they were trying to do was quite simple: to create a folder structure each having their own subfolders for View/Controller/Scripts/CSS etc. The application resources like JS/CSS etc. were not getting rendered properly. The issue [...]
Posts Tagged ‘.NET’
ASP.NET MVC Areas–A Better Way To Structure The Application
Posted: April 14, 2012 in ASP.NETTags: .NET, Areas, ASP.NET MVC
The layout system in WPF is responsible for measuring and arranging the user interface elements within the panel and displaying them on screen.This is a two phase process.In the measure phase the panel will measure what is the amount of space required by each of it’s children, in order to find out the total space [...]
In my last post I had discussed about delegates in C# but intentionally skipped the covariance and contravariance with respect to delegates.I would like to discuss the concepts of covariance and contravariance in general first and then correlate the same in context of C# delegates.The concept of covariance and contravariance I found a bit confusing [...]
Most of us quite familiar with the delegate keyword in C#.Delegates provides us with a mechanism to encapsulate a method or multiple methods.These are quite like managed version of function pointers in C#.We normally use delegates to define callback methods. First we need to define a delegate as a type with it’s signature as shown [...]
WCF Web Model – POX/JSON Support
Posted: October 28, 2008 in .NET, WCFTags: .NET, JSON, POX, REST, WCF
For the past few days I was studying the details of the Web Programming Model of WCF.This feature enables WCF services to be called using simple HTTP requests i.e. without the messages wrapped in SOAP format.The messages can be POX(Plain Old XML) or JSON(JavaScript Object Notation).So the client for this kind of services does not [...]
Whenever web developers hear the term session, we think of Http Session which is used to store data between multiple HTTP requests.That’s why many of us first get confused , when we hear about WCF Sessions.If we think in a more general term we can define session as something which correlates several messages together into [...]

