When deploying Site, I use to Hit "Published Web Site " on the visual Studio Project, then it generate compile version of the site W/o .CS (c# files on usercontrol). Then this generate Compile version is the one I used to put on the live site which I believe is the best practices and performance advantage.
My Question is How do I do this on Umbraco solutions? Because I receive errors when doing this.
When you've used the normal download link on codeplex (not the source version) It's allready precompiled so you don't have to worry about that. Just use a FTP program to put your site live. When I create custom functionality such as Usercontrols etc, I always create a seperate Web Application Project. Then I develop my custom functionality in that project, put the compiled DLL in the Bin folder of my umbraco site and the ascx control in the usercontrols folder. It's also a nice seperation between custom functionality and Umbraco.
Sebastiaan wrote a nice blogpost about how to set things up.
Deployment /Published Web Site Compiled
Hi guys,
When deploying Site, I use to Hit "Published Web Site " on the visual Studio Project, then it generate compile version of the site W/o .CS (c# files on usercontrol). Then this generate Compile version is the one I used to put on the live site which I believe is the best practices and performance advantage.
My Question is How do I do this on Umbraco solutions? Because I receive errors when doing this.
Thanks Guys,
Simplicio Jison
Hi Simplicio,
When you've used the normal download link on codeplex (not the source version) It's allready precompiled so you don't have to worry about that. Just use a FTP program to put your site live. When I create custom functionality such as Usercontrols etc, I always create a seperate Web Application Project. Then I develop my custom functionality in that project, put the compiled DLL in the Bin folder of my umbraco site and the ascx control in the usercontrols folder. It's also a nice seperation between custom functionality and Umbraco.
Sebastiaan wrote a nice blogpost about how to set things up.
Hope it helps you,
Richard
Hi Richards,
Thanks for your reply , and yes I will follow your Advice, I guess using separate Project & compile would solve the issue.
Thanks Again Richard
Simplicio Jison Jr
is working on a reply...