What ASP.NET MVC Could Learn From Rails(www.codethinked.com)

submitted by bsenoffbsenoff(1583) 9 months, 28 days ago

Most developers that are interested in bettering themselves really do want to hear both sides of the story. They want to understand the strengths of other platforms, not so they can move, but so that they can understand how to make their own framework/platform better. When you read this post, I hope you will read it with that in mind.

4 comments |category: |Views: 75

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by rcashrcash(4149) 9 months, 27 days ago +2

I can understand the authors frustration when it comes to the default providers with ASP.NET and looking for alternative solutions. But in my opinion, taking time to create your own custom providers is worth the effort and time because chances are the only need to be written once and afterwards can be used over and over again. That doesn't always solve the database issue but definitely cuts down the future development time.

Reply

posted by dpetersondpeterson(4397) 9 months, 27 days ago 0

One thing that does solve the database issue is EF Code First, or perhaps Subsonic with its SimpleRepository (both generate schema from your classes).

I am disinclined to agree that we need a "full stack" solution for ASP MVC. I love, love, love Ruby. I think it's a fantastic language. But when I want to do web work in Ruby I use Sinatra, because I want to choose the pieces of my stack, and Rails is so large that the barrier to entry is too great to justify when I only plan on spending a few minutes to a few hours on the project.
With ASP MVC, I think we have the equivalent to the Sinatra experience on Ruby (yes, I know there are ports of Sinatra on .net, I'm making a loose association ;-)). If you throw something like EF code first and Caliburn or MVVMLight into the mix you've got 75% of that stack you were missing (Caliburn.Micro uses MEF by default).

Reply

posted by dpetersondpeterson(4397) 9 months, 27 days ago 0

Ha, I just so happened to read Scott Hanselman's blog tonight and kicked this story relating to migrating your data models in EF Code First.
http://dotnetkicks.com/database/Data_Migration_With_Entity_Framework_Code_First

Reply

posted by vijaystvijayst(1311) 9 months, 27 days ago 0

Creating a membership database in Asp.net is easy using the aspnet_regsql tool:
http://msdn.microsoft.com/en-us/library/ms229862(v=vs.80).aspx

Reply

information Login or create an account to comment on this story