Web Developer Tips
-
Tip #92: Did you know … How to select a master page using 'Select a Master Page' dialog?
-
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 want to automate the installation FTP 7.5 on the machine. Thanks to
pkgmgr
, this is made amazingly simple!
To install both the UI and the FTP service, simply run the following command in an elevated cmd shell: -
Tip #90: Did you know … How to rearrange menu items in Visual Web Developer?
-
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 will have to right click on the standard tool bar area. This will bring up the list of all toolbars available. Select in this list to show or hide toolbars. In the picture below, I have chosen the formatting toolbar and the HTML Source Editing toolbars to be shown.
-
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 IIS SEO Toolkit would cause to the server. This is interesting for a couple of reasons,
-
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 convert the page into an ASP.NET User Control. Then you can add that user control to any other page.
-
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.
-
Tip#85: Did you know… You can now do Multiple Selection of controls in your Designer with VS 2008 SP1?
-
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.
-
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 as parameters: