Web Developer Tips Posts

Tip #84: Did you know… How to set a Start page for your Web Site in Visual Web Developer?

As you are developing your site, you may want to start at a particular page for testing your web site. By defaults, when you start debugging, Visual Studio runs the page that was currently in focus in your designer. If you set this page, Visual web Developer...

Tip #83: Did you know... You can get the name of the calling method from the stack using reflection?

Nearly every program needs a logger to log events, errors and exceptions. Sometimes it is also useful to log the name of the method that logged the event. The easiest way to do that is to make the log method take both the calling method name and event...

Tip #82: Did you know... How to migrate Visual Studio 2005 Web Application Project to Visual Studio 2008

Following steps highlight how a Visual Studio 2005 Web application project can be migrated to Visual Studio 2008. Take backup of the original project Open Visual Studio 2008 Click File -> Open Project and browse to the folder to open the project You...

Tip #81: Did you know... How to Select the CSS Schema for Intellisense and CSS Properties?

In Visual Studio 2008, there is a Style Sheet Toolbar (visible only when a CSS file is active) which allows the user to select a CSS Schema, as seen in this screen shot:   However, this setting only affects the CSS editor, not the Intellisense in...

Tip #81: Did you know... How to use Web.Config transformation

With Visual Studio 2010 Beta1, we introduced a new feature called Web.Config transformation to help ease the development process of a web application. At different stages during the life cycle of a project, the user usually needs to modify some environment...

Tip #80: Did you know… How to show JScript validation errors as warnings?

With Visual Studio 2008 RTM, JScript validation setting is an option on the HTML validation page on the Options dialog. Since Visual Studio 2008 SP1 and later, we added a new option page JScript on the Options dialog, see the blog "Introducing JScript...

Tip #79: Did you know… How to quickly comment and uncomment in your web pages?

Select the lines you want to be commented in your ASPX, HTML, web config file etc  and click on the Comment/ Uncomment icon in Toolbar. The comment icon looks like this:   The icon for uncomment looks like: Alternatively you can use  Keyboard...

Tip# 78: Did you know… How to navigate using Document Outline?

Document Outline window can be launched from the menu View -> Document Outline , or via short cut key Ctrl-Alt-T . The Document Outline window displays a nested, hierarchical tree of the elements and scripts on the page. It gives you a good overview...

Tip# 77: Did you know… How to enable Page Level Tracing for your ASP.NET pages?

Enabling tracing at page level gives you a bunch of information that can be useful while debugging your application.Tracing helps understand which control uses more view state,  start/end of PreInit, start/end of Init, start/end of Render, etc. This...

Tip #76: Did you know… How to hide a non-visual control in your designer?

Some times as you are building your web page, you may want to hide all the non-visual controls like Timer control so that the page looks close to how it would be rendered on your browser. Our Designer can toggle between displaying and not displaying Non...

Tip #75: Did you know…How to maintain scrollposition after post back?

When web pages are posted back to the server, by default user is returned to the top of the page. On a large web page, you might have a requirement to scroll down the user automatically to the last position on the page. MaintainScrollPositionOnPostBack...

Tip #74: Did you know…How to Add and Remove AJAX Extenders in Visual Studio 2008 Designer?

Tip#62 showed you how to add an AJAX Control Toolkit to your Toolbox. Once you have the toolkit here is how you proceed: 1. Switch to Design View of the page and drag drop ScriptManager control from the AJAX Extensions tab of toolbox to the designer....

Tip #73: Did you know... about IIS Search Engine Optimization (SEO) Toolkit Beta

IIS Search Engine Optimization (SEO) Toolkit Beta – is a free toolkit that helps Web developers, hosting providers, and server administrators improve their sites’ relevance in search results by recommending how to make them more search engine-friendly...

Tip #72: Did you know... you can now manage Windows Server 2008 and Windows Server 2008 R2 from Windows 7

Technorati Tags: VWD , Visual Studio 2008 , tips and tricks , ASP.NET , IIS , IIS Remote Manager , WebPI Last week, IIS Remote Manager was re-released to support Windows 7. Prior to this release, remote management was supported only on XP, Vista, Windows...

Tip #71: Did you know... there are several new configuration settings available in FastCGI Extension 1.5 Beta

Following are the new configuration settings available in FastCGI 1.5 Extension Beta: MonitorChangesTo - This property specifies path to a file, changes to which will trigger a recycle of FastCGI executables running for this FastCGI process pool. If value...

« Previous  1 2 3 4 5  Next »  ... Last »

Microsoft Communities