Upload file on server using ASP.NET WEB API

Introduction : This article will help you to understand how to Upload file on server using Asp.Net WEB API. If you are looking for a solution to implement such functionality where user can access this feature from any platform whether it is web, desktop or mobile platform. Examples – DropBox, Google Drive, Facebook etc. We can upload files on their server from any devices either from mobile, web or desktop. You have to create WEB API and expose it to user in order to accomplish this task. Basically ASP.NET developers using HTML file input fields and form submission to upload file Read More …

Share Knowledge

Creating your first WEB API Project

Introduction Whenever we talk about WEB API the very first question come in our mind is what actually is API. API stand for “Application Programming Interface”. From Wikipedia definition – A Web API is an application programming interface for either a web server or a web browser. It is a web development concept, usually limited to a web application’s client-side (including any web frameworks being used), and thus usually does not include web server or browser implementation details such as SAPIs(Server Application Programming Interface) or APIs(Application Programming Interface) unless publicly accessible by a remote web application. In short with the help of WEB API we can create interface which is easily accessible for other software to Read More …

Share Knowledge

How to secure ASP.NET Web API using basic authentication

secure ASP.NET Web API using basic authentication

ASP.NET Web API allows us different ways to implement security while exposing resources. In previous article we have learned about how to secure ASP.NET WEB API using token based authentication. In this article we are going to learn how to secure ASP.NET WEB API using basic authentication. Basic Authentication is easy to implement, expose and consume and is widely supported by any Web client, but it’s not as secure as token based authentication and it requires that SSL(Secure Sockets Layer) is used to keep the encoded credentials in order to safe application from simple attacks. Implementation of ASP.NET Web API Read More …

Share Knowledge