在mvc中的模型中实现wcf服务 [英] implement wcf service in model in mvc
本文介绍了在mvc中的模型中实现wcf服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这里在mvc项目中,到目前为止我已经创建了一个具有wcf的项目,它从SQl DB中获取/保存记录,所以如何在Model中调用这个项目
然后在控制器
Here in mvc project , so far i have created a project which has wcf, which fetches/saves records from SQl DB, so how to call this project
inside Model & then in controller
推荐答案
请尝试以下链接 -
使用ASP.NET MVC,WCF和LINQ进行N层开发 [ ^ ]
使用ASP.NET的N层体系结构示例MVC3,WCF和实体框架 [ ^ ]
在ASP.Net MVC应用程序中访问WCF服务 [ ^ ]
如何将WCF和MVC用作客户端 [ ^ ]
ASP.NET MVC 4应用程序中的主机WCF服务库 [ ^ ]
Try the following links -
N-Tier development with ASP.NET MVC, WCF, and LINQ[^]
A N-Tier Architecture Sample with ASP.NET MVC3, WCF, and Entity Framework[^]
Accessing a WCF Service in an ASP.Net MVC Application[^]
How to use WCF and MVC as Client [^]
Host WCF service library in ASP.NET MVC 4 application [^]
这篇关于在mvc中的模型中实现wcf服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文