Monthly Archives: June 2010

Serving Images from an Image Controller

Found this solution rather simple when you want to serve images from your database. public class ImageController { readonly IImageQueries Queries; public ImageController(IImageQueries queries) { Queries = queries; } public FileResult Show(int id) { DateTime? dateCreated = Queries.GetDateCreatedById(id); //invalid image, … Continue reading 

Posted in .NET, ASP.NET MVC, C# | Leave a comment

Dynamic View Page, MVC without a View Model

Hello fellow techies on this roller coaster called life. It has been a while since my last post, I have been focusing on some other more important aspects of my life. What I want to talk about in this post … Continue reading 

Posted in .NET, ASP.NET MVC, C#, DTO, dynamic, model, MVC, View | 6 Comments