You must Sign In to post a response.
  • Category: ASP.Net MVC

    Upload a file to sql server and download it from sql server in asp.net mvc web api using

    Dear All

    I'm very new in asp.net mvc web api (APIController)and knockout js but i want to upload a file to sql server and download it from sql server in asp.net mvc web api using knockout js , i'm looking for a good example code of this requirement .

    Thanks
    Sathik
  • #761086

    hi
    sathik

    You can go through below links

    http://www.dotnetcurry.com/aspnet-mvc/856/fetch-image-aspnet-mvc-webapi-httpresponsemessage

    http://www.dotnetcurry.com/aspnet-mvc/847/application-using-knockoutjs-jquery-webapi-aspnet-mvc-4

    http://www.devcurry.com/2013/05/uploading-multiple-files-through-aspnet.html


    Name : Dotnet Developer-2015
    Email Id :kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #761092

    Hello Sathik,

    Refer the below links :

    http://www.codeproject.com/Articles/308552/Upload-and-Download-Files-to-SQL-Servers-in-ASP-Ne

    https://damienbod.wordpress.com/2014/04/08/web-api-file-upload-with-ms-sql-server-filetable/

    http://www.c-sharpcorner.com/UploadFile/2b481f/upload-files-in-and-download-files-from-database-in-web-api/

    http://www.aspdotnet-suresh.com/2013/01/aspnet-download-and-upload-files-to.html


    Hope this will help you.


    Regards,
    Nirav Lalan
    DNS Gold Member
    "Failure is the path of least persistence"

  • #761094
    Thanks for your valuable response,

    Could you please give me the same concept coding using knockout js and API Controller because i'm very new in this concept, last 5 days i'm searching this related concept in internet but not yet received.

  • #761140
    Hai Sathik,
    You can use the code using the HTML controls to implement the similar functionality in ASP.Net MVC.
    Below is the article which will be helpful to upload an download the files using ASP.Net MVC:

    http://rachelappel.com/upload-and-download-files-using-asp.net-mvc

    Hope it will be helpful to you.

    Regards,
    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)
    pawansoftit@gmail.com


Sign In to post your comments