WCF Globalization
I have a WCF service using netTcpBinding (the protocol should not be relevant but included it anyway).
I am having Culture issues with parsing dates.
Previ开发者_JS百科ously, using HTTP and System.Web, we can use the globalization element.
Unfortunately this has no effect in WCF.
I Have had trouble finding information/blogs about this.
Is there a way to set the culture in a WCF service in the configuration file?
Thanks very much
Russell
There is nothing intrinsic to WCF to help with this. However, there is a proposed web service standard called WSI18N which Pablo Cibraro, a pretty big name in the WCF community and a Microsoft MVP, has written a CodeProject article about along with sample code to leverage this standard within WCF.
精彩评论