VS2012 debugging server side code with Google Chrome - visual-studio

I work on an asp.net mvc app.
This morning I was able to debug my server side code from a Google Chrome browser instance. I simply select Google Chrome in place of Internet Explorer in my VS2012 then click on it to run the app. When a breakpoint was reached (for example in my controller) it switch automatically to VS2012 for debugging.
This afternoon I am not able to do it again with Google Chrome. Only able to debug with Internet Explorer.
Any idea what's wrong?

It shouldn't matter which browser you tell VS to open your website in. If your debugger is attached to your C# your breakpoints should be hit as long as you're using the correct URI defined by your MVC app. I use fiddler and postman to debug my controllers all the time. Are you sure you didn't make any changes that would cause Chrome to make an incorrect request? Or perhapse the browser has cached old code and that's why the breakpoints are not being hit? I always open Chrome with ctrl + shift N to avoid having any caching issues.

Related

Cannot start web-simulator on google actions for API.AI project

I am working on Google Cloud Platform to develop a project in API.AI, I have an integration (in API.AI) with Google Actions (for Google Home or Google Assistant), they provide me to see my progress as real time in web-simulator, that you can find here:
https://developers.google.com/actions/tools/web-simulator
I am trying to START the web-simulator clicking on START button, then I get a window pop-up but after open, it closes, I try and try again but I obtain the same result, I cannot open the web-simulator. I have allowed the popup windows in my browser.
Of course I have completed all steps to start web-simulator...
I don't know what is happening. Someone can help me? Thank you, have a good day.
First, are you using a compatible browser? Try it in Chrome if you're
not already using it, as Chrome is a Google product, and so is the
web simulator.
Next, are you using any Ad-Blockers or
Script-Blockers like NoScript? If so, try disabling them, as they
could interfere with the operation of the tool.
If it still doesn't work, try going to an Incognito Windows by pressing the
three dots button and opening a New Incognito Window. Go to the page, and log
in. This will ensure that no cookies are interfering.
At this point, if you're still having issues, try a different browser.
(Either Firefox or Opera)

do classic ASP application launch Firefox as default?

I am currently working with a classic ASP web application. What I'm wondering about is how it knows which browser to launch, I've looked over everything and am unable to find anywhere that it says to Launch Firefox in order to open the application. If i have firefox uninstalled, then it launches Chrome, however, when I hvae both Chrome and Firefox, then Firefox launched even if I have Chrome set as my default browser. Anyone have an idea?
your asp code has no connection whatsoever with what browser is used, it's browser independent. in order for you web app to run, you must open a browser FIRST, then go to the url of your web app, which will then fire off the asp code. It would be a huge security issue if i went to a web site, and it decided to open a different browser on my computer!
if you want to set Chrome as your default browser, follow these instructions:
https://support.google.com/chrome/answer/95417?co=GENIE.Platform%3DDesktop&hl=en
for firefox - https://support.mozilla.org/en-US/kb/how-change-your-default-browser-windows-10
for IE - https://support.microsoft.com/en-us/help/17435/windows-internet-explorer-make-default-browser
Your default browser is a different setting than the "open this file type with this program" setting. If double-clicking an .asp file opens in Firefox, then that's the latter type of setting.
To change it, right-click an .asp file, choose the "Open with >" option, then "Choose default program...".
That all said, 99.999% of users will never have occasion to double-click an .asp file, because most of us don't use web servers as our normal everyday computers.

Debugging web application causes Google captcha

Not sure if this is the right place to ask this question, but I am seeing an annoying issue when debugging ASP MVC applications on visual studio.
After pressing F5, Firefox opens and everything works normally, but after doing this a few times, when I try searching anything on google from the same network I am presented with multiple captchas (usually 2 at a time).
It seems that Google thinks there is some suspicious activity going on on my computer, but of course everything is just fine.
I am still able to search normally through Chrome, IE etc.
Has anyone else expereienced this issue? If so is there perhaps an option within VS or in my browser to prevent this from happening?

Google developer console not loading in Chromium on Debian 7

I am using Debian 7 and Chromium browser.
I'm setting up OAuth authentication via google developer console, but for some reason when I enter https://console.developers.google.com, browser starts loading the page, saying "Waiting for console.developers.google.com" and is stuck forever.
Once in ~7 times it eventually loads the page, but then when I click on any tab, it freezes again.
Anyone experienced something like that?
P.S. On Windows everything's fine.
P.P.S The problem is specific for Chromium browser. Chromium also glitches with google+ notifications - they won't load.
you can try loading Google developer console in privacy mode, meaning opening the console from https://cloud.google.com/ in an incognito window.
"If it works there, it means one of your extensions is causing the security problem and you should remove it." as it explained on the Google Chome Help page :'Fix connection errors.' (Your connection is not private > Tip 2: Try opening the page in incognito mode.)

Entity.Include() + local IIS development setup + Chrome = long browser requests

I have an ASP.NET MVC3 web application with EF Code First. It's set up to debug using my local IIS (as opposed to the Visual Studio 2010 Developer Server). I also have Google Chrome set as my default browser.
If my repository layer uses the .Include() method, Chrome takes at least 10 seconds to return the page, usually more than 30 seconds. I can step through the debugger all the way to the View very quickly, and yet Chrome still takes that long to finish serving the page.
This problem goes away if I do any of the following
Take out the .Include()
Use IE or Firefox
Use VS Development Server instead of local IIS
I have no idea why this would happen, or how to further troubleshoot it.
Turns out it was the Glimpse NuGet package. I disabled it in my web.config and it works fine now.

Resources