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 beintegrated 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?
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.
Debugging support for UserControls Integrated In Umbraco
Hi All,
We have a two tier arrangement for managing Umbraco web sites :-
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?
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
is working on a reply...