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

2 posts, 0 answers
  1. Bobby
    Bobby avatar
    1 posts
    Member since:
    Jul 2019

    Posted 30 Jul 2019 Link to this post

    Apologies as this is a beginner question.

    I have been trying to get uploads working, such as this one:

    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?


  2. Nikolay
    Nikolay  avatar
    133 posts

    Posted 31 Jul 2019 Link to this post

    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.
    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.
Back to Top