Adding custom code when installing Umbraco from zip-file
Hello!
I've opted for a fresh Umbraco project to use the installation method wherein you download a zip-file containing all the Umbraco files instead of the way I usually do it, which is creating a Visual Studio project and installning Umbraco via Nuget.
My question is, how would one go ahead and add C#-classes now, since im running everything inside visual studio code and I do not have a build-step setup yet.
Can I just add the classes I want, and simply reset the IIS-instance and have the code be compiled that way?
Adding custom code when installing Umbraco from zip-file
Hello!
I've opted for a fresh Umbraco project to use the installation method wherein you download a zip-file containing all the Umbraco files instead of the way I usually do it, which is creating a Visual Studio project and installning Umbraco via Nuget.
My question is, how would one go ahead and add C#-classes now, since im running everything inside visual studio code and I do not have a build-step setup yet.
Can I just add the classes I want, and simply reset the IIS-instance and have the code be compiled that way?
Hi
I am not sure if its required, but when working in that way i would put my code in an
App_Code
folder.updating the .cs files in the folder should cause the site to recompile. so you shouldn't also need to reset IIS while developing your code.
Thank you very much Kevin!
is working on a reply...