摘要: 添加Areas主要目的是区分一些不同的业务,避免不同的业务都在同一个Controllers下造成混乱,在MVC项目上右键->添加区域->我添加了HMbolie和PClient两个区域->如下图 HMbolieAreaRegistration.cs和PClientAreaRegistration.cs 阅读全文
posted @ 2016-01-27 10:20 ligl007 阅读(911) 评论(0) 推荐(0) 编辑
摘要: throw new System.ServiceModel.Web.WebFaultException("\"mes\":\"认证信息失效\"", System.Net.HttpStatusCode.Unauthorized);需要引用System.ServiceModel.Web.dll 阅读全文
posted @ 2015-11-30 10:58 ligl007 阅读(1744) 评论(0) 推荐(0) 编辑