Adding ORCHARD CMS functionality in my ASP.NET MVC 4 application - asp.net-mvc-3

I have a project in mvc 4 that's really huge. Now I want to include Orchard CMS functionality into it.
I don't want it to do the other way round by including my MVC 4 project as a part of Orchard since its way too big. Would rather like to include Orchard as a CMS module in it.
What I have done so far:
1. downloaded the orchard source zip file from codeplex.
2. included it as a separate solution in my existing mvc 4 project
Now I want this orchard module to communicate with my mvc 4 project, like placing in a link on of the pages of my web project which would redirect to showing the content which is managed by the Orchard CMS system.
Any ideas on this?

Related

CMS For an Existing MVC6 App

I have an MVC6 web site and am looking to simplify content management such as add an ability to edit content online instead of via HTML or database. It is possible to do this all manually via creating models, controlled and pages allowing to edit the data. But I'm afraid that it would be like inventing a bicycle.
Are there any tools that can be installed to an exising MVC6 app and add basic CMS functions?
I'm building one, hoping to launch end of June. I could let you have a preview of an MVC 5 version right now as I'm looking for feedback, but MVC 6 might be available late May early June if that is a suitable timescale. The CMS is a series of NuGet libraries, and its clean, powerful and highly extensible. One of the design priorities is for it to be straightforward to add to an existing site. Have a look at the first version of the site for the CMS

Should I use App_Themes or Content/themes in MVC4?

Up until now I had been using MVC3 for my apps but with the new update of Visual Studio 2012 I got MVC4. I migrated a few of my apps and now they are broken.
I noticed that the new project template for an Internet application creates a ~/Content/themes/base folder.
And yet, up until now I had been accustomed to use the App_Themes folder for that. In fact, with VS.2013 you can use "Add ASP.NET FOlder | Themes".
So I am now confused with MVC4, has It deprecated the App_Themes folder (which seems more appropriate to me than ~/Content) ? or is there a significant difference?
App_Theme come from ASP.NET Platform and one goal of mvc is get a clean html code
One of the things that ASP.NET MVC is missing is the ability to
easily implement Themes. The older, more mature standard ASP.NET
framework includes theme support via the App_Themes folder; however
limited it can be, it’s still more than ASP.NET MVC currently has.
Well, at least until I wrote this little custom ViewEngine and
ControllerBase class to help out and allow us to very easily implement
Themes within our ASP.NET MVC applications
take a look this helpful article this link

Convert ASP .NET MVC 3 project to use CMS

I currently have a simple website that I want to convert to a CMS without losing any of the appearance or existing functionality. Also I would like to re-use my existing code for the site where possible and also make use of our in-house libraries and databases.
Orchard seems like a good bet because it also uses MVC 3 however it seems a bit bloated. There is a small project at atomicCMS which looks interesting. Has anyone used this?
Any hints or tips would be appreciated.
There should be a tag for this post called atomiccms but my account cannot create one.
There was a similar question, which you can find helpful.
Moving an ASP.NET MVC 3-based web application to Orchard is a fairly simple task. You just have to wrap it up in an Orchard module.
I have used both Orchard and N2 CMS. Both work on asp.net mvc.
I like the way Orchard is designed, but it is a rather steep learning curve. Also you will need to develop modules if you want to add your own custom functionallity.
After hearing a .netocks podcast on N2.CMS I decided to try it out for a recent project. It has a different approach/philosophy, you can think of it as a 'plugabble' CMS component. You basically keep your existing web app and can use CMS functionallity where it is required.
However, Orchard does have many more modules and skins available. I would definetly give N2.CMS a closer look, especially if you have an existing application.
In Orchard you must run as an orchard module (Mvc Area) and have no direct access to the root web.config. Depending on what you do in your existing app (wcf, etc...) this might be a limitation. With N2 cms you are not restricted in this manner.

ASP.NET MVC 4 templates in MVC 3

We are starting a new ASP.NET MVC project. The web application will be used also in a touch pad devices and therefore I am interested on ASP.NET MVC 4 Default Templates as it has feature called Adaptive Rendering and overall it seems to better starting point.
ASP.NET MVC 4 isn't yet ready for the production use, so I was thinking of using only parts of it.
Would the View side of the MVC 4 project (Layout, CSS, JavaScript) work on MVC 3 project?
Of course it does. They are all heavily CSS3 and Html5. So you need to think about browser support rather than MVC runtime dlls.
I encourage you to check the below video out. It is just for you :
http://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-796T

recommended Open Source MVC 3 Projects?

There some open source MVC 2 projects out there but what are your recommended open source MVC 3 projects?
Music shop is OK for beginner. But here are few real world application which are quite good for experienced developer.
NopCommerce 2.0 based on MVC3 http://nopcommerce.codeplex.com/releases/view/51060
Sutekishop http://code.google.com/p/sutekishop/
Orchard proejct (MVC3, CMS) http://orchardproject.net/
You can use NerdDinner
http://nerddinner.codeplex.com/discussions/235392
And the 2nd project is MusicStore poject.
http://mvcmusicstore.codeplex.com/
These are 2 project you find mention in most of the talks in mix and pdcs

Resources