Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Need advice w/ debug scenario

$
0
0

Hi,

I'm developing an MVC 5 app that uses Facebook authentication which means I register my app's URL with Facebook while the app is in development/sandbox mode.

When I debug the app locally, it just goes to localhost:{SomePortNumber} as usual. I also have a staging server where I'm testing the app in an identical environment as the production server.

Currently, I need to keep updating the app's URL on Facebook back and forth as I test my app locally or on staging. I remember reading some creative workaround somewhere about using hosts files and telling VS to use a fake domain during local debugging.

Anyone familiar with this technique? Or can anyone suggest a good solution so that I and others in my dev team don't have to keep updating the sandbox URL on Facebook while we're debugging it?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>