After looking at Umbraco 5 and really liking the idea of MVC and a open source CMS for our company, Umbraco stops the project.. really didn't liked that but i understand that the project don't have a good begin to start with you can better stop. So now with 4.10 again MVC in the picture again, i again starts looking if Umbraco is something for us but again with the same questions as version 5. How do i start with a good begin :)
I think the best way to start is with MVC project in Visual Studio and copy the Umbraco project to it but i don't see any example or how i must do this for 4.10 anywhere. The most post like http://shazwazza.com/post/MVC-in-Umbraco-v4.aspx or http://memoryleak.me.uk/2009/04/umbraco-and-aspnet-mvc.html are alot older or are with copy dll (http://umbraco.com/help-and-support/video-tutorials/from-v5-to-v4/level-2/mvc-in-umbraco-4.aspx) what is, i think, really ugly. The only thing i see of MVC in the basic installation is the View folder but that's no MVC just a Razor implementation of Umbraco imho. What if i need a to make a connection with a webservice or something like that, i also need the Model and Controller if i want to use MVC.
So my question is, can i set up a real MVC 4 project (of is 3 really needed) with Umbraco? I think i need to rewrite the paths to Umbraco standards so that the models with the path is composed and add some umbraco dll to use the models but is that's the best way to work?
I just started with Umbraco 4 so if i am completely wrong or other problems i can ran into if i work this way i really want to hear it. Any thought is appreciated!
Might be wrong but I don't think it's going to be "pure" MVC, it'll be more Umbraco's version of MVC but Niels did tweet a link to some documentation today which may also help you.
Having just received a codeplex notification with a NuGet command in it I thought I'd have a play with 4.10.1 but I got an error in VS2010:-
Install failed. Rolling back... Install-Package : Already referencing a newer version of 'Microsoft.AspNet.Mvc'. At line:1 char:16 + Install-Package <<<< UmbracoCms + CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Even though the notification was for 4.10.1 it was actually trying to install 4.10.0 which is a bit disappointing. The notification mentioned 4.10.1 fixed a security hole but the link to the blog wasn't configured correctly so we're none the wiser.
I have MVC 4 installed. Any idea what it croaked on?
Umbraco 4.10 all mvc visual studio project
Hi all,
After looking at Umbraco 5 and really liking the idea of MVC and a open source CMS for our company, Umbraco stops the project.. really didn't liked that but i understand that the project don't have a good begin to start with you can better stop. So now with 4.10 again MVC in the picture again, i again starts looking if Umbraco is something for us but again with the same questions as version 5. How do i start with a good begin :)
I think the best way to start is with MVC project in Visual Studio and copy the Umbraco project to it but i don't see any example or how i must do this for 4.10 anywhere. The most post like http://shazwazza.com/post/MVC-in-Umbraco-v4.aspx or http://memoryleak.me.uk/2009/04/umbraco-and-aspnet-mvc.html are alot older or are with copy dll (http://umbraco.com/help-and-support/video-tutorials/from-v5-to-v4/level-2/mvc-in-umbraco-4.aspx) what is, i think, really ugly. The only thing i see of MVC in the basic installation is the View folder but that's no MVC just a Razor implementation of Umbraco imho. What if i need a to make a connection with a webservice or something like that, i also need the Model and Controller if i want to use MVC.
So my question is, can i set up a real MVC 4 project (of is 3 really needed) with Umbraco? I think i need to rewrite the paths to Umbraco standards so that the models with the path is composed and add some umbraco dll to use the models but is that's the best way to work?
I just started with Umbraco 4 so if i am completely wrong or other problems i can ran into if i work this way i really want to hear it. Any thought is appreciated!
Thx!
Chris Koiak has created a new package here http://our.umbraco.org/projects/starter-kits/standard-website-mvc which may be of help.
I haven't used it yet but it seems very good.
Might be wrong but I don't think it's going to be "pure" MVC, it'll be more Umbraco's version of MVC but Niels did tweet a link to some documentation today which may also help you.
http://our.umbraco.org/documentation/Reference/Mvc/
Thanks Richard, do you know if it's possible to run Umbraco with MVC 4?
Not sure Edwin, perhaps contact Chris Koiak on twitter?
As I said, I've yet to use MVC in Umbraco 4 so I don't know which version it works with.
Having just received a codeplex notification with a NuGet command in it I thought I'd have a play with 4.10.1 but I got an error in VS2010:-
Install failed. Rolling back...
Install-Package : Already referencing a newer version of 'Microsoft.AspNet.Mvc'.
At line:1 char:16
+ Install-Package <<<< UmbracoCms
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Even though the notification was for 4.10.1 it was actually trying to install 4.10.0 which is a bit disappointing. The notification mentioned 4.10.1 fixed a security hole but the link to the blog wasn't configured correctly so we're none the wiser.
I have MVC 4 installed. Any idea what it croaked on?
not.entirely sure.
sounds to me like you have mvc 4 installed and installer doesnt like it.
try removing the mvc 4 reference?
im not sure but could be mvc 3 is version that works?
Thanks Richard, that was it. Removed MVC4 and reinstalled umbraco correctly. Just need to apply the 4.10.1 patch now.
excellent!
answers the question as to which version of mvc we're using :)
Mind and mark the answer :D
is working on a reply...