Sorry, but I am not sure what causes the problem, and the problem isn't happening right now. I'll have to describe from memory.
So I've started creating WCF Service Applications. Sometimes, when press F5 to run the project I get the correct screen, a screen that says:
Service1 Service
You have created a Service.
To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:
and so on and so on. But after I've done a little editing, sometimes I will run the project again, and the browser, instead of loading the above screen, will show me the directory containing the files.
What is going on? How can I fix(?) the problem and prevent it from happening again?