Mohsen
Mohsen

Reputation: 4266

Suppress Asp.net MVC 4 to run the browser

I have an asp.net MVC4 WEB API project as a service for a WPFclient , both projects run when I press F5 so the browser opens , and I can not avoid this behavior.

Any suggestions? Thanks.

Upvotes: 0

Views: 109

Answers (1)

Bern
Bern

Reputation: 7951

Check the startup project's configurations, or solution configuration, to ensure you don't have more than one application or project starting simultaneously in development.

This is similar to setting to Azure Web Roles where you can set your web role to startup both the HTTP and HTTPS endpoints so you can end up with two browsers starting up in debug (F5) mode. Easily fixed by accessing the project's properties where it's configured.

Upvotes: 1

Related Questions