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

HttpResponseMessage

my exception is Request value is null ???if you handled this before please help[HttpPost] public HttpResponseMessage PostNewEvent([FromBody] EventsModel Modle) {try { HttpResponseMessage Response;if...

View Article


OData $expand + $orderby not working !

hi all,I try to sort my expand array , but it not working .~/api/products?$expand=models($orderby=id desc), the results is all come out , but without sorting id desc . What 's wrong ? 

View Article


Connect Yahoo mail using Web API problem

'I'm new in Web API.  I wanted to connect to my Yahoo Mail Inbox using ASP.net + Web API. Is this possible or need to use Web Service? Can anyone provide some example or give an idea how to do it....

View Article

DocumentDB AspNet Identity

Has anyone had any experience using NuGet DocumentDB.AspNet.Identity (http://www.nuget.org/packages/DocumentDB.AspNet.Identity)?Is there any other nuget package available for this job? I would like to...

View Article

Simples Routing just like ReWrite problem

I tryed to make what I thoughted to be a easy Routing, but it seams I'm doing it wrong...I'm trying to turn something like this:<rewriter><rewrite url="~/Login.aspx"...

View Article


Store Value as Per Web API Request (Like Session in web Application)

Hello Team,in Web Application we can use session to store per user data.i want to do same thing with mvc web api,Please suggests how to handle in web api.Thanx in Adavance.

View Article

How to resolve MTOM exception error when consuming a JAVA SOAP WEB SERVICE...

Hi, I'm using vs2013, asp.net and c#.I'm getting this long exception message when I call an API method.  I attached the message file.   The java soap api uses MTOM protocol.  I think this creates the...

View Article

How to do a jquery ajax call while consuming a web api

Hi All,I have a task of achieving something like , I have a button and a textbox . The input is some 4 digit. When I click on the button, I should bind the data in an HTML table. All this should be...

View Article


WebApi login mas https

Hola, Estoy intentando agregarle seguridad a mi webapi pero no me funciona si las peticiones vienen por https.Si las peticiones las realizo con http si me pide login.Me ayudan a detectar porque no...

View Article


Web api or WCF?

I was happily building my mvc5 app with EF connected to my DB for crud, when my boss said, "Use a service to connect to the database. I don't care how you do it."  I have never worked with services...

View Article

How do you access restful services using C#?

Hi;I have a restful client that I created in C# using web api 2. I am trying to write a client in C# that I can access that restful service. I am using .net 4.5.1 and every example I have seen uses...

View Article

The requested resource does not support http method 'GET'

Good Day All i have a web api with a controller like this public class RegistrationController : ApiController { [System.Web.Http.AcceptVerbs("GET", "POST")] [System.Web.Http.HttpGet] public int...

View Article

Routing with parameter and parameter not included on URL

I've seen a few examples about routing using parameters, but the parameters are included on the URL.Something like this example:Request to /Default.aspx?lk=login  ==> route to...

View Article


ASP.NET Web API not Integrating with ASP.NET MVC

Hello All, I need help of people who have knowledge of  ASP.NET Web API  integration with  ASP.Net MVC I have built an ASP.NET Web API web service and it is working nicely in that when I type the URI...

View Article

using Telegram in website.

Hi ;I have a website , I wrote this website with ASP.net & c# , and my bank is SQL server.Now I want to use the telegram in my website, I want to send messages or news to people and groups and also...

View Article


Web API using entity framework

I would like to developed Web API using entity framework. Database First scenario and calling stored procedures rather than linq queries. Is there any book outhere? I can't find. Or some learning...

View Article

save data in HttpContext.Current.Request from IHttpActionResult "PostFile" to...

Hiplease i have an kendo ui uploder which is upload file async from an popup in Kendo ui Grid - and i can get file data throw: public IHttpActionResult PostFile() { var request =...

View Article


Image may be NSFW.
Clik here to view.

Angularjs with api - can't get file data in api controller throw angularjs ?

Hii try here to save form into database throw web api with angularjs - i can get all data but i can't get any data from file upload input ?! i need to get data from it to let me save it and upload it...

View Article

Returning arbitrary JSON from a stream

I'm trying to create a Web API controller that gets JSON data from Azure Table Storage using the Azure REST API and returns it to the client.I don't want to waste any processing time or resources...

View Article

Visual Studio 2013 Can't Debug Web API?

I've suddenly (within the last week or so) lost the ability to debug web API code in Visual Studio 2013 (Premium, update 3) on my Windows 8.1 development machine. I used to be able to put breakpoints...

View Article
Browsing all 4850 articles
Browse latest View live


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