Skip to main content
Filter by
Sorted by
Tagged with
9 votes
1 answer
4k views

I am trying to use the new WebAPI beta to build a web service that I can query using the OData query string conventions and have it return OData formatted Json. I also want to use OData 2.0 (instead ...
racingcow's user avatar
  • 769
3 votes
2 answers
3k views

I have an existing set of singleton WCF services. They are long-running processes that do a lot of work on an ongoing basis and expose themselves with WCF service contracts for communication with ...
Nathan Ridley's user avatar
33 votes
1 answer
10k views

I am fiddeling with the new wep api in mvc 4 beta and adding some new api controllers to my existing mvc site. Problem is I can't name the web api controllers the same as my existing controllers. For ...
terjetyl's user avatar
  • 9,585
3 votes
1 answer
631 views

I have two methods like this public class ProductController : ApiController { public Product GetProductById(int id) { var product = ... //get product return product; } ...
dohaivu's user avatar
  • 2,027
3 votes
2 answers
2k views

I'm creating v2 of an existing RESTful web api. The responses are JSON lists of objects, roughly in the form: [ { name1=value1, name2=value2, }, { name1=value3, name2=...
Jonathan Hartley's user avatar
3 votes
3 answers
2k views

Just started my first WCF rest project and would like some help on what are the best practices for using REST. I have seen a number of tutorials and there seems to be a number of ways to do things......
JD.'s user avatar
  • 15.6k
1 vote
0 answers
720 views

i'm trying to test sending a magnet url to utorrent before i go ahead and finish writing my Android app. first i fetch the token like the docs say byte[] encodedLogin = (user.getUsername() + ":" + ...
ZiGi's user avatar
  • 752
0 votes
1 answer
247 views

I'd like to make a tool which accesses a search engine programatically. I've been enjoying using YQL recently and thought it might be useful since it can dig data out of HTML pages. But I tried it ...
hippietrail's user avatar
  • 17.3k
19 votes
1 answer
15k views

Some JSON data services on the Internet are designed to be consumed only by servers and neglect the possibility of being consumed directly by a web-only app. Due to cross-site concerns, such services ...
hippietrail's user avatar
  • 17.3k
1 vote
1 answer
934 views

How can I access header values from a web method in WCF Web API?
Venkateswararao's user avatar
0 votes
1 answer
770 views

I have set up a WCF Web Api service, and everything was working fine, until I started using DTOs to expose data. Previously I had on the WCF Service my model object which was called Game.cs: public ...
Daniel's user avatar
  • 2,554
3 votes
3 answers
3k views

I've found this snippet, which seems to do the job, but I can't understand why it uses StringIO. Isn't f already a file-like object? What is the need to read it, then make it look like a file again, ...
static_rtti's user avatar
  • 56.9k
3 votes
1 answer
3k views

Web API, unlike some of the older Microsoft web service technologies, does not generate WSDL documentation automatically. What's the easiest way for it to automatically generate (or quickly manually ...
tacos_tacos_tacos's user avatar
0 votes
2 answers
382 views

I have had it where the name/namespace/other attributes show up when sending a request, but now they have disappeared and cant figure out for the life of me what changed... I am trying to utilize the ...
overbay's user avatar
1 vote
1 answer
776 views

I've written a custom OperationHandler for my WCF WebAPI project as follows: public class AuthenticationOperationHandler : HttpOperationHandlerFactory { protected override Collection<...
Mahdi Taghizadeh's user avatar
1 vote
4 answers
9k views

I am adding item in ListView using ArrayAdapter. First display 15 item in the ListView. Scroll to bottom it must fetch and display next 15 content from web API. Give some idea.
Jeeva's user avatar
  • 1,155
1 vote
1 answer
2k views

Currently I am using HP Web JetAdmin to manage a fleet of HP products. The interface is great but I am wanting to create some custom applications with custom interfaces. Does anyone know of any way ...
jomille's user avatar
  • 395
0 votes
1 answer
281 views

In the web API my app communicates with, the authentication process is designed in the following way: The user enters the name of the group that he/she belongs to. The server sends the list of group ...
adubr's user avatar
  • 777
11 votes
1 answer
2k views

What is the difference between WCF Data Services and WCF Web API?
Rasmus Christensen's user avatar
20 votes
2 answers
10k views

Is there any API provided by Indian Railways to search its train network, time-tables etc. There are many sites out there which show time-table etc. I searched Google but couldn't find any info on Web ...
Raj's user avatar
  • 4,435
0 votes
2 answers
323 views

I've got a web API that provides data to users without authentication (the website lets users post data, after they've logged in using traditional cookies & sessions). Someone wants to develop an ...
rxmnnxfpvg's user avatar
  • 31.2k
682 votes
18 answers
530k views

I recently found a movie organizer application which fetches its data from the IMDB database. Does IMDB provide an API for this, or any third party APIs available?
tusay's user avatar
  • 7,037
4 votes
2 answers
303 views

I've got a list of 6,000 company names (along with their headquarters address) and I need to find the web address for each of them. I'm considering using the Google Web API (obviously this will take a ...
Sam's user avatar
  • 41
2 votes
3 answers
1k views

Duplicate: this must be a duplicate of one of the questions that come up in the following search: Please close it as a duplicate if you agree, and add any answers to one of the other questions. What ...
BuddyJoe's user avatar
  • 71.4k
117 votes
3 answers
165k views

I want to increase the request timeout for a specific controller action in my application. I know I can do it in the web.config for the entire application, but I'd rather change it on just this one ...
Kyle West's user avatar
  • 9,148

1
755 756 757 758
759