
web api ,wcf
Bill11YAng
这个作者很懒,什么都没留下…
展开
-
WCF 对应的映射
Simplified Configuration - WCF | Microsoft Docs V<protocolMapping> <add scheme="http" binding="basicHttpBinding" bindingConfiguration="MyBindingConfiguration"/> <add scheme="net.tcp" binding="netTcpBinding"/> <add sch...原创 2021-12-15 19:04:54 · 421 阅读 · 0 评论 -
Now Web API will treat GeoPoint as a simple type
[TypeConverter(typeof(GeoPointConverter))] public class GeoPoint { public double Latitude { get; set; } public double Longitude { get; set; } public static bool TryParse(string s, out G...转载 2019-02-01 15:34:06 · 131 阅读 · 0 评论 -
WCF中可以使用SVCUtil.exe生成客户端代理类和配置文件
https://www.cnblogs.com/scottckt/archive/2012/05/20/2510716.html转载 2019-02-11 18:05:08 · 461 阅读 · 0 评论 -
webapi2 的简单规则
Nginx NHibernate WebApi httpget 函数里的参数是正常的 httppost 函数里的参数前需要加[FromBody],在请求时传参时,一个参数用"",多个参数用对象, (参数也有特定的格式,格式不是常见的key-value格式) webapi 模型绑定器寻找的时候,并不是按照key去查找,而是空字符串 路由前置 get请求多个对象? usin...转载 2019-03-22 14:42:03 · 210 阅读 · 0 评论