Is it possible to host .svc file on ASP.NET Development Server? How?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes.
If your project type is regular library project then one way is to create a website project and copy the svc file + corresponding service dll’s to the bin folder for that project.
Then, when you run the solution (F5), you will find that the website is hosted in cassini (asp.net development server)
The only catch is that the virtual port is different everytime you run the solution.
However, you can specify the project to run on a specific virtual port as well.
Refer this link on how you can do that