YUI: DataTable Refresh
I've used various different methods on refreshing the data in a YUI DataTable. I just came across another that I thought was novel enough to share. Several websites mention using the sendRequest method on the data source. That does refresh the data, but it does not cause a loading message to appear in...
Continue reading...
Posted by john on Friday, January 08 2010 Read more No Comments
mvccontrib - PermanentRedirectResult and PermanentRedirectToActionResult
A few days ago I submitted a contribution to mvccontrib, and it got committed . What I added was two new ActionResults. PermanentRedirectResult and PermanentRedirectToActionResult . I've had to code the same basic thing for several different projects already, I figured it was time to stop repeating myself...
Continue reading...
Posted by john on Friday, September 04 2009 Read more No Comments
jQuery File Upload in ASP.NET MVC without using Flash
In this post, I will show how to implement jQuery File Upload in ASP.NET MVC without using any Flash components. Why bother? Why not just use Flash? That was my first thought. So I started down the path of using SWFUpload . It did not take me long to realize that I would run into a well known bug where...
Continue reading...
Posted by john on Thursday, August 20 2009 Read more 1 Comment
Remote Desktop on a Second Monitor
I am blogging this link so that when I forget (again) how to do it, I can find it more easily.Posted by john on Thursday, July 09 2009 Read more No Comments
ASP.NET MVC File Upload
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...
Posted by john on Sunday, April 26 2009 Read more 2 Comments
StructureMap/Ninject + log4net
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...
Posted by john on Tuesday, April 07 2009 Read more 1 Comment
ALT.NET Programming Contest
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! codebetter.com/blogs/aaron.jensen/archive/2009/03/05/the-alt-net-programming-contest.aspx...
Continue reading...
Posted by john on Friday, March 06 2009 Read more No Comments
Is this a good way to wire up NHibernate using StructureMap?
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...
Posted by john on Friday, February 27 2009 Read more 1 Comment
02/24/09 Tank Photos
...
Continue reading...
Posted by john on Tuesday, February 24 2009 Read more No Comments
How NHibernate saved my day
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...
Posted by john on Thursday, January 08 2009 Read more No Comments