(Malcolm Sheridan) Sometimes I get asked how-to question on forums. I am going to dedicate some article to answering these questions. One common question is how do you populate a select element using MVC? Well there are quite a few ways to do this, so I’ll demonstrate the ways I like to do this. I’
Tag: Development
ASP.NET MVC Uploading and Downloading Files
(Mike Brind) If you come to ASP.NET MVC from a purely ASP.NET Web Forms background, one of the first things you are likely to notice is that all those nice easy Server Controls have disappeared. One of those is the FileUpload, and its absence seems to cause a few problems. This article looks at how
Preloading Your ASP.NET Applications
(Peter Vogel) You may have noticed that the first request to an ASP.NET Web site takes longer than subsequent requests as worker threads are started, database connections opened and cached data loaded. One of my clients implemented a two-step process to eliminate this problem.
WPF LinearGradientBrush
(Mahesh Chand) A linear gradient brush paints an area with a linear gradient. The LinearGradientBrush object represents a linear gradient brush. The default value linear gradient value is diagonal. The StartPoint and EndPoint properties of the LinearGradientBrush represent the start and end points o
ASP.NET 4 SqlServer SessionState Gets Compression and SessionState Proven Practices
(David Hayden) ASP.NET and SessionState have been available for a long time. In April 2010 we are about to see ASP.NET 4.
Model level validation using ASP.NET MVC
(Somnath Mondal) When building your MVC application, you want to use your application controller to basically handle the input and the application user interface (views). You don’t want to embed business logic inside your controllers. The best thing to do is to create a service layer which is basica
Building Lambda Expressions from Expression Trees
(Paul Kimmel) Sometimes things appear to be tricky until you know the trick. Magic is like that, and some aspects of the .NET Framework are like that. In this article you can learn a little more about Lambda expressions, including how to dynamically construct a Lambda expression using function const
Explicitly Ending A ColdFusion Session
(Ben Nadel) Yesterday’s post on the misconceptions behind clearing the ColdFusion Session scope sparked some really great conversation in the comments. Not only did I learn a thing or two, it got me thinking about the ways in which we can actually end a user’s ColdFusion session. As a follow-up post
WPF SolidColorBrush
(Mahesh Chand) A solid brush is the most basic brush and paints an area with a solid color. The SolidColorBrush object represents a solid color brush. The Opacity property of the SolidColorBrush represents the transparency of the color that values between 0 and 1 where 0 is fully transparent and 1
Clearing The Session Scope Does Not End Your ColdFusion Session
(Ben Nadel) The ColdFusion application lifecycle can be a tricky beast to understand because it hinges more on memory space association and less so on what you might traditionally consider a “running” application. As such, the concept of actively “ending” or “killing” a ColdFusion application or use
