Questions tagged [browser-link]

Browser Link is a channel between your Visual Studio IDE and any open browser, allowing dynamic data exchange between your web application in Visual Studio and the browser. It uses SignalR to facilitate the communications between Visual Studio and the browser.

More information can be found at the MSDN blog post "Browser Link feature in Visual Studio Preview 2013" by Reshmi Mangalore.

83 questions
2
votes
0 answers

All the javascript files are failing to load and it points to the browser-link

I am having an error while trying to load the javascript files, the line that the error is being pointed to is the Browser-link line The inspected HTML is the next:
AAA444AA7
  • 31
  • 2
2
votes
0 answers

UseBrowserLink() causes Response.HasStarted to be set later in the Request cycle, why?

A Interesting Observation In Asp.Net Core the HttpContext.Response.HasStarted property indicates whether the response has startedor not. Once it has started, you can not change the response since some of the bytes have already been sent to the…
RonC
  • 31,330
  • 19
  • 94
  • 139
2
votes
1 answer

Browser Link connection is shown as "Unknown"

I'm using browser link, plus Browser Link Inspector 2017 When loading my website, which is running in IIS, the Browser Link Dashboard shows zero connections to my web project, but 1 connection title "Unknown" I have no idea what the problem is…
Jason Evans
  • 28,906
  • 14
  • 90
  • 154
2
votes
2 answers

Programmatically inject custom script into page body at runtime - like Browser Link

I'm looking for a way to inject a custom script into the _Layout.cshtml purely from code. _Layout.cshtml cannot know anything about it. Just like Browser Link does it. You simple write this: app.UseBrowserLink(); And this gets injected into the…
Snæbjørn
  • 10,322
  • 14
  • 65
  • 124
2
votes
1 answer

Browser Link - Connection Actively Refused

EDIT I believe now the problem lies in the fact that Visual Studio is not launching the server (or whatever it is) for the browser to call back to. I do not know if this is some service, its dependencies, or anything else about it! Original When…
brazilianldsjaguar
  • 1,409
  • 1
  • 20
  • 45
2
votes
1 answer

web essentials browser link not working in asp mvc 6 project

I'm trying to get browser link working so I can use web essentials toolbar in the browser. I'd expect to see some code injected at the bottom of the page source for browser link like in ASP.NET 4 projects but this doesnt seem to be the case with…
Adam H
  • 561
  • 1
  • 9
  • 20
2
votes
0 answers

MVC 5 Browser link causes "blank spam"

I'm using VS2013 Ultimate with a MVC5 project. Whenever I launch my current project, there is a "spam" of blank pages in the solution explorer under Overview (see image at end of post). It has to do with browser link, when I turn that off, the…
Christiaan Maks
  • 3,248
  • 3
  • 23
  • 27
2
votes
1 answer

Visual Studio 2013 Browser Link is not showing other options but Refresh

I'm taking a look at Visual Studio 2013 Browser Link and it seems like there should be other options for the connected browsers, like Design Mode and Inspect Mode. But for me, it's just showing Refresh. I'm using VS 2013 with update 2. The project…
Andre Pena
  • 56,650
  • 48
  • 196
  • 243
2
votes
1 answer

Pros Vs Cons of Browser-Link in VS2013

My application was getting freeze for 15secs when it loads first time. I look into firebug and it shows Browser-Link. So I search, and found this SO post. I uncheck option of "Enable Browser Link" and my application works perfectly. I what are the…
Dhwani
  • 7,484
  • 17
  • 78
  • 139
2
votes
1 answer

Visual Studio 2013 Browser Link not playing well with Firefox - throwing exception

Just now I tried Browser Link with Firefox 27.0.1 while debugging a simple ASP.NET MVC app. I have Visual Studio Ultimate 2013 Update 1. Here's Browser Link Dashboard: I tried changing something in a razor view, pressed Ctrl+S and went to the…
Leniel Maccaferri
  • 100,159
  • 46
  • 371
  • 480
2
votes
1 answer

Browser Link and Web Forms (Design mode doesn't work for ASP.NET Web Forms)

I have been playing around with the new Browser Link feature in visual studio 2013. However, I am not able to get the "Design Mode" feature working for "Web Form" pages. It works fine when I am browsing a MVC page. However, as soon as I add a web…
1
vote
1 answer

Chrome ignoring CSP (Content Security Policy) affecting Browser Link on ASP.NET application using .NET Core

I am trying to get the browser link to work on a .net core asp.net application. Although I am setting the CSP properly (at least I think I am), Chrome seems to be using a default. Here is what I see in the console: This is what I have in the shared…
chesco
  • 151
  • 3
  • 12
1
vote
1 answer

Issue with the browser link on my ASP.NET 3 Core MVC

I have an issue with the browser link on my ASP.NET 3 Core MVC project (i'm a begginer). When I press Ctrl + Alt + Enter, I always get a window asking "Do you want to stop debugging?" Yes -> Stops debugging, doesn't update browser. Non -> Doesn't…
Vectaloss
  • 13
  • 2
1
vote
1 answer

Refresh Razor Class Library changes with BrowserLink

BrowserLink works well with an Asp.net Core webapp, but when it comes to a Razor Class Library (RCL) I just don't see it working. Every time I make a change in a .cshtml view inside my RCL, I have to do a rebuild on the solution to see the change…
Ray
  • 12,101
  • 27
  • 95
  • 137
1
vote
0 answers

Visual Studio 2017 Browser Link with custom url

I work on a few websites in different solutions that integrate with each other. To get them to work properly locally, I have to override the URLs. When I change the url from localhost:[port] to local.mydomain.com:[port], browser link no longer…
Dan Miller
  • 23
  • 2