Alex J
Alex J

Reputation: 1567

adding a web form aspx page to WCF project

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

Answers (1)

Henk Holterman
Henk Holterman

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

Related Questions