Copied to clipboard

Flag this post as spam?

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


  • hrushikesh 18 posts 37 karma points
    Aug 22, 2011 @ 08:24
    hrushikesh
    0

    how can i start to use umbraco API?

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Aug 22, 2011 @ 08:26
    Dirk De Grave
    0

    Better question would be... what would you like to do, then you may be able to direct you in the right direction regarding the use of the api... will you be able to share this info?

     

    Cheers,

    /Dirk

  • hrushikesh 18 posts 37 karma points
    Aug 22, 2011 @ 09:00
    hrushikesh
    0


    Hi Dirk,

    I am going to develop my own CMS in asp.net mvc 3 &  in which i want to use my own Usermanagement.But i also want to use cms portion of the umbraco.

    I know that umbraco is a very big CMS with too many features but i dont want to use all of the feature. but i need its UI & some of the business logic.

    For that i had done followinf exercises :

    i had downloaded source code of umbraco.

    then find out the views from the location 

    Location : 


    Umbraco.Cms.Web.UI > Areas > Umbraco > Views > Default 

    View names :
    1. Login.cshtml
    2. Index.cshtml (
    Content Panel,Section Panel)
    3. HeaderPartial.cshtml (Header Panel)

    I have created one sample project & add references of cms.dll,umbraco.dll & businesslogic.dll in my project.

     

    Now also i can use umbraco cms tables from the SQL server databse which were created by umbraco at the time of installation.

    Now i want to create document & save it & publish it the way umbraco will do...

    so i want to use umbraco API... but i dont know how can i start...Also how API can save data in to my Database..Or for that what i will do...

    Please guide me..............


  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Aug 22, 2011 @ 10:32
    Michael Latouche
    0

    Hi,

    Just out of curiosity, did you consider using Umbraco and customize it before you decided to go the way you describe?

    Umbraco works with the Membership Provider for managing users, so nothing prevents you from developing your own custom membership provider and use it directly into Umbraco, it's just a change in the web.config.
    Maybe the Back-end user management logic won't work, but the rest well and you can then provide your own members management screens, which you can also integrate in the Umbraco back-end if you wish.

    And maybe it will be easier to deactivate the features you don't want to use, either via security/user rights settings, or by removing some records from the Umbraco DB, than trying to access Umbraco from outside like you describe.

    Just a thought...

    Cheers and good luck!

    Michael.

  • zargul khan 1 post 21 karma points
    Dec 26, 2011 @ 17:59
    zargul khan
    0

     

Please Sign in or register to post replies

Write your reply to:

Draft