Web Developer Tips Posts

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 different than the vista IIS7 command line.  It is as following:   start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS...

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 Browser . So if you are still using Select File -> Right click for context menu and then selecting View in Browser as shown below, you may want to start...

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 which you want to attach the existing style sheet in your web site. Now, switch to Design View of the page and bring up Select Style Sheet dialog by clicking...

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 controllers to ASP.Net MVC Applications. Right-Click the 'Controllers' folder or simply press Ctrl-M Ctrl-C to invoke this dialog. Add View (Ctrl-M Ctrl-V)...

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 attribute values while you are typing. To set this option select Tools->Options. Check Show all settings. From the left pane select Text Editor -> HTML...

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, we will show you how to quickly create a GridView that is hooked up to a SQL table. Typically, if you want a GridView then you need to add it to the page...

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 some details from the Customers table. <asp:SqlDataSource ID= "SqlDataSource1" runat= "server" ConnectionString= "<%$ ConnectionStrings...

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 how you will be able to configure this for Web Application Projects. 1. Go to the properties page of WAP. Right Click on your Web Application and click...

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

Steps to add Ajax Control Toolkit for Framework 3.5 SP1 Steps to add Ajax Control Toolkit for Framework 2.0 Ajax Control Toolkit for Framework 3.5 SP1 Following are the steps to add Ajax Control Toolkit to the toolbox for ASP.NET 3.5 webs in Visual Studio...

Tip #61: Did you know… How to create an ASP.Net Dynamic Data Web Site?

If your web site is heavily data driven then here is a quick and easy way for you to create one without writing much code. All you need is Visual Studio 2008 SP1 or Visual Web Developer 2008 Express SP1 installed on your box. Dynamic Data Web Sites makes...

Tip #60: Did you know… How to profiling an asp.net site?

1. Create a asp.net web application in Visual Studio Team Edition For Developers 2. Write some code inside Page_Load function protected void Page_Load( object sender, EventArgs e) {     int sum = 0;     for ( int i = 0; i...

Tip #59: Did you know…How you can automatically format unformatted HTML on paste in VS?

Do you copy/ paste a lot of unformatted HTML content in to your web forms? Do you always format HTML after pasting such content? There is an easy way to automatically format HTML on paste in VS. Here is how you do it. In Tools->Options dialog, go to...

Tip #58: Did you know…How you can import/ export HTML Per Tag options in VS?

If you make a lot of customization to per tag options and you want import/ export these settings you could easily do so with Tools->Import/Export Settings dialog. To export your custom settings to a vssettings file, launch Import and Export Settings...

Tip#57: Did you know… How to manage web site configuration through a web interface

The Web Site Administration Tool provides a web interface for you to manage different web site configuration settings. To launch the tool, for Web Application Project click Project-> ASP.Net Configuration & for Websites, click Website-> ASP...

Tip#56: Did you know… How to update JScript Intellisense manually

Do you like JScript Intellisense feature but have trouble seeing variables or methods you expect to see in JScript Intellisense?  Instead of trying to close files or other work around's you can simply try to “Update Intellisense” command...

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

Microsoft Communities