Quantcast
Channel: Web API
Browsing all 4850 articles
Browse latest View live
↧

WEB API

Hi All,i want to export data into excel format  from database in  WEB API

View Article


Posting String To Web API

Hi, I am using angularjs to post to web api. However, I am coming across a problem when it comes to posting a simple string. The string is not being picked up by the web API. The post body consists of...

View Article


Why does a Web API project come with MVC views and client script libraries?

I am new to Web API. According to what I've learned, Web API is a backend technology used to serve other servers and AJAX requests.So I don't understand, why does the Web API project template come with...

View Article

Intergratin Autofac to ASP.NET WEPAPI with UnitOfWork to Create Single...

+i created a UnitOfWork with entity framework DbContext initialization as private DbContext context = new DbContext(); All workings were great until i wanted to update a field in the database. The...

View Article

WEB API

Hi All,How to import excel file into WEB API  and   data should be save into database

View Article


Getting NULL Deserialize value using Web API Passing Token and ID

I am new to web api. I am not sure if my syntax is correct. Please if you can provide some guidance.the web api takes two "parameters". #1 A token (which I retrieved from another api) and #2 A ID from...

View Article

HATEOAS sample

Can I have some samples related to HATEOAS using C# RESTFul WebAPI . I am currently researching about hypermedia. So it would help me if I get some samples related to it.

View Article

Regarding web api action method name

i am new in web api. just go through a write up from this url http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-apijust saw two action has been defined in...

View Article


How to call custom action by jquery

suppose the below code is my web api codepublic class ProductsController : ApiController { public IEnumerable<Product> GetAll() {} public Product GetById(int id, double version = 1.0) {}...

View Article


Setting web service endpoint just once

I have an ASP.NET web application in Visual Studio 2015.  I have updated it to consume web services from a third-party which has provided a WSDL file as follows:I copied the WSDL file to my project...

View Article

What is the convention of action method name in web api

i have no idea about web api but some time saw web api action method name start with PUT,POST, GET etc. is it mandatory that my action method name has to start with PUT, POST, Get, Delete etc.please...

View Article

Regarding Token in web api

what is bearer token ?how many different kind of token generation technique exist ?token is at all secure if any https/ssl is used ?how to generate token and also how to do the same if expire with...

View Article

How to call web api function Get(),Get(string id),Post(),Put(),Delete() by...

just read this article http://www.codeguru.com/csharp/.net/using-custom-action-names-in-asp.net-web-api.htmand do not understand if my web api look like below then how to call it by jquery ajax public...

View Article


Dynamically Token generation which would exist or consider as valid for next...

anyone can tell me what logic i should use to generate token writing code which would consider as valid for next 5 minute without storing anything in db.thanks

View Article

In Web api how do i know which method is action and which are not?

web api controller has 5 method now how do i know that 5 method is action method?in MVC all action method return type is ActionResult but the the situation is not same in web api. so how to know which...

View Article


Custom action name and web api

how could i have Custom action name in web api ?what convention one need to main to have Custom action name in web api ?how to call custom action name with the help of jquery?suppose my action name...

View Article

Few basic issue about ASP.Net Web Api Routing and Action method

i am new in web api. just reading article on it to get hold of this technology. i have good reputation in this site but apologized that i am going to post few basic question on web api routing and...

View Article


Looking for Best Way to Validate Web API Get Request

Hi All,I have got a requirement like:To validate a GET request inputs to my web API action method, this is coming as query string parameters.Eg :-GET...

View Article

how to work with web api 2 with VS2013 IDE

i do not know is it possible to work with web api version 2 when i am working with VS2013 IDE?how to detect my web api version too....guide plzz.thanks

View Article

asp.net web api authentication and authorization in restfull

I'm developing api's for a game and I need to know in each call witch user in game called server api's.I've read RESTFULL api is state less and By adding session (or anything else of that kind) you are...

View Article
Browsing all 4850 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>