This is a migrated thread and some comments may be shown as answers.

How do I use the Sample Service provided with code snippets?

1 Answer 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bobby
Top achievements
Rank 1
Bobby asked on 30 Jul 2019, 09:17 PM

Apologies as this is a beginner question.

I have been trying to get uploads working, such as this one:
https://demos.telerik.com/kendo-ui/upload/async

But it does not work on my server, presumably because I am not running the Sample Service code.

I am not sure where to place the code from the "Sample Service" (which I know needs to be modified).

Where does this code get set up?  Is it run as the Action of the form, or do I need it running on the server?

Thanks.


1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 31 Jul 2019, 01:05 PM
Hello Bobby,

The Sample Service is an illustration of a back-end implementation, adopting the MVC pattern and more precisely ASP.NET MVC. You can use it as a guide on how the service should look but it may need to be adjusted for your server-side back-end programming language, especially if it does not rely on the MVC architecture.

The server-side implementation is in the hands of the developer and will vary depending on the requirements, but in general the Upload component sends a request similar to the one a regular input type="file" would, when used within a form.

Hope this answers your question and please contact us back in case there is something more you may need help with.
 
Regards,
Nikolay
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Bobby
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or