Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • evil80 4 posts 24 karma points
    May 12, 2015 @ 10:42
    evil80
    0

    Integrating umbraco with asp.net mvc

    hi,

    I'm completly new to Umbraco.
    I've developed an Asp.NET MVC 5 custom application but I also need to manage content, faq, etc in multilanguage.

    It would be really nice to integrate Umbraco to let it handle all this contents.

    So my questions are :

    1. How can I integrate my app in Umbraco?
    2. Can I share the same database? I suppose yes as I also using SQL Server 2012 in my app
    3. Can I share user session?
    4. Can I import my custom controllers, pages and js in Umbraco solution?

    Can you please help me to understand how can I do it?

    Thanks in advance.

  • Alex Skrypnyk 6148 posts 24077 karma points MVP 8x admin c-trib
    May 12, 2015 @ 13:14
    Alex Skrypnyk
    0

    Hi Evil,

    1. You don't need integrate Umbraco with asp.net mvc. Just install UmbracoCMS NuGet package in your solution, it's pretty easy.

    2. Yes, you can use the same database. Great article about database and Umbraco - http://creativewebspecialist.co.uk/2013/07/16/umbraco-petapoco-to-store-blog-comments/

    3. Yes.

    MemberService - https://our.umbraco.org/DOCUMENTATION/Reference/Management-v6/Services/MemberService

    Dealing With Members Using The MemberService & MembershipHelper - http://24days.in/umbraco/2014/dealing-with-members/

    1. Yes.

    Thanks, Alex

  • evil80 4 posts 24 karma points
    May 12, 2015 @ 15:55
    evil80
    0

    Hi Alex,

    thanks for your answer. If I execute NuGet installation on VS 2013 what will happen? My main target is to fully integrate my pages (just 10 pages, but with a lot of custom business logic) in Umbraco to let site administrator easily maintaint site contents. It seems that Umbraco solution is written in VB.Net while I used C#. This could be a problem? In the Umbraco solution I can't see "Controllers" folder...how Umbraco calls Views?

    I would like to let site admin create a registration/login form and then catch the user on my custom pages to exec my controllers/model/view. Is this possible?

    Does Umbraco support MVC 5? The application will run on Azure and I need to share the same db to easily interact with data on both side. Can I just export my tables in Umbraco database?

    Thanks a lot

    I'll try this evening and let you know!

  • evil80 4 posts 24 karma points
    May 12, 2015 @ 23:11
    evil80
    0

    Hi Alex,

    I tried as you suggested but I got this error while installing Umbraco through NuGet

    "Install-Package : Updating 'Microsoft.AspNet.Mvc 5.0.0' to 'Microsoft.AspNet.Mvc 4.0.20710.0' failed. Unable to find a version of 'UmbracoCms.Core' that is compatible with 'Microsoft.AspNet.Mvc 4.0.20710.0'."

    My project is Asp.NET MVC 5 based.

    What can I do?

    Thanks

  • evil80 4 posts 24 karma points
    May 14, 2015 @ 09:32
    evil80
    0

    Does anyone have any other idea? I really need to integrate Umbraco in my custom app.

    thanks a lot

Please Sign in or register to post replies

Write your reply to:

Draft