What is the easiest way to build/test a Sitefinity user control?
Because of how cumbersome it is to...
1. build a user control into the Sitefinity project,
2. login,
3. register it with the Sitefinity back end advanced toolbox,
4. add my custom control to a page,
5. and navigate to that page...
6. Only then to see my obvious coding error,
...I feel like I'm developing my Sitefinty control the wrong way.
How should I be developing a Sitefinity aware user control? Is there a recommended or simpler way to build a control and test it? i.e. is there a simplified Sitefinity database / fluent API compatible project I could use to build/test before integrating the control into the full blown Sitefinity project? Something where I can simply 'press play' and see my work in a developer environment without all the steps.
Tell me that the guys at Telerik don't go through all those steps for each new user control.
Thoughts? Recommendations?
I'm finding it easiest to:
1. Register my user control into the toolbox.
2. Create a demo page.
3. Copy my control into the page and save it.
4. Then bookmark this demo page, both the editor and the preview URLs.
Then when you run your Sitefinity project, it is easier to get back to the page that tests your control. No need to navigate through the backend pages to your target page.
Not ideal, but already saving me some time.
I tried to create a separate project for my user control, but if I needed to interact with the Sitefinity database, there was quite a lot of setup to include all the right Sitefinity references and configuration.