摘要: WebHttpBinding bd = new WebHttpBinding(); //WebServiceHost sh = new WebServiceHost(typeof(Bl_x), new Uri("http://localhost/xxii")); //ServiceHost sh = new ServiceHost(typeo... 阅读全文
posted @ 2017-05-02 17:03 hi..... 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 如何开启WebApi里面的Session,请参考:http://www.cnblogs.com/tinya/p/4563641.html 正如上面的原理部分说的,登录如果失败,则直接返回;如果成功,则将生成的票据Ticket带到前端,传到主界面/Home/Index,下面,我们就来看看主界面Home 阅读全文
posted @ 2017-05-02 16:23 hi..... 阅读(509) 评论(0) 推荐(0) 编辑