Copied to clipboard

Flag this post as spam?

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


  • Dibs 202 posts 991 karma points
    Dec 09, 2016 @ 11:10
    Dibs
    0

    Integrate MVC app with umbraco

    Dear Umbraco Team

    Could you please advise best practice to intergrate web app with Umbraco ?
    I have a MVC web app i would like to integrate with Umbraco, it is a MVC C# app making use of Entity Framework & SQL server DB.

    Thanks Dibs

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Dec 09, 2016 @ 11:40
    Alex Skrypnyk
    0

    Hi Dibs

    Do you want to add Umbraco to existing MVC solution?

    What exactly is the problem?

    Thanks,

    Alex

  • Dibs 202 posts 991 karma points
    Dec 09, 2016 @ 12:04
    Dibs
    0

    Hi Alex

    Its not a problem, just advise to integrate a web app with Umbraco.

    The web app is a simple CRUD application with views for input and output views for reports.

    I would like to move the views into the Umbraco instance, so user can make use of the app from within the Umbraco site and not the app its self.

    Thanks Dibs

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Dec 09, 2016 @ 12:13
    Alex Skrypnyk
    0

    I would like to add all logic to a separate class library and add a reference in Umbraco site.

    It's nice idea to move all views to Umbraco instance. You will be able to manage all data, from Umbraco and from separate database.

    By the way, why did you decide to use Entity Framework?

    Do you know that Umbraco has PetaPoco ?

    Thanks,

    Alex

  • Dibs 202 posts 991 karma points
    Dec 09, 2016 @ 12:48
    Dibs
    0

    App already up and running, developed by another

  • Micha Somers 134 posts 597 karma points
    Dec 09, 2016 @ 13:24
    Micha Somers
    0

    The web app is a simple CRUD application with views for input and output views for reports.

    If the integration you need does not require someone being able to edit/manage the views in Umbraco, this post might provide some useful info:

    https://our.umbraco.org/forum/developers/extending-umbraco/38575-MVC-custom-controller-without-creating-document-type

    If you need a more Umbraco integrated approach, probably your views need to be changed a bit and you might need custom mvc routing. The following article explains more on this: http://shazwazza.com/post/custom-mvc-routes-within-the-umbraco-pipeline/

Please Sign in or register to post replies

Write your reply to:

Draft