Web Developer Tips Posts

Tip #55: Did you know...How to change Start-Up Options and Instances of ASP.Net Development Server in a Multi-project Solution

If you have more than one project in your solution you can use following options of solution properties to set your start up actions...  You can get the below dialog by right clicking your solution and going to its properties: If you have more than...

Tip #54: Did you know…How you can turn off intellisense for HTML/ CSS editors

If you would like turn off intellisense in HTML editors (aspx, html files) and CSS editor (css files), you could do so by going to Tools->Options dialog. For HTML editor, go to Tools->Options->HTML->General. In the right pane, under Statement...

Tip # 53: Did you know... How to edit the templates for gridview in VS designer?

Gridview control has the flexibility to be configured how it's rendered using templates. Following steps show how the control's edit template can be changed in the Visual Studio Designer. I have a GridView hooked up to Sqldatasource using Northwind.products...

Tip # 52: Did you know... When deploying your ASP.NET web application, debug=false should be set in web.config

To help troubleshoot problems, developers usually enables the debug mode in web.config file. This causes ASP.NET to produce extra information in the compiled assemblies such as debug symbols, metadata. However, performance will be suffered as it takes...

Tip #51 Did you know… how to use VS2005 to debug with IE8?

VS2005 does not debug with IE8 by default, due to IE8’s LCIE feature ( http://blogs.msdn.com/ie/archive/2008/03/11/ie8-and-loosely-coupled-ie-lcie.aspx ).  To enable it, please follow the instruction in this thread: http://social.msdn.microsoft.com...

Tip #50: Did you know…How to absolute position the controls in Visual Studio Designer?

Absolute positioning control(s) in the designer can seem confusing at first until you learn the visual cues. You can do one of the following two possible actions by dragging the control in the designer. Re-parent the control Change the controls position...

Tip #49 Did you know… how to set the editor to always place open braces on new line for functions in JScript?

In Visual Studio, click Tools -> Options. In the Options dialog on the left pane select Text editor -> JScript -> Formatting. Check Place open brace on new line for functions. Deepak Verma SDET | Visual Web Developer

Tip #48 Did you know… that IIS7 application pool’s “Ping” settings may affect IIS7 based website or application debugging?

IIS7 app pool by default only can only have 1.5 minutes window for a non-responsive application.  During IIS web application or website debugging time, we may want to change its corresponding application Pool advanced setting’s “Ping Maximum Response...

Tip #47 Did you know… that front page script remote debugging requires turning off IE’s Enhanced Security Configuration in windows 2003 and windows 2008?

When doing remote front page debugging using visual studio 2008 in windows 2003 or windows 2008, one might found the breakpoint in the script cannot be hit.  A likely reason is that we need to turn off Internet Explorer Enhanced Security Configuration...

Tip #46: Did you know… that Web Deployment “migrate” operation is “sync” operation with all migration rules enabled?

Note: C# code in this article applies to RC version of Web Deployment Tool available here: - Web Deployment Tool 1.0 RC x86 - Web Deployment Tool 1.0 RC x64 or through WebPI tool: - Web Platform Installer To migrate an application or whole server from...

Tip #45: Did you know…How to change the DynamicData folder location?

ASP.NET Dynamic Data is a framework that lets you create data-driven ASP.NET Web applications easily. It does this by automatically discovering data-model metadata at run time and deriving UI behavior from it. By default for a Dynamic data Web Application...

Tip #44: Did you know…How to view the Project File while still in Visual Studio?

If you are developing a web site using the Web Application Project model, then you know that the Project File is an integral part of this model.  In order for a file to be considered part of the Web Application Project, it must be included within...

Tip #43: Did you know... Way you register your IHttpModule depends on the pipeline in which an AppPool for your module will run?

To get your custom IHttpModule up and running you need three simple things: Source code Compiled and GAC’ed DLL Registration with IIS config system Suppose, you have a simple module that raises an event with HttpContext as an argument before authentication...

Tip #42: Did you know... ConfigurationEditor allows you to generate C#, JavaScript or AppCmd script to update configuration?

If you want to write a script to add new or update existing configuration, no matter what configuration file it belongs to (e.g. administration.config, applicationHost.config or website or application specific web.config), you can install Configuration...

Tip #41: Did you know... establishing a remote connection to a IIS server with self-issued certificate will require a certificate validation delegate?

Either through WMSvc or through your own script, whenever you try to establish a connection with a remote server, which doesn’t provide a trusted certificate you need to provide a delegate for this certificate validation check to validate untrusted...

« First ...  « Previous  2 3 4 5 6  Next »  ... Last »

Microsoft Communities