This very short blog post will show you how to add support for uploading files to an ASP.NET MVC application. Add a controller action Add a controller action that accepts a parameter of type HttpPostedFileBase. In the example below, I save the file to my App_Data folder. I would highly recommend that...
Continue reading...
One fine day, my task was to refactor my classes so they did not have a dependency on log4net. The first thing I did was to create an ILogger interface in my core library, and an Log4NetLogger class in my infrastructure library. Followed by adding a line to my IoC container bootstrapper class. Finally...
Continue reading...
Last weekend, I went to the ALT.NET Seattle Open Spaces event. It was an awesome experience to talk with all my blogging heroes. On Saturday night, they held a programming contest. I won! http://codebetter.com/blogs/aaron.jensen/archive/2009/03/05/the-alt-net-programming-contest.aspx...
Continue reading...
I am blogging this code snippet in order to ask some people at altnetseattle if this is a good implementation or not. I want to know whether or not this is considered a good way of wiring up NHibernate using StructureMap . I am making use of the registry DSL feature, this code would get called somewhere...
Continue reading...
I am working on an ecommerce site as a personal learning project. Rob Conery’s MVC Storefront series of blog posts was my inspiration. However, I am following a different path. I am using NHibernate instead of Linq-To-Sql. I determined that the hosting budget for this little project would be exceeded...
Continue reading...
LOL for the funny post title. Derik wrote a great post with a great list of tips to live by: Keep your Code Behind empty Keep your Views simple Keep your Controllers light Keep your Model fat (domain model that is)...
Continue reading...
As mentioned before, I have been writing some RIA applications using Flex. I've also been playing with ASP.NET MVC. I have one project where I am considering combining the two. I have been using WebORB from MidnightCoders as my communication layer between .NET and Flex. I've been really happy with it...
Continue reading...
I would normally never post an lol cat to my blog. However, this one struck my funny bone so bad that I almost spilt my morning coffee all over my desk. more animals...
Continue reading...
I am writing an application at work using nHibernate against an Oracle database. I was having trouble getting something to function properly, and wanted to test Oracle's ODP.NET driver instead of Microsoft's driver. I am linking to this article so I can refer to it later....
Continue reading...