Undocumented .Net The Out Campaign: Scarlet Letter of Atheism

Sunday, November 18, 2007

UnOfficial Asp.Net MVC

Hello everyone, like I said before Asp.net mvc is great so good that I decided to make my own version of it, and I want to share with you. I got all the basic functionality working the routing, controller and view thing even the model and I must say it is really good; I really enjoy making web applications with it. There are few things my example won’t do (fell free to modify it if u like):

You can’t use asp .net control you have to use html controls, basically my http handler and routing module doesn’t deal with asd. May be you can change the http module to route anything that is not asp.net mvc to their normal handlers.

The mvc handler doesn’t know how to deal with overloads so only one method with the same name on controllers.

It is really easy to use it, do it just like scottgu did on his presentation: create your controller, your model and your view. Using it on the page markup is guite easy.

The view pages can use the generic page for strongly typed objects or non generic that just uses a dictionary.

public partial class Model : ViewPage

or

public partial class QueryStrings : ViewPage

well have fun, I just could wait until the first beta came out I had to try it before I buy it *wink wink* so I went and made my own. And I like the way it worked out, now I wont be updating the source code, there will be no support. But I hope you enjoy using it and get the few of what mvc could be like (the official will be tons tons tons better than this) like I said this is just so u can see what you can do with mvc. Enjoy!

Download link for source code.



well the disclaimer is that anything that happens to you, your family, anyone related to you (or not related) and yourself caused directly or indirectly by this code is not my fault, and by downloading the source code you agree with this disclaimer.

1 comments:

RRave said...

Invitation to new programming Resources Website



Dear Sir,

I hope you are doing well. I got this email address from one of your contribution web site. I have launched a web site www.codegain.com and it is basically aimed C#,JAVA,VB.NET,ASP.NET,AJAX,Sql Server,Oracle,WPF,WCF and etc resources, programming help, articles, code snippet, video demonstrations and problems solving support. I would like to invite you as an author and a supporter.
Looking forward to hearing from you and hope you will join with us soon.

Thank you
RRaveen
Founder CodeGain.com

Post a Comment

Daniel Portella - http://undocnet.blogspot.com - http://twitter.co/dmportella - This posting is provided "AS IS" with no warranties, and confers no rights.