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

Web API book for begginers

hi don't know mvc, i want to learn web api with asp.net web site and create restful web service.what is the good book to learn web api? (from 0 level)

View Article


Upload memory stream with form data

I am looking for a way to upload a file to a memory stream along with additional form data, without saving the file to the local file system.I have looked at the MultipartMemoryStreamProvider and the...

View Article


Passing complex type containing array of complex types to Web API

I'm trying to pass a complex object containing a collection of complex objects to an ASP.NET Web API controller action method, but there's a catch: I have to pass it either in the querystring, or...

View Article

[Arduino] send GET request

Hello,I would like to connect my arduino to my webservice, but it blocks on the open.here the code : "[...] wifly.open("xxx.azurewebsites.net")[...]". Do someone know why ??Thanks a lot.

View Article

404 Error in IE (only) on IIS

Hey guys,I'm trying to implement HTML5 drag and drop asynchronous multi file upload and have been able to do it locally on IE, Chrome and FF. I use Visual Studio 2012 with MVC4 Web API. I provide the...

View Article


Where can i find sabre tutorials with asp.net?

HI Folks,First of all happy & prosper new year. now coming to my question i have been trying hard from 3 days straight to find sabre tutorials on google but i cant find it anywhere. I have this...

View Article

Web API with CORS

Hi,i"m having a problem with CORS on my web api. I can retrieve a token from another domain but when I send the token in the header and call the methods with ajax .../api/account/userinfo I get an...

View Article

Restricting the fields returned by an EntitySetController

I'm using an EntitySetController in my WebAPI. I am not using EF, I'm intercepting the queryoptions and retrieving the data from the backend using our custom DAL.Basic authentication is used on the...

View Article


Asp.net Identity MVC 5 ODATA problem

I amd using Asp.net Identity got this error after referencing IdentityUser. How do i solve this issue?  An exception of type 'System.InvalidOperationException' occurred in System.Web.Http.OData.dll but...

View Article


Securing your web api?

We are in the beginning stages on creating our web api. We plan to use it for both internal apps and our web site. Our api will actually be hosted on different machines than our main website so they...

View Article

Support Optimistic Concurrency with Delta

HiI've got a WebAPI OData controller which is using the Delta<T> to do partial updates of my entity.In my entity framework model I've got a Version field. This is a rowversion in the SQL Server...

View Article

How to handle big list to return from Web API

I have a web api resource which returns a list of employees, e.g (api/employees), the problem is I'm returning all rows from the database and for some reason my browser crashes when im getting this...

View Article

RPC calls in WEB API

Hi Guys,I am tasked to convert some web services (ASMX) to a RESTful API.  I know that REST is a resource based approach and the old web services are using a remote procedure call style.  My problem is...

View Article


how to call Add and Update product from jquery

hi i am new to web apihow to call Add and Update Product in this example from jqueryhttp://www.asp.net/web-api/overview/creating-web-apis/creating-a-web-api-that-supports-crud-operations

View Article

Handling bursty traffic in self-hosted scenario

HiI'm developing a REST service using the Web API 2 that needs to be able to handle bursts of incoming traffic. I'm thinking several hundred requests that are processed in parallel and that are all...

View Article


how to register extension method as webmethod ?

hi i'm trying to extend my webservice funtion using extension method like this..  so that helloworld2 can be also called by jquery ajax? how do i do that?is that possible or not?if possilbe then...

View Article

OData for a Custom Provider

Hallo,I want to build a custom Odata Api with ODataController and as a client using breeze js.Right now I have seen a lot of examples that uses the Entity Framework and his IQueryable Interface.My...

View Article


Secure Web Api service data

How can I protect my Web Api service deployed on Azure against man-in-the-middle attacks (like Fiddler technique)? And how can I control the number of requests per minute from the same user and add him...

View Article

Image may be NSFW.
Clik here to view.

Change AspNetUser table name and add additional field

Hi all,first of all i would like to say Happy New Year 2014 although it's late.I have following codes :datacontextpublic class SocialContext : DbContext { public SocialContext() :...

View Article

Room Location is not getting booked while creating meeting request through...

Hello All,I am using EWS Managed API in my C# Application, while creating meeting request the location which I select is not getting booked bydefault as it we do it from normal outlook below is code...

View Article
Browsing all 4850 articles
Browse latest View live


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