Browser-sync: Using it with asp.net web MVC application

Created on 25 Nov 2013  Â·  6Comments  Â·  Source: BrowserSync/browser-sync

It is possible to use browser-sync with an asp.net MVC application.

Most helpful comment

You can run something like:
browser-sync start --proxy "localhost:12345" -files "files/**/*.css"

This will run browser-sync and proxy the IIS Express instance you have running on port 12345 in the case of the example.

All 6 comments

Are you stating that you've used it successfully with ASP.net?

Sent from my iPhone

On 25 Nov 2013, at 15:59, nim23 [email protected] wrote:

It is possible to use browser-sync with an asp.net MVC application.

—
Reply to this email directly or view it on GitHub.

No just asking if it's possible to use browser-sync with ASP.net applications.

Yeah sure - just run browser-sync WITHOUT the server option & it'll give you a HTML snippet that you can paste into the footer of your website.

Thanks,

You can run something like:
browser-sync start --proxy "localhost:12345" -files "files/**/*.css"

This will run browser-sync and proxy the IIS Express instance you have running on port 12345 in the case of the example.

@shakyShane Can you share an example? Mine doesn't get the port i give because probably it is used by IIS.
Edit: I understand a little late. It serves from proxy. Great.

Was this page helpful?
0 / 5 - 0 ratings