开发者

adding a web form aspx page to WCF project

开发者 https://www.devze.com 2023-04-09 14:11 出处:网络
i need to build a project that has a WCF .svc service and some web pages in the same c# project. Is there any pr开发者_JS百科oblem in doing this? if I create a project of type WCF project using Visual

i need to build a project that has a WCF .svc service and some web pages in the same c# project. Is there any pr开发者_JS百科oblem in doing this? if I create a project of type WCF project using Visual studio 2010, it lets me add web forms to it. Once I publish to IIS, i should be able to hit the .svc url and .aspx urls seamlessly under the same root url.

Any problem in doing this in the long run?


No, no problems. This ought to work.

If you want to use MVC then it's probably better to start from that template and add SVC components.

Do think about authentication and authorization upfront.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号