Quantcast
Channel: ActiveTopics
Viewing all articles
Browse latest Browse all 72689

How are people developing MVC apps within Umbraco v6?

$
0
0

Hi there,

I'm familiar with building MVC apps, and very familiar with building Umbraco 4 sites, but trying to figure out how best to build an MVC app into an Umbraco v6 site right now is eluding me.

I have Visual Studio 2010 and downloaded the (compiled) Umbraco version 6.1.1 today from Codeplex. I setup an IIS website and SQL database and went through the normal installation process. I read in another thread that in VS I should open this as a "web site" and not a project, and that I should set the F5 start action to "No Build" and to not build the website as part of a solution. (There was also advice in that thread how to debug by attaching to my IIS process, but I haven't made it that far yet.)

So my question then is, where are people writing their controllers and storing their models? In a separate project that is compiled into a DLL that I can shove into my new site's bin folder? (If so I would hope there is some automated way I can do that whenever I hit F5.) Or is the recommendation to put these into the App_Code folder? Are there any extra changes I need to make to the umbraco website? Or, maybe I'm doing this all wrong and should start with an MVC web project and then import the Umbraco binaries? Also, where do I define my routes? (Global.asax refers to Global.asax.cs, which doesn't exist in my pre-compiled site.) Do I need to download full source code of Umbraco to do what I'm asking?

So as you can in my last paragraph, I have a lot of questions and am really struggling with finding any good "how-to" guides that can lay this out for me in a simple manner from start to finish. As I said, I know how to build an MVC app but just not sure how to do this in Umbraco 6. The documenation section does have some helpful stuff in there, but doesn't really say how to start or how to structure things within Visual Studio. I used to think I was pretty clever but am feeling really dumb right now.

Thank you!


Viewing all articles
Browse latest Browse all 72689


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>