Freigeben über


Tips & Tricks for ASP.NET, IIS, and Visual Web Developer

Tip #110 Did you know … How to referencing root project’s master page’s properties from sub project’s content page?

Recently, I received a question referring to our blog Part 2 of 3: Creating shared user controls and...

Date: 09/19/2011

Tip #109 Did you know … How to speed up build time by only building the currently selected project in a multi-project solution?

When working with a solution that contains numerous projects, I find myself often wanting to only...

Date: 08/15/2011

Tip #108 Did you know … How to improve reference efficiency in JavaScript files inside a web project?

In Visual Studio 2010, we can reference other JavaScript files inside current JavaScript file like...

Date: 03/31/2011

Tip #107 Did you know … How to improve debugging performance for MVC2 application in Visual Studio 2010 Ultimate?

VS2010 Ultimate included IntelliTrace functionality by default.  IntelliTrace captures events...

Date: 08/19/2010

Tip #106 Did you know … How to solve the errors when aspnetdb.mdf is created dynamically with IIS?

In VS2010 all editions, the default .NET Framework 4.0 ASP.NET Web Site and Web Application template...

Date: 05/06/2010

Tip #105: Did you know … How to include empty directory when package a web application?

By design, Visual Studio 2010 will skip the empty directory when packaging web application project...

Date: 04/29/2010

Tip #104: Did you know … How to view text for the ‘hint’ buttons on the Publish Web Dialog?

After the Beta 2 release of Visual Studio 2010, the Publish Web Dialog was modified to include two...

Date: 04/26/2010

Tip #103 revisited

In Tip #103 I showed a way of customizing the start page in order to add the New Website and Open...

Date: 04/23/2010

Tip #103: Adding the New Website and Open Website buttons to the VS2010 Start Page

In the new VS2010 UI, the start page has been completely re-written.  Part of the changes made...

Date: 04/14/2010

Tip#102: Did you know… How to specify tag specific formatting

Let’s see this with an example.  I have the following html code on my page. Now if I format the...

Date: 03/25/2010

Tip#101: Did you know… How to scope Theme

Themes are a way to define properties of pages and controls, and can be used to provide consistent...

Date: 01/25/2010

Tip#100: Did you know… How to view ASP.NET trace information?

You can enable ASP.NET tracing either at an Application level or at a page level; see Tip# 77: Did...

Date: 12/18/2009

Tip#99: Did you know… You can now install new Media and Developer Tools products with Web PI v2 RTW?

RTW version 2 of Web PI, which shipped in September, now offers additional products through Media...

Date: 11/03/2009

Tip#98: Did you know… The default Application Pool Identity in IIS 7.5 (Windows 7) changed from NetworkService to AppPoolIdentity?

In Windows 7, IIS application pool isolation was taken yet to a different level. The new change...

Date: 10/02/2009

Tip#97: Did you know… How to Display Hidden Information in Design View

The design view in Visual Studio can display glyphs and borders for the hidden non - graphic...

Date: 09/30/2009

Tip#96: Did you know…You could publish your SQL databases using the SQL Publishing Wizard?

You can use the SQL Publishing wizard in VS 2008/VWD 2008 to deploy a local database from your...

Date: 09/27/2009

Tip #95: Did you know… That Web Application Projects and Class libraries are now available in Express edition?

Creating a Web Application Project was possible only in VS standard SKU and above in VS 2008. But...

Date: 09/20/2009

Tip #94: Did you know … How to improve the performance of PHP application on Windows?

Today the Microsoft IIS team has released the beta of the Windows Cache Extension 1.0 for PHP. The...

Date: 09/01/2009

Tip #93: Did you know … PHP and Custom Error Pages configuration?

When deploying PHP web applications that handle their errors with their own error pages, the...

Date: 08/24/2009

Tip #92: Did you know … How to select a master page using 'Select a Master Page' dialog?

Master page for a Web form can always be set manually in the source code, but here is an option to...

Date: 08/21/2009

Tip #91: Did you know … How to automate FTP 7.5 installation and site creation?

With the imminent release of Windows 7 and Server 2008 R2 to the general public, some of you may...

Date: 08/11/2009

Tip #90: Did you know … How to rearrange menu items in Visual Web Developer?

You can use the Rearrange Commands dialog box to do this. To get there: Launch the...

Date: 07/23/2009

Tip #89: Did you know…You could customize Toolbars in Visual Web Developer?

Visual Web Developer by default shows the standard toolbar. To expose the remaining tool bars, you...

Date: 07/19/2009

Tip #88: Did you know… To not stress your server, limit the number of concurrent requests

The other day somebody ask me if there was a way to limit the amount of work that Site Analysis in...

Date: 07/10/2009

Tip #87: Did you know… How to reuse a web page by converting into an ASP.NET User Control?

If you want to reuse a web form's content in other places in your application, you can easily...

Date: 07/09/2009

Tip #86: Did you know… Visual Studio has several different search options?

The standard methods for searching can be found under the Edit --> Find and Replace menu. The...

Date: 06/30/2009

Tip#85: Did you know… You can now do Multiple Selection of controls in your Designer with VS 2008 SP1?

Visual Web developer 2008 SP1 supports multiple selection of controls on your designer using...

Date: 06/30/2009

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...

Date: 06/26/2009

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...

Date: 06/23/2009

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...

Date: 06/18/2009

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...

Date: 06/18/2009

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...

Date: 06/15/2009

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...

Date: 06/15/2009

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...

Date: 06/12/2009

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...

Date: 06/11/2009

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...

Date: 06/09/2009

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...

Date: 06/08/2009

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...

Date: 06/05/2009

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,...

Date: 06/03/2009

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...

Date: 06/01/2009

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:...

Date: 06/01/2009

Tip #70: Did you know… how to install win7 RC IIS through command script?

Windows 7 RC’s IIS included ftp 7.5 feature.  Installing it from command line is a little bit...

Date: 05/31/2009

Tip #69: Did you know…The keyboard shortcut for View in Browser?

Ctrl +Shift+W does the trick for you. This short cut is mentioned under File Menu -> View in...

Date: 05/31/2009

Tip #68 Did you know… How simple it is to attach an existing style sheet to your web page?

Open an existing web site in VWD. Open the page by double clicking on it in solution explorer to...

Date: 05/31/2009

Tip #67: Did you know the list of ASP.Net MVC shortcuts?

Add Controller (Ctrl-M Ctrl-C) Add Controller is a simple dialog box that lets you quickly add...

Date: 05/31/2009

Tip#66: Did you know... how to insert quotes values automatically while typing the attrib values?

It's a nice time saver if you would like the HTML editor to automatically add quotes for the...

Date: 05/29/2009

Tip#65: Did you know...How to quickly create a GridView that is hooked up to a SQL table?

In Tip#64, we showed you how to convert a GridView's bound fields into template fields. In this tip,...

Date: 05/27/2009

Tip#64:Did you know … How to convert a GridView column from asp:BoundField to asp:TemplateField in Design View?

Assume that you already have a data source SqlDataSource1 that binds to a simple query returning...

Date: 05/27/2009

Tip#63: Did you know…How to specify a fixed port for Visual Studio Development Server while using WAPs?

In Tip#21 we showed you how to set a fixed port for the Developer Web Server in Web Sites. Here is...

Date: 05/19/2009

Tip#62: Did you know… How to add Ajax Control Toolkit to the toolbox?

Steps to add Ajax Control Toolkit for Framework 3.5 SP1Steps to add Ajax Control Toolkit for...

Date: 05/16/2009

Next>