Welcome to MSDN Blogs Sign in | Join | Help

News

  • These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified Terms of Use

May 2009 - 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-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPServer;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;IIS-WebDAV;IIS-FTPSvc;IIS-FTPExtensibility Read More...
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 Read More...
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 Read More...
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) Read More...
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 Read More...
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, Read More...
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:MyConnectionString Read More...
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 Read More...
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 Read More...
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 Read More...
Page view tracker