Copied to clipboard

Flag this post as spam?

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


  • Peester 14 posts 20 karma points
    Feb 10, 2009 @ 11:57
    Peester
    0

    Creating Cutom Controls

    Hi All,

    Can someone please explain to me what i have to do to get a new "project" in VS2008 configured to use the Umbraco API?

    i have copied the cms.dll and businesslogic.dll into the bin folder, but i think there are some modifications that needs to made to the web.config file so that the project acts like it's running in your current umbraco installation.

    Any help will be greatly appreciated
    many thanks

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Feb 10, 2009 @ 12:14
    Dirk De Grave
    0

    Hi,

    If you're building user controls, just create a new web project, reference the required dll's (probably from your umbraco install's dll folder) and use post build event to copy the dll to the bin folder and the user control to the usercontrols folder of the umbraco install.

    Create a macro in the umbraco install that references the user control (Should be available from the dropdown). Add macro to a template and browse the umbraco page that has that templated associated. Should do the trick.

    If you wish to debug your user control, just attach to the right process (w3wp.exe on a vista box for example), and browse the umbraco page that contains the user control.

    Hope this gelps.

    Regards,
    /Dirk

  • Peester 14 posts 20 karma points
    Feb 10, 2009 @ 12:53
    Peester
    0

    Great thanks for the Reply Dirk,

    I have been making use of a similar method as you describe, i was just wondering, is it possible to modify the web.config to do this?

Please Sign in or register to post replies

Write your reply to:

Draft