MVC3 with Rhino mocks - asp.net-mvc-3

I am trying to use Rhino mocks in my MVC3 Project. Can someone provide me links how to start up? Thanks in Advance.

http://stephenwalther.com/blog/archive/2008/03.aspx would be a good start.

Related

ASP.NET MVC and Spine.js Integration samples

Are there any sample websites/tutorials on integrating Spine.js with ASP.NET MVC? I have looked all over the web and I have only found ONE example from Kazi Manzur, and I was wondering if anybody else had more examples to share and talk about their experiences with this integration.
These links might help you...
http://kazimanzurrashid.com/posts/meet-spine-dot-js-my-framework-of-choice-for-client-side-mvc-part-1
http://kazimanzurrashid.com/posts/meet-spine-dot-js-my-framework-of-choice-for-client-side-mvc-part-2

Repository Pattern in ASP.NET MVC 3 and Entity Framework code-first via StructureMap

I'm creating a web app using ASP.NET MVC 3 and Entity Framework 4.1 code-first. I'm designing the project via Repository Design Pattern. I know how to implement RDP and Generic RDP. But my question is that using StructureMap is a good idea on this case? Thanks to any idea and help.
Well yes, but structuremap is more related, imo, to the DI approach you will use than the Domain specific approach you will implement.
I personally use AutoFac, but Structuremap is a also very good, you may want to consider also Ninject. All of them are really powerful and have a nice syntax to work with imo.

Choosing Presentation layer for spring application?

i was using JSP and YUI with spring applications
and i want to use a new presentation layer like IceFaces or GWT or any other good one
but i am confused what to choose
i need to make a good looking view, and the technology must have a good support/samples, and easy to use, commonly used with spring, please advise, thanks.
I don't have enough experience in IceFaces, but GWT is really easy, rapid and full ajaxian. Also the SEO issues can be handled in GWT.
Although a bit old, check out:-
http://woork.blogspot.com/2009/01/10-beautiful-web-ui-libraries.html

write a mvc framework to learn struts

Hi:
I am learning struts,however I was often confused by its configuration,sometimes I do know clearly why.
SO I wonder if there is any idea to write a simple mvc framework which need not have to be prowerful enough,just make me know more about the steps the struts-like framework do.
Any ideas?
MVC is really a paradigm, and if you simply want to get up an running with an mvc framework, you can look into groovy on grails (which is built on spring mvc) and should be easy to understand and quickly configure
If you want to be adventurous, you can play with django, which is the python framework for building web apps, though they prescribe to the mvp (model view presenter) pattern.
Additionally, http://www.springsource.org/roo may be a good fit for pure Java fans
Also, there is the Struts 2 tutorials which help.
http://struts.apache.org/2.x/docs/getting-started.html
I enjoy the "Bootstrap tutorials" which is a link at the bottom of the aforementioned page.

.NET 4.0 MEF. Pluggable ASP.NET MVC 3.0 Approach

I am going to start new MVC 3.0 .NET 4.0 application.
I want to implement each component for my web site once and simply reuse it then for another web sites i going to build.
Currently i am looking the best practice i can use to achieve my goal.
I did some research and found that I may get a lot of advantages using MEF.
I found interesting MEF MVC solution called plugable MVC http://www.thegecko.org/index.php/2010/06/pluggable-mvc-2-0-using-mef-and-strongly-typed-views.
Is it really worth to use such kind of approach(Plugabble MVC) of building MVC apps?
Advantages disadvantages of pluggable MVC?
May be somebody may suggest something else?
What specific problem are you trying to solve? MVC is a very extensible and pluggable framework as it is. I would say that for a simple site MEF is not necessary. Please provide more information on the issues you are running into with the stock MVC framework.

Resources