Hanalei, Hawaii 9/2/2010
438 Posts and Counting

ASP.NET MVC Is Here (CTP)

Monday, December 10, 2007 - The bits: Download ASP.NET 3.5 Extensions (includes MVC) The Toolkit (contains the UI Helpers - you'll want this too) Download here. Learn about it: ASP.NET MVC Framework ASP.NET MVC Framework (Part 1) ASP.NET MVC Framework (Part 2): URL Routing ASP.NET MVC Framework (Part 3): Passing ViewData from Controllers to Views ASP.NET MVC Framework (Part 4): Handling Form Edit and Post Scenarios Learn more about the HTML Helpers: ASP.NET MVC Preview: Using The MVC UI Helpers Unit Testing With MVC TDD and Dependency Injection with ASP.NET MVC This is a CTP so please know that it will be changing as we drive towards release. Your voice is important in this process so if you have any issues - please be sure to let us know.

Related


Gravatar
IronRuby - Monday, December 10, 2007 - Hi Rob, Can you point me out to a tutorial, where i can learn in depth about using MVC with SubSonic. I need to take full Rails type advantage with this Asp.Net MVC (as " rails) and SubSonic (as " ActiveRecord".) Since you have also worked on Migrations, i think i shall be able to take full advantage by now. Pl. show me a blog.tutorial of mixing SubSonic with MVC. Thanks in advance. IronRuby
Gravatar
Jim Zimmerman - Monday, December 10, 2007 - ASP.NET MVC CTP is Out... ...
Gravatar
Darkleo’s Blog » Blog Archive » Das ASP.NET MVC-Framework ist da. - Monday, December 10, 2007 - [...] Zusätzliche Erweiterung von Rob Conery http://blog.wekeroad.com/2007/12/10/aspnet-mvc-is-here-ctp/ [...]
Gravatar
mike - Monday, December 10, 2007 - "please be sure to let us know" Where, on your blog, ASP.NET forums or Microsoft Connect?
Gravatar
Damir - Monday, December 10, 2007 - Ahh, there we go... Too bad the weekend is over :)
Gravatar
Mind Gravy » Blog Archive » ASP.NET MVC Framework Initial Thoughts - Monday, December 10, 2007 - [...] in my own code to make sure there weren’t any changes.  I’ve read the posts by Rob Conery and Phil Haack about TDD and the UI Helpers (which are the best invention since sliced [...]
Gravatar
Hartvig - Monday, December 10, 2007 - Very neat!

One thing I noticed in ScottHa's (brilliant) screencast where he used your helpers, was that they didn't seem to produce valid xhtml. Attributes didn't weren't quoted which went for both the form (method=post) and the textboxes.

It would be nice to see some attention or Q/A in that as I finally think that it's rather easy to do valid html with ASP.NET and I *really* don't want to hear the con-.net people talk about messy markup again (like in the 1.1 days).

A part from that, can't wait to see this go to release :)
Gravatar
canoas'blog - Monday, December 10, 2007 - MVC está a chegar... ...
Gravatar
David Fauber - Monday, December 10, 2007 - Any idea if there would be a conflict between the Volta release last week and the 3.5 extensions? I've got Volta installed (the only non-release software that I can think of), and get a NullReferenceException in the registerIISMap when I try to install the new ctp.
Gravatar
Rob Conery - Monday, December 10, 2007 - @mike: you can use the forums: http://forums.asp.net/1146.aspx The entire team monitors them so we should be able to help - I'll edit this post and add the link:) @Hartvig: Scott had to use an early build (about 3 weeks ago) and it was still extremely raw. All the XHTML should be valid at this point, with nary a single quote anywhere :). We're very sensitive to this as well! @David: not familiar with Volta but it seems like you might have an issue - best to post it in the forums (link above)
Gravatar
Bart P - Monday, December 10, 2007 - Hi Rob,

What will be the roadmap for SubSonic vs ADO.NET Entity Framework? Where do I possition SubSonic in the hole MVC / Entity framework?

Thanks in advance,
Bart
Gravatar
mikkel madsen - Monday, December 10, 2007 - it is possible to try MVC i visual web developer 2008 express edition if it is how i have installed ASPNetExt.exe but the MVC templete do not show up am i missing something
Gravatar
Shawn Oster - Monday, December 10, 2007 - Can you please remind someone on the team that not everyone has Office 2007 installed? Inside the MVCToolkit the Readme is a docx file and it's very annoying that I can't open it. I'd much prefer a straight .html or .txt file. Please, pretty please?
Gravatar
Rob Conery - Monday, December 10, 2007 - @Bart: I don't have a roadmap "versus" another product :) - but I have laid out a few things I want to do: click on the SubSonic link on the right side and you can see the latest posts.

@Mikkel: Check this post:
http://www.lazycoder.com/weblog/index.php/archives/2007/12/10/using-the-aspnet-mvc-framework-with-visual-web-developer-express/

@Shawn: That was a late-night gaff and I apologize. The people on the team were routing it for comments and I think it just didn't get transposed. I've already reset it to text and will make sure it gets in there on the next drop of the toolkit which should be in [I have no idea but less than 30] days.
Gravatar
Shawn Oster - Monday, December 10, 2007 - Thanks for the info Rob, I do a lot of dev work inside VM's and to keep them small I don't install Office.

Next question, as far as the model portion what would you suggest? I've been using the SubSonic MVC templates and realized I'm going to get an odd little clash with the SubSonic controllers/views when all I really want now is the model portion.

Also, how will this interact with the build providers portion of SubSonic? Does the .abp file still get put in the App_Code folder even though that's not really a standard ASP.NET folder in a MVC app? Would you suggest just forgetting SubSonic with this drop and using LINQ instead or would you revert to using the non-MVC SubSonic templates when playing with these bits?

Or... the short, less rambling version... where does SubSonic fit in with this CTP? :)
Gravatar
Rob Conery - Monday, December 10, 2007 - @Shawn: I've been using SubSonic happily with the new Forums and have mostly been generating the bits up inside the Models folder. Everything works just fine, but I don't use the "dumb" controllers per se cause I don't need to.

In terms of where we're going, I just worked up the first spec (including a project name :) and will try to fire that out the door at the end of next week.

Short answer: it fits quite well :)
Gravatar
Bart P - Monday, December 10, 2007 - Hi Rob,

Thanks, but where do I see SubSonic ORM vs. Linq to SQL classes?

The MVCToolkit is neat to play with... ;-)

Thanks,
Bart P
Gravatar
Shawn Oster - Monday, December 10, 2007 - @Rob: OK, sorry but my fragile little mind just warped a wee bit. If you're not using the "dumb" controllers how are you doing any of the CRUD, isn't that where the magic is, like Save() for example? Waaaait a minute, are you using the stock SubSonic without those MVC templates you released way back when? I'm sure I'm missing something obvious so anyone feel free to smack me upside the head with some knowledge.
Gravatar
Rob Conery - Monday, December 10, 2007 - @Shawn - yep. It's a little confusing with the naming, but you don't need to worry about "dumb" anything to be honest - keep it all in the controller :). So yes, stock SubSonic :).

@Bart - thanks :). I'm not sure how to put this other than I'm not in a competitive stance with Linq etc and I tend to stay away from "versus" comparisons. We have a roadmap and we're gonna keep rolling alongside (and sometimes sideways to) Linq, EntitySpaces, etc.
Gravatar
eledu81 - Monday, December 10, 2007 - Hi Rob, thanks for the preview, I am just checking the blog demo.. The MVCDynamicData seems pretty cool.. I hope you post more info about that feature soon.. One thing, could you please post Readme.docx from the MVC tool kit in another format? Not everyone have MSWord 2007 you know...
Gravatar
Rob Conery - Monday, December 10, 2007 - http://www.wekeroad.com/readme.rtf
Gravatar
Shawn Oster - Monday, December 10, 2007 - Hey Rob, thanks for the readme.rtf and by the way, does it ever feel really, really weird to see your name splashed all over a Microsoft readme file?
Gravatar
kevin - Tuesday, December 11, 2007 - thanks for the links rob. have to find time to dig into this.
Gravatar
WooBoo - Tuesday, December 11, 2007 - I've found something not working in toolkit. I mean:
when i put checkbox to my view and then try to use UpdateFrom extension method i get an PopulateTypeException.
I also found that it's because when checkbox is checked it doesn't send any "true"/"1" etc. which can be converted by BooleanConverter.
Well... that's it for now ;)

Regards