Shawn

Shawn Wildermuth

Stories

Tagged with MVC


Upgrading ASP.NET 5 Beta4 to Beta5

officetoolsFor my upcoming course, I have a decent sized example that I’ll be teaching from. In the process of watching ASP.NET 5 go through the sprints, I have to upgrade the project at every step. I feel at some point I should be getting better at dealing with the sprints, but not yet ; )

Here is a short post that includes the different things I had to deal with in upgrading the project. It’s not just the ASP.NET 5 update, but also EF7 and a couple of small details.

First, I followed these instructions I found as an answer to an upgrade problem on SO. It got me close:

Read...


Great Time at Gwinnett .NET Users Group

mobiledevices_clipI headed up to the Gwinnett .NET Users Group last night had we talked all about mobile web development using ASP.NET! If you were there, thanks for attending and here are the slides and code as promised!

If you had any questions that you didn’t get to ask at the talk, just comment below.

Read...


CodeStock 2012 - Wrap-Up

conference projectorJust back from the CodeStock 2012 event and I want to thank Michael and everyone involved for a great event. I met a lot of great people and had a great time in Knoxville. Both sessions were well attended. I especially wanted to thank those attendees who attended my 2 1/2 hour marathon session on Modern Web Development (see my blog series on it here).

Unfortunately, my recording software was crashing so the talks didn’t get recorded. For those who saw me speak, here are the slides and demos:

Mobile Web Development

Read...


Modern Web Development - Part 2

SpaghettiThis is the second of ten parts. The topics will be:

Working with JavaScript can be daunting. In the past, I’ve seen some projects with just a handful of huge files that become difficult to manage. So in architecting what I needed to build, I wanted to adhere to the idea that there was common code and there was view-specific code. There are two different classes of JavaScript that I care about: libraries (i.e. not my code) and site code (i.e. my code).

For now, let’s segregate these two types of code into separate directories as shown below:

Read...


The Case of the ModelBinding Failure

I wasted an evening last night on a simple bug of mine. I was writing a simple HTML data entry page. I was using JSON + $.ajax to POST data to a ASP.NET MVC controller and it used to work. But for the life of me I couldn’t figure out what was wrong. Let’s start with some background.

In ASP.NET MVC3, they made a change to make the JsonValueProviderFactory part of the ValueProviderFactories so that data that comes in as JSON can be mapped to model classes automatically. See this Phil Haack post for how that works:

Read...


Announcing: GiveAQuiz.com!

Url: http://giveaquiz.com

GiveAQuiz.com

So my blog has been pretty quiet lately and I thought I'd let you know why. With a small team, I've been building GiveAQuiz.com

Read...


Building AgiliTrain: Part 1 - Why ASP.NET MVC

Url: https://AgiliTrain.com

I've spent the better part of six weeks building the new AgiliTrain website and its been quite a lot of fun. Of course if you have been reading this blog for long you know that I usually take a personal project like this as an opportunity to learning something new.  In this case I did three things I haven't done on a personal project before:

I've been itching to use ASP.NET MVC on a project but until the beta arrived I didn't want spend too much time with it.  Of course as you probably know, ASP.NET MVC released a RC yesterday so its pretty close to being done.  I am still on the Beta until they RTW (release to web) ASP.NET MVC.  Don't want to retrofit it twice.

Read...