Search KB Filter article types
Visual WebGui Default Browser
By: Samstag
Categories: Introduction
Tags: Developers, Navigation, Visual Studio, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
Revision: 1
Posted: 08/Jan/2009
Updated: 08/Jan/2009
Status: Publish
Types: Article

 

As someone who prefers watching websites correctly rendered I use the firefox webbrowser as my default browser. While developing an application with C# and the Visual WebGui ( more info ) I discovered that having the firefox browser als default makes the Run Button in VS open another Firefox Tab which leads to millions of open tabs after a few hours of development.

Using the Internet Explorer as default browser VS opens a new window and the application is loaded. If the browser is closed VS stops the current application and everything is fine for running many debug runs in a row without having to care about open tabs or consumed memory.

The easiest solution would be to switch the default browser to Internet Explorer – but .. no one likes easy solutions! ( and I personally hate IE for his crappy render engine and his poor ability to display w3c conform css )
What I want is:

* Keep the default browser
* Make VS run IE for debug purposes

The solution:
Visual WebGui itself uses the *.wgx extension for integration into the WebServer but internally everything that’s running in that wgx is an .aspx. Follow these easy steps:

* Open a new or existing Visual WebGUI Project
* Create a new .aspx WebForm
* Right-click the aspx-File in your project explorer
* Choose “Browse with..” .. Visual Studio will ask for Browser now.
* Choose Internet Explorer
* Close everything and delete the .aspx File

You’re done! Debugging any Visual WebGUI Project will now open (and close!) the Internet Explorer.

This article was posted by Samstag - trackback.
 

About the author

Related Articles

Introduction  
Title Update Author
Silverlight controls
Tags: Developers, 1. Beginner, 2. Intermediate, 3. Advanced, Silverlight, Pre v6.3, v6.3
07/Jan/2008    2008/01/07
In this “How To” we are going to learn how to use Visual WebGui open source project to create a code patch fixing a bug you have found or a feature you have created and would like to add.
Tags: Developers, 3. Advanced, Customization, Pre v6.3, v6.3, v6.4 and Later
07/Jan/2008    2008/01/07
Tags: Developers, Data Binding, Navigation, 1. Beginner, 2. Intermediate, Data Binding, Navigation, ASP.NET, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
11/Jan/2009    2009/01/11
Abstract: The Web, Cloud and SaaS models are changing the computing world forever, and us, the developers will have to adjust and serve this trend. One of the biggest challenges is moving software assets that were developed for desktop architecture to the new deployment models. Just imagine that you...
Tags: Architects, CIOs, Developers, C#, 1. Beginner, 2. Intermediate, 3. Advanced, Windows Forms, Pre v6.3, v6.3, v6.4 and Later
07/Jan/2010    2010/01/07
In this How to we are going to learn how to develop a Visual WebGui application without the use of a form designer.
Tags: Developers, 1. Beginner, 2. Intermediate, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
02/Jan/2009    2009/01/02
Tune in to this Free webcast and learn how Visual WebGui solves all the pains of Rich Internet application development. Learn how Visual WebGui bridges between the richness of .NET and the richness of HTML5. Learn how to be empowered by Visual WebGui to build rich enterprise-level Ajax based Web and...
Tags: Architects, Developers, Data Binding, Drag & Drop, Visual WebGui Pipeline, C#, CSS, HTML5, JavaScript, Visual Studio, XML, 1. Beginner, 2. Intermediate, 3. Advanced, Customization, Data Binding, Layouting, HTML5, jQuery, v6.4 and Later
30/May/2011    2011/05/30
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS