Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
655
How to implement a WebAPI to handle the files uploaded?
posted

Hi,

Is there any existing ASP.NET WebAPI implementation in the server side?

If no, how can I implement it?

The web api controller I want to implement will be hosted on IIS or self host server.

Any suggestion?

Thanks in advance.

Best regards

Parents
No Data
Reply
  • 29417
    Offline posted

    Hello Zach_Shine ,

    Thank you for posting in our forum.

     

    Currently the uploading of files for our igFileUpload control is achieved via a special HttpModule that’s a part of the Infragistics.Web.Mvc assembly.

    It implements the .NET IHttpModule interface so that it plugs into the HTTP Request process. Therefore all the requests, even those that are not coming from the upload control, pass through that HttpModule. The HttpModule then filters the requests that are relevant only to the upload control.

     

    For more information on how the module and the additional status handler can be added to your application you can refer to the following article from our documentation:

    http://help.infragistics.com/doc/jQuery/2013.2/CLR4.0/?page=igUpload_Using_HTTP_Handler_and_Modules.html

     

    If you need to implement something similar with a WebAPI then you could refer to the following post:

    http://blogs.msdn.com/b/henrikn/archive/2012/03/01/file-upload-and-asp-net-web-api.aspx

     

    Let me know if you have any additional questions.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer II

    Infragistics, Inc.

    http://es.infragistics.com/support

     

Children
No Data