Feeds:
Posts
Comments

Archive for February, 2010

While testing some web services, I was not-so-pleasantly surprised to find that WCF cannot disambiguate two methods when one is a GET nd the other a POST: [OperationContract] [WebDispatchFormatter] [WebGet(UriTemplate = "/{encodedGameId}?startDate={startDate}&endDate={endDate}&tag={tag}")] Contracts.Out.Statistics GetStatistics(string gameId, string startDate, string endDate, string tag); [OperationContract] [WebInvoke(UriTemplate = "/{encodedGameId}", Method = Verbs.Post)] void AddSample(string gameId, Contracts.Sample newSample); [WebDispatchFormatter] If [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.