# Friday, June 10, 2011

I just survived a huge ordeal with setting up MVC 3 to play nicely on IIS 6, so I thought I’d blog about it to make sure nobody else endures this mess.  I’ll go through these steps in order so you can roll through this issue as fast as possible.  I’ll save my long winded drivel til the end.

  1. I assume you’ve got VS 2010 SP1 on your dev box, MSBuild and .NET 4.0 on your build box.
  2. Install MVC 3 on your dev web server, whether that’s local or remote or use one that has it if you’re paying for hosting.
  3. If you cannot install MVC 3 on your target web server, you can do a bin deployment as Scott Hanselmen explains, but that is really only useful for small projects when you’re deploying from your local dev machine.  Some people posted examples of how to setup MSBuild with a task CollectFilesFrom_binDeployableAssemblies, but the examples were either incomplete or I was too incompetent to figure them out, so I setup a simple copy step to make this happen (note – you’ll have to make msbuild variables for values like BinDeployableSource):
  4. <Copy SourceFiles="@(BinDeployableSource)"
            DestinationFolder="$(SourcePath)\$(WebProjectBin)"
            SkipUnchangedFiles="true" />

  5. Now here’s the kicker and what was really killing me.  You need the web.config from inside the Views folder!  My robocopy deployment scripts wasn’t setup to include web.config’s from inside the Views folder.  I have to credit Andrew Barber with figuring this out.

My setup:  I’ve got VS2010 on a dev box.  We’re using SVN and its kicking off a CI build on our build server, which then uses robocopy to deploy our web assets out to the dev web server.  If you’re having any issues fixing this, please comment on here or contact me and I’ll try to help you out.

Friday, June 10, 2011 10:11:27 PM (GMT Daylight Time, UTC+01:00)
# Monday, April 25, 2011

I skipped stretch today with all the Easter activities and I only did half of Saturday’s and Monday’s workout.  My diet during the week was good but over the weekend it took a downhill slide with all the holiday food.  Nowhere to go but up, back on the wagon.  I got my body pretty sore this week.  I’ve been watching the Insanity Asylum videos while I run.  I love what I see so far, but I also know I am not ready for that yet.  The vertical plyo workout looks like a killer.  I guess I need to learn how to use a jump rope.

Monday, April 25, 2011 4:11:51 AM (GMT Daylight Time, UTC+01:00)
# Thursday, April 21, 2011

So the weight is staying around 220.0.  I’m still struggling to get up at 6am, but I am getting my full workout in.  I found myself having so much energy at the end of the workday, that I want to do another workout when I get home.  I’m finding Insanity Fast and Furious is great for that.  Only 21 minutes long, minus the stupid disclaimer at the beginning and the intro piece.  There’s something about things being up to 20 minutes long, that its almost like its within the “impulse buy” range with your time.  30 minutes is eh.  45 to an hour is more like, “whoa, that’s another full workout and I need to get stuff done tonight.”  I may also go for a short run outside, especially with the weather getting so nice.  Today’s workout was a jump training routine.  I’m not completely satisfied with P90X or Insanity Plyo, so I’m trying to come up with my own.  My best reference source is right is something I bought online called The Jump Manual.  My standing vertical right now is 16 inches.  In the short term, I’d like to get it back up to where it used to be, 22.  Eventually I’d like to see 30 and more.  It may take a little while, but I know I can get there.  If anyone has any suggestions, please contact me.

Thursday, April 21, 2011 3:13:53 AM (GMT Daylight Time, UTC+01:00)
# Wednesday, April 20, 2011
 #
 

On a whim, I cheated on my schedule and did the new Insanity workouts that came in the mail, fast and furious and max sports …something or other.

Fast and Furious is 20 minutes long, as advertised.  I’m pretty sure even the FBI warning was shorter.  There’s still a stretch and cooldown, so you’re not pushing at your max for 1200 seconds.  It was just Shaun, Anna and the dude who always gets excited when he marks his workout on the calendar. 

Then I walked at an incline for 30 minutes.  Incline walking is a good lower back workout.

Wednesday, April 20, 2011 4:06:07 AM (GMT Daylight Time, UTC+01:00)