With Web Essentials 2013 in Visual Studio 2013's Browser Link feature, we can hook IDE with developer tools of any browser.
Can we hook it with IE7 and IE8 in the same manner? Perhaps using BrowserStack or those running inside Hyper-V VMs from http://modern.ie/ (using IIS Express or ASP development server)? I couldn't find anything on the internet about old versions.
right now I don't have an older version of that browsers in my computer, so I can't test/confirm, but technically Browser-Link it's built on top of SignalR so it should use the right fallback (long polling, forever-frame and so on).
Finally, it should work.
Related
I didn't find a way to debug using source maps in Internet Explorer < 11.
Does visual studio support debugging with JavaScript source maps?
I'm using Visual Studio 2010 with IE7 and IE8. It doesn't seem to know about source maps. Is there some extension, or anything?
I honestly think you're going to struggle here. Visual Studio doesn't support it, because it leaves it to IE11's dev tools. Older IE versions don't get a look in.
In my opinion, the closest you're going to get is using IE11's compatibility modes to emulate the older IE versions rather than (or as well as) using real copies of the old IE versions.
I know as well as anyone that compatibility mode is not a perfect emulation, but I don't see any other way to do what you're asking.
The only other option I can offer you is to deploy your JavaScript in a non-minified form, at least for those older browsers while you're trying to debug them.
The latest Visual Studio does support JavaScript source maps with IE7 upwards.
You have to use its own debugger.
I'm using Visual Studio 2013 with IIS Express 8 to develop an application for a local Intranet. This application was built using ASP.NET MVC 4 in Visual Studio 2012 and later migrated to 2013. I had been using Visual Studio Development Server until I migrated to VS2013 with no issues.
After the migration, the application compiles, runs and authenticates fine, but it's not serving Static Files - it just returns an HTTP 500 response with no further details. See image below:
This also happens to Images and CSS files.
What can I check to solve this? Any suggestions?
UPDATE:
The application works fine in Local IIS (version 8).
It works in IIS Express on other PCs.
UPDATE 2:
After further testing, I found out that this only happens to Mozilla Firefox (it works fine in Internet Explorer and Google Chrome) - I didn't notice before because I always use FF. Currently using version 29.
Any ideas?
Finally! I was able to solve this issue with the help of this question.
This was happening because Firefox by default has Windows Integrated Authentication turned off. It doesn't make any sense to me why it works fine in regular IIS or in dynamic files (controller actions, WebApi, etc.), but that's a mystery for another day.
To enable Windows Integrated Authentication I followed this steps:
Type about:config in Firefox's address bar (nav bar)
Search for network.automatic-ntlm-auth.trusted-uris
Double click on network.automatic-ntlm-auth.trusted-uris
Add http://localhost to the list (paste that if it's empty)
After that I just hit F5 in Firefox and everything worked as expected.
This issue is poorly documented, so I wonder if nobody else uses Firefox with MVC to develop web applications using Windows Integrated Authentication?
Have you had a look at this ?
ASP.NET MVC application gives Internal Server Error only when viewed in Firefox
It doesn't explain why it works on IIS but there is a firefox doesn't support Integration Authentication out of the box.
The only thing that seems applicable to your situation is a problem with the install of IIS Express since this is an similar issue to something seen in previous IIS Express versions. I would either re-install it or see if your version of Windows can host IIS 8 in which you would just enable static content.
If this was just a matter of not having static content turned on or permissions for static content, you'd get a 404 or 401 error respectively. Hope this helps...
I'd look in the machine events viewer under application and system to see what the issue is.
Does the IIS serve anything up in the same folder such as .txt files, .html, jpg images?
It could possible be file or folder permission and/or the anonymous user being used to access them under IIS.
My first point would be event viewer though for more detailed information on the 500 error.
Can I install IE10 Preview for Windows 7 and keep the previous IE8 version for development testing?
I don't believe you will be able to run IE8 and IE10 side-by-side on the same machine. Instead, I would encourage you to use the browser-emulation options found within the F12 Developer Tools. From there you can instruct IE10 to behave as though it were IE8.
If emulation isn't desirable, and you're not interested in downloading a virtual machine image, you could also consider exploring the BrowserStack service. It will allow you to spin up IE8 on multiple versions of Windows, and view both remote and local files.
I think this is a more reliable option for developers
IE 1-8 Standalones
it contains
Internet Explorer 1.0 (4.40.308)
Internet Explorer 1.5 (0.1.0.10)
Internet Explorer 2.01 (2.01.046)
Internet Explorer 3.0 (3.0.1152)
Internet Explorer 3.01 (3.01.2723)
Internet Explorer 3.03 (3.03.2925)
Internet Explorer 4.01 (4.72.3110.0)
Internet Explorer 5.01 (5.00.3314.2100)
Internet Explorer 5.5 (5.51.4807.2300)
Internet Explorer 6.0 (6.00.2800.1106)
Internet Explorer 6.0 (6.00.2900.2180)
Internet Explorer 7.0 (7.00.5730.13)
Internet Explorer 8.0 (8.00.6001.18702)
Also consider IETester - http://my-debugbar.com/wiki/IETester/HomePage
You can run tabs side by side in different browser versions. Works well for my web dev testing.
MS started an extra Homepage for IE testing. Lots of options under http://loc.modern.ie/
You may consider VMware thinApp (virtualize Application) or Microsoft RemoteApp (Run application from remote server).
In my environment, I have amix of thinApp and RemoteApp (some application virtualized (ThinApp) and then accessed using RemoteApp).
I wonder how to test web apps on multiple version of browsers with coded UI tests? Such as IE 7-9, Firefox 9-11, and latest Chrome.
My first thought was that I'll install those browsers on my development box or build server. But that really doesn't sound right even if it's technically possible.
I probably need some pointers on how to approach testing web apps on multiple browsers and multiple versions.
Visual Studio 2010
TFS 2008
OK, First see the Coded UI supported platforms as the following,
Second, for creating matrix test for the supported platforms, just see the following post,
Configuration matrix testing using Visual Studio Lab Management
When I run my asp.net mvc site in visual studio 2008 is it running iis7 or iis6 Internally?
Also does mvc require iis7 (is intended for?)
Via Visual Studio, you're not really running IIS6 or IIS7. You're running Cassini. You can find out how Cassini differs from IIS here. As for ASP.NET MVC, it may be deployed to run under IIS6 or IIS7. As mentioned previously, you have to jump through some hoops if you want to run under IIS6 so IIS7 is ideal if possible. If you are stuck with IIS6 (maybe you're on Windows Server 2003) there are a couple of best practices (Url file extensions or wild card application maps) which Phil Haack has well documented which will help to get your application running correctly.
If you mean the one built in to windows, that is tied to your OS version rather than to your version of Visual Studio.
If you mean the version that Visual Studio uses as a development webserver, then that version is not IIS. Its an internal webserver (very similar to Cassini) suited for testing and debugging only.
MVC can work in IIS6 but you need to make sure to set your routing to "{controller}.aspx/{action}/{id}".
As for IIS6 or 7 for the "IISLite" that VS uses, I am unsure of that. I think VS2008 uses IIS7 because I do not need to add ".aspx" to my controller in the route when debugging.