webhttp

WCF problem with POSTs using ssl (https)

微笑、不失礼 提交于 2019-12-19 03:39:54
问题 I currently have a webHttp binding WCF restful service, it works great over http, I can make Post of large sizes due to my webconfig settings, now I am trying to use it over https (ssl), now my gets work fine, but my posts dont, it doesnt work when the file size is over a certain amount, i was wondering why this could be since my webconfig specifies a larger size and it works good over http, here is my relevant webconfig.. any suggestions Thanks <system.serviceModel> <client> <endpoint

How do I extend WCF WebHttp (REST) to support ETags and Conditional Gets?

被刻印的时光 ゝ 提交于 2019-12-11 05:51:55
问题 I have a read-only WCF REST service (all GET 's baby!) I'd like to add ETag/Conditional get support to every single operation in my service. Basically I'm interested in extending the technique in this article: http://blogs.msdn.com/b/endpoint/archive/2010/02/25/conditional-get-and-etag-support-in-wcf-webhttp-services.aspx My site is backed by a couple of XML files, and my app knows (and raises an event) when any of them change. I don't understand where the extension points are though. How do

Get raw xml from POST method in service implemented using WCF WebHttp API

十年热恋 提交于 2019-12-11 03:45:26
问题 I am building a webservice using RESTful approach and am using WCF WebHttp API (.NET v4). To satisfy some legacy functionality I need to accept raw XML message via POST and process it..For example one of my methods looks like: [WebInvoke(UriTemplate = "Hello", Method = "POST")] public Message ProcessMessage(string xmlMessage) { if (String.IsNullOrWhiteSpace(xmlMessage)) { return WebOperationContext.Current.CreateXmlResponse(ProcessingFailedReply); } var message = XElement.Parse(xmlMessage);

Benefits of using NancyFx? [closed]

夙愿已清 提交于 2019-12-03 06:30:55
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago . There is yet another framework for making HTTP calls called NancyFx. My question is what are the benefits of using it. I had quick look at the documentation: https://github.com/NancyFx/Nancy/wiki/Documentation and it looks like there is no outstanding feature due to which I

Benefits of using NancyFx? [closed]

孤街醉人 提交于 2019-12-02 21:07:12
There is yet another framework for making HTTP calls called NancyFx. My question is what are the benefits of using it. I had quick look at the documentation: https://github.com/NancyFx/Nancy/wiki/Documentation and it looks like there is no outstanding feature due to which I would like to use this. What are the benefits of using it over WebHttp? P.S: I keep reading about some strange phrase that keep repeating again and again "super-duper-happy-path". Is there anything apart from this "super-duper-happy-path"? Any real features implemented? It appears that it offers a different approach to

Setting Max Message and buffer size for WCF webhttp

邮差的信 提交于 2019-11-26 23:05:15
问题 I currently have a WCF service with webHttp bindings, im attempting to increase the max size that can be inputted to the service by overriding the default settings in config, i have tried doing something like <system.serviceModel> <bindings> <webHttpBinding> <binding name="webHttp" > <security mode="Transport"> <transport clientCredentialType = "None" proxyCredentialType="None" realm="string" /> </security> </binding> </webHttpBinding> </bindings> <services> <service name=