enable-cors.org
enable-cors.org copied to clipboard
.NET sample is broken
Hi all;
The sample at http://enable-cors.org/server_wcf.html does not work.
- Dictionary should be declared as Dictionary<string, string> (I think).
- The web.config node <crossOriginResourceSharingBehavior /> has required child nodes - no idea what they should be.
- It would be really helpful to make clear where in the web.config file each of those fragments goes. I took a wild guess on the <endpoint ... /> one.
thanks - dave
Thanks for the feedback. Do you have an example of the working code? I'd rather update it based on someone's working code.
Sorry, no. I don’t understand this well enough to figure out what is needed.
However, DarkCompiled at http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataservices/thread/75c6d308-370b-4d30-8a5d-91f9667ea0e2 I think does know it well enough.
Thanks - dave
David Thielen - CTO/founder 303-499-2544 x1185 720-352-0676 (cell) www.windward.nethttp://www.windward.net World's coolest blog - Windward Wrocks!http://blogs.windward.net/davidt Follow me on Twitter – David At Windwardhttp://twitter.com/DavidAtWindward Proud sponsors of the International Collegiate Programming Championshipshttp://www.windward.net/Windward_International_Collegiate_Programming_Championships.php
From: Monsur Hossain [mailto:[email protected]] Sent: Monday, June 17, 2013 8:30 PM To: mhausenblas/enable-cors.org Cc: David Thielen Subject: Re: [enable-cors.org] .NET sample is broken (#42)
Thanks for the feedback. Do you have an example of the working code? I'd rather update it based on someone's working code.
— Reply to this email directly or view it on GitHubhttps://github.com/mhausenblas/enable-cors.org/issues/42#issuecomment-19587547.
+1 for David's third comment. It would be really useful to know where those fields go, saving tons of lookup time. Thanks!