摘要:
1.使用虚拟目录是,后端中的重定向等该如何处理 string path = filterContext.HttpContext.Request.ApplicationPath; if (path == "/") { path = ""; } filterContext.Result = new Re 阅读全文
posted @ 2021-05-08 12:25
奥兰王子
阅读(452)
评论(0)
推荐(0)
摘要:
自己代码中的配置信息 //windows身份验证使用的 <appSettings> <add key="ConnctionStr" value="server=1.1.0.1;database=1;integrated security=true"/> </appSettings> //sql se 阅读全文
posted @ 2021-05-08 12:21
奥兰王子
阅读(1429)
评论(0)
推荐(0)
摘要:
一个简单的解决方案是:不管是服务端还是客户端,在web.config下 的system.serviceModel标签下方增加一个没有设置名字的Binding默认配置就行了。 具体配置如下: <system.serviceModel> <bindings> <basicHttpBinding> <bi 阅读全文
posted @ 2021-05-08 12:16
奥兰王子
阅读(343)
评论(0)
推荐(0)