WCF http binding
问题 I create a wcf service application and a asp.net mvc project(as client). I added my wcf service via Add Service Reference file to my asp.net mvc reference. I use Entity Framework to connect DB in my wcf application. I have a UserManagement.svc.cs service. This is my UserManagement.svc.cs codes: public class UserManagement : IUserManagement { iFlowEntities db = new iFlowEntities(); public void AddRole(role role) { db.roles.Add(role); db.SaveChanges(); } public List<role> RoleList() { List<role