Corey Coogan

Python, .Net, C#, ASP.NET MVC, Architecture and Design

  • Subscribe

  • Archives

  • Blog Stats

    • 47,173 hits
  • Meta

Archive for May, 2009

ASP.Net MVC Installation – Windows Installer Service Woes

Posted by coreycoogan on May 29, 2009

As discussed in my first post, I picked up the Pro ASP.NET MVC book and began reading it, as well as digging into some web resources.  I am all ready to start laying things out and working through some simple code for my first MVC production app, but on my daytime laptop, I’m having trouble with the installation.

During the installation/configuration of VS.NET templates, I got an error message stating that the Windows Installer Service had choked and ended my installation prematurely.  Through some digging, I came across this post from Phil Haak.  Turns out that previous VS.Net add-ons can cause trouble with the MVC installation.

I have the latest version of CodeRush Express loaded, as well as GhostDoc and TestDriven.net.  I let the patch run for about 10 minutes, at which point the progress bar began to move backwards.  The installation dialog just sat there for another 5 minutes before I got scared and hit cancel.  It doesn’t seem to be doing anything, as it sits there for now about 10 minutes, but certainly hope it’s doing something. I eventually killed the process and reboot, hoping for the best.  Thankfully, my machine came up and VS.NET fired up.

I uninstalled all my add-ons and rebooted, but still can’t install.  So I decided to try to the hot fix again, and after 5 mintues it works!  Now time to try MVC again, crossing my fingers…. it worked to!  Yay!  Time to put back my precious add-ons and voila, that’s all there is to it.  Nothing that can’t be accomplished in a morning.

More to come, but at least now I can get some real work going.

Posted in ASP.NET MVC | Tagged: , , | Leave a Comment »

Beginning ASP.NET MVC

Posted by coreycoogan on May 28, 2009

I’ve thought about starting a blog for quite some time now, so this is it – I’m finally doing it.  I made the decision to actually do this a couple weeks ago, even setup my account here on WordPress.  The only thing stopping me was this – where to begin?  What should my first post be?  Since I’ve been interested in ASP.NET MVC for some time and now have a need to write a production app with the technology, it seemed right.

So where to get started with ASP.NET MVC?  I’ve read through most of the tutorials from the ASP.NET MVC website.  I’ve read many blog posts over the last year from Scott Hanselman, David Hayden, Jeffrey Palermo and others.  Now it’s time to step up to the plate and actually make things happen.

The first thing I’m doing is buying the Pro ASP.NET MVC book by Scott Guthrie, Scott Hanselman, Rob Conery and Phil Haak.  I’ve read many reviews that say this is a pretty good book to have on hand and I’m sure it will come in handy.

Now the fun begins.  My first task is to setup the project solution.  I’m very meticulous about how a solution gets setup, as once it’s done it’s usually set in stone becuase it can be a pain to change later.  I’ve played with Billy McCafferty’s S#arp Architecture, which is a framework for starting an ASP.NET MVC project in a Domain Driven Design fashion.  I like the way things are broken up and will probably mock much of his structure.  It’s got great samples for how/where to register your routes and configure your IoC container, for which I’ll be using Windsor.

We’re using LLBLGen for an ORM, with LINQ support, so we’ll likely be handing those generating objects around the app, so I’ll have to account for that with the design.

The team that’s working on this project has no experience with ASP.NET MVC, and mine is very limited, so it will be a learning experience for all.  I’m really stoked to get going on this one and will keep you posted on our architectural decisions and how things turn out.

Posted in ASP.NET, ASP.NET MVC | Tagged: , , , | 1 Comment »

 
Follow

Get every new post delivered to your Inbox.