Reputation: 1567
i need to build a project that has a WCF .svc
service and some web pages in the same c# project. Is there any problem 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?
Upvotes: 3
Views: 2091
Reputation: 273504
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.
Upvotes: 1