Copied to clipboard

Flag this post as spam?

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


  • Tarunjit 103 posts 146 karma points
    Apr 13, 2015 @ 14:12
    Tarunjit
    0

    Debugging support for UserControls Integrated In Umbraco

    Hi All,

    We have a two tier arrangement for managing Umbraco web sites :-

    • First tier will be the Umbraco Admin section where all the pages need to be created.
    • Second tier will be the ASP.Net project. There will be following three main components of this ASP.NET project. First component will be the user controls (e.g. Home Search control available on index page ofwww.hawaiiloalocations.com). All these user controls will be integrated in to the Umbraco web site. Second component will be the Business Layer managing the business rules.Third component will be the Data Access Layer making the calls to the database for the to and fro of the data.

     

          As these user controls will be integrated as Macros in Umbraco web site, so in case we have some production issue and we need to debug that issue we are not sure about the technique as how we could debug that issue from the Umbraco code?

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Apr 13, 2015 @ 17:56
    Alex Skrypnyk
    0

    Hi Tarunjit,

    There no problems with debugging Umbraco custom User controls.

    You can use the Debug -> Attach to process, and select the w3wp.exe (the IIS process), and the just run your umbraco website, and your debugger will be hit when you usercontrol is loaded.

    Great articles :

    https://cultiv.nl/blog/easily-debug-your-custom-umbraco-user-controls-in-visual-studio

    http://www.enkelmedia.se/blogg/2012/11/7/debugging-with-umbraco.aspx

    Thanks, Alex

Please Sign in or register to post replies

Write your reply to:

Draft