I have a backoffice deployed on server and have the source code on my local computer.
I want to create an Umbraco API and be able to request it but I don't know where do I have to deploy the API on my server ? In which folder ?
Is it the generated project dll to put in the bin folder ?
You can either pop the code in the an App_Code folder. Most developers usually have a separate project to store all the custom .net code. Either is fine.
Personally for a small project I would probably just pop it in the App_Code folder and be up and running very quickly.
Here is an example of one of my API methods. You should be able to pretty much copy what's there.
Request Umbraco API on a server
I have a backoffice deployed on server and have the source code on my local computer.
I want to create an Umbraco API and be able to request it but I don't know where do I have to deploy the API on my server ? In which folder ? Is it the generated project dll to put in the bin folder ?
Hi Ammar,
You can either pop the code in the an App_Code folder. Most developers usually have a separate project to store all the custom .net code. Either is fine.
Personally for a small project I would probably just pop it in the App_Code folder and be up and running very quickly.
Here is an example of one of my API methods. You should be able to pretty much copy what's there.
And this is the url to call the method.
Regards
David
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.