Archive for MVC

MVC Membership Starter Kit Released

// August 7th, 2009 // 36 Comments » // MVC

Almost six months after the official release of Asp.Net MVC 1.0 and nearly a year after the last release of the starter kit, I’ve finally rewritten and released the Asp.Net MVC Membership Starter Kit. If you’re already familiar with what it is and want to grab it, you can find the release on the CodePlex project site:

http://mvcmembership.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=22875

(more…)

Kick It on DotNetKicks.comShout It on DotNetShoutOuts.com

Return of the PagedList

// June 15th, 2009 // 12 Comments » // C#, LINQ, MVC

It has been nearly a year since I posted an updated version of the PagedList<T> functionality originally created by Scott Guthrie and posted by Rob Conery. Since then I have used the class in a number of projects and find it indispensable.

A few days ago, Craig Stuntz reported an interesting observation: when the first page is returned, the class performs a Skip(0). Suprisingly, this is not free. With that in mind, I set out to correct that issue as well as incorporate a few changes I’ve made over the past year. The result is nearly identical to the last posted version, just a bit more readable. Additionally…
(more…)

Kick It on DotNetKicks.comShout It on DotNetShoutOuts.com

Creating an MVC Project in Visual Studio 2010

// June 9th, 2009 // 8 Comments » // MVC

Earlier today Phil Haack announced that the Asp.Net MVC installer for Visual Studio 2010 Beta 1 is now available on CodePlex along with the bonus of some basic snippets for use with MVC projects. This is exactly what I have been waiting for before installing Visual Studio 2010, so I decided to give it a shot and report back on my experience. I’m happy to say that the basic experience went flawlessly for me, though it appears that may not hold true for everyone.

(more…)

Kick It on DotNetKicks.comShout It on DotNetShoutOuts.com

DevPocalypse ? A *Basic* Asp.Net MVC + jQuery Game

// December 12th, 2008 // 9 Comments » // MVC, Presentations

Last weekend I had the privilege of speaking at the second Northern Virginia CodeCamp of the year, thanks to an invitation from Jeff Schoolcraft. For those of you who were able to make it to the event, thanks for attending, and make sure to fill out an eval! For those of you who didn’t make it (or those who did and want a deeper peek at the code I presented), feel free to check out the code to my sample app – posted below.

(more…)

Kick It on DotNetKicks.comShout It on DotNetShoutOuts.com

ASP.Net MVC Goes Beta!

// October 16th, 2008 // No Comments » // MVC

I discovered via DotNetKicks this afternoon that the ASP.Net MVC framework’s beta release is now available for download from Microsoft.com. No release or source code is yet available from the CodePlex project, but I expect we’ll see it there soon enough. Congratulations to the team at Microsoft, RTM is knocking at the door!

Download ASP.Net MVC Beta

For those who, like me, have been following along with each preview push at the CodePlex project, I found a list of changes made between Preview 5 and Beta buried at the bottom of the Release Notes document. Here they are in their entirety: (more…)

Kick It on DotNetKicks.comShout It on DotNetShoutOuts.com

Introduction to ASP.Net MVC for Alt.Net DC – Presentation Materials

// September 24th, 2008 // 7 Comments » // MVC, Presentations

I just got back from my ASP.Net MVC Presentation for tonight’s DC Alt.Net meeting and I had a great time. I hope everyone got a good feel for what it takes to develop an application using the MVC framework. Please don’t hesitate to contact me if you have any questions. Also I owe a big thanks to Matthew Podwysocki for inviting me to speak. Thanks Matt, I really enjoyed the opportunity.

I promised that I would post the project that we created tonight (a basic blog engine), which you can now find linked below. There are three projects in the solution: (more…)

Kick It on DotNetKicks.comShout It on DotNetShoutOuts.com

Introduction to ASP.Net MVC for Alt.Net DC Tonight

// September 24th, 2008 // No Comments » // MVC, Presentations

Anyone in the Washington, DC area who is interested in an introductory peek at Microsoft’s new ASP.Net MVC platform is invited to come out to tonight’s Alt.Net meeting. I will be presenting the front-to-back basics you need to know to get started in developing with the MVC framework, using a MVC blog engine as our use case. Details about the when/where below. Many thanks to Matthew Podwysocki for asking me to speak tonight; it is a great privilege.

When:

September 24, 2008 – 7PM to 9PM

Where:

Cynergy Systems Inc.
1600 K St NW
Suite 300
Washington, DC 20006
GoogleMaps

More Info:

Matthew Podwysocki's Blog Post

Kick It on DotNetKicks.comShout It on DotNetShoutOuts.com

MVC Membership – Preview 5

// September 6th, 2008 // 12 Comments » // MVC

Last weekend I posted a release of the MVC Membership Starter Kit that targets Preview 5 of the ASP.Net MVC framework. There was no packaged release targeting Preview 4 (though if you downloaded the latest source, it worked), so this release essentially packages the changes from both previews. (more…)

Kick It on DotNetKicks.comShout It on DotNetShoutOuts.com

MVC Controller Action Security Hole

// July 8th, 2008 // 7 Comments » // MVC

The latest of Stephen Walther‘s invaluable ASP.Net MVC Tip series points out a MVC scenario that was previously unknown to me: passing cookies and server variables into controllers as action parameters. While the idea is neat, a comment left by Francois Ward echoed my immediate skepticism over whether this could be safe. After playing around I believe I have confirmed my suspicions that making use of this capability is a Very Bad Idea. (more…)

Kick It on DotNetKicks.comShout It on DotNetShoutOuts.com

MVC Membership – Preview 3

// July 2nd, 2008 // 17 Comments » // MVC

Tonight we posted a new release of the MVC Membership Starter Kit. This release is an update to migrate the starter kit to the new Preview 3 release of the MVC framework. While several bugs have been squashed, no major new functionality has been added.

If you couldn’t wait and downloaded the source prior to the official Preview 3 release, you’ll still want to download tonight’s official release as several important issues have been addressed.

Bug Fixes in 1.3:

  • The System.Web.Abstraction, System.Web.Mvc, and System.Web.Routing DLLs being used prior to tonight were from an earlier Preview 3 release and were not signed by Microsoft.
  • Routing ambiguities caused a 404 error to occur when a user enters an incorrect username/password combination on the login page.
  • Several errors were occurring on various password recovery screens which created a bad user experience.
  • Errors on the administration section’s Create User and Display User pages were preventing that functionality from working at all.

Thanks for all of the interest everyone has shown in this project and thanks to Maarten and Greg for their contributions; especially to Maarten as he did most of the grunt work in upgrading our code base to Preview 3. Please send any feedback you have our way, we’d love to hear it!

Kick It on DotNetKicks.comShout It on DotNetShoutOuts.com