<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'Visual Studio'</title><link>http://blogs.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=Visual+Studio&amp;orTags=0</link><description>Search results matching tag 'Visual Studio'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Tip#97: Did you know… How to Display Hidden Information in Design View</title><link>http://blogs.iis.net/webdevelopertips/archive/2009/09/30/tip-97-did-you-know-how-to-display-hidden-information-in-design-view.aspx</link><pubDate>Thu, 01 Oct 2009 00:20:01 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3434440</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webdevelopertips</cs:applicationKey><description>&lt;p&gt;The design view in Visual Studio can display glyphs and borders for the hidden non - graphic elements (such as div, span, form, and script elements). This feature helps you to see where the elements are and avoid inadvertently deleting the non-graphic elements from your page while editing.&lt;/p&gt; &lt;p&gt;To enable it in designer click on View -&amp;gt; Formatting Marks -&amp;gt; Show&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip97DidyouknowHowtoDisplayHiddenInforma_F3A3/image_2.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip97DidyouknowHowtoDisplayHiddenInforma_F3A3/image_thumb.png" width="518" height="370"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Now you will start seeing the hidden elements on the designer surface.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip97DidyouknowHowtoDisplayHiddenInforma_F3A3/image_6.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip97DidyouknowHowtoDisplayHiddenInforma_F3A3/image_thumb_2.png" width="518" height="306"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Hope this helps,  &lt;p&gt;&lt;strong&gt;Deepak Verma &lt;/strong&gt;&lt;br&gt;SDET | &lt;a href="http://blogs.msdn.com/webdevtools/"&gt;Visual Web Developer&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9901593" width="1" height="1"&gt;</description></item><item><title>A Tale of Two Developers and Visual Studio Sites and Apps</title><link>http://blogs.iis.net/webtopics/archive/2009/09/30/a-tale-of-two-developers-and-visual-studio-sites-and-apps.aspx</link><pubDate>Wed, 30 Sep 2009 13:40:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3436102</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webtopics</cs:applicationKey><description>&lt;P&gt;We've encountered several scenarios in which customers have multiple developers working on a single web application in Visual Studio. In such cases, it's not uncommon for each developer to be working on a portion of the application. There isn't any problem in working with this way, but you may encounter some very real problems when you deploy your application unless you plan in advance.&lt;/P&gt;
&lt;H2&gt;The Scenario&lt;/H2&gt;
&lt;P&gt;Suppose you have two developers working on your web application. Developer A (we'll call him John) is working on a forum for the application and developer B (who we'll call Jill) is working on a photo gallery for the site. In order to keep files and folders organized, the forum and the photo gallery will both be contained in their own folders on the final site. In other words, by browsing to www.site.com/forum, users will be able to hit the forum, and by browsing to www.site.com/photogallery, users will hit the photo gallery.&lt;/P&gt;
&lt;P&gt;Jill has created a new web site in Visual Studio called PhotoGallery, and this is where she's going to create her pages for her portion of the application. John has created a new web site called Forum for his portion of the site. Both John and Jill frequently test their code against the ASP.NET Development Server and, after a long period of development, are both ready to deploy to the test web server.&lt;/P&gt;
&lt;P class=ImageCaption&gt;&lt;IMG alt="Jill's part of the web site as shown in Solution Explorer." src="http://www.jimcobooks.com/blog/sitesapps/se.png" width=253 height=361 mce_src="http://www.jimcobooks.com/blog/sitesapps/se.png"&gt;&lt;BR&gt;Jill's PhotoGallery in Solution Explorer&lt;/P&gt;
&lt;P&gt;Jill copies the PhotoGallery folder she created for her portion of the site to the c:\inetpub\wwwroot folder on the server and John copies the Forum folder he created to the wwwroot folder. The resulting directory structure in IIS is shown below.&lt;/P&gt;
&lt;P class=ImageCaption&gt;&lt;IMG alt="Folder structure of deployed site in IIS." src="http://www.jimcobooks.com/blog/sitesapps/iisfolders.png" width=256 height=241 mce_src="http://www.jimcobooks.com/blog/sitesapps/iisfolders.png"&gt;&lt;BR&gt;Folder Structure in IIS&lt;/P&gt;
&lt;P&gt;Everything looks fine with this scenario so far, but as soon as either John or Jill attempts to access his or her portion of the site, something bad happens as shown below.&lt;/P&gt;
&lt;P class=ImageCaption&gt;&lt;IMG alt="An error occurs when the photogallery folder is browsed." src="http://www.jimcobooks.com/blog/sitesapps/error.png" width=704 height=614 mce_src="http://www.jimcobooks.com/blog/sitesapps/error.png"&gt;&lt;BR&gt;An error occurs when John or Jill browse the site.&lt;/P&gt;
&lt;H2&gt;The Problem&lt;/H2&gt;
&lt;P&gt;The problem here is that Visual Studio expects that the web sites that John and Jill created are &lt;EM&gt;application roots&lt;/EM&gt; in IIS. An application root in IIS is a folder that is marked as an application. When a folder is marked as an application, the folder's icon appears as a globe with a page on it as shown below.&lt;/P&gt;
&lt;P class=ImageCaption&gt;&lt;IMG alt="An application in IIS." src="http://www.jimcobooks.com/blog/sitesapps/app.png" width=352 height=375 mce_src="http://www.jimcobooks.com/blog/sitesapps/app.png"&gt;&lt;BR&gt;An Application in IIS.&lt;/P&gt;
&lt;P class=note&gt;&lt;SPAN style="FONT-SIZE: large"&gt;&lt;STRONG&gt;Important&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR&gt;I converted the "forum" folder into an application for the figure above simply so that I could show you what the icon looks like. The act of copying a folder to IIS will &lt;EM&gt;not &lt;/EM&gt;make a folder an application in IIS.&lt;/P&gt;
&lt;P&gt;Since John and Jill simply copied folders into IIS, the applications they each created in Visual Studio are simply folders in IIS (like the photogallery folder in the figure above) and are not recognized as applications. Because ASP.NET does not allow for certain settings to be configured in a subdirectory of an application, both John and Jill see an error when browsing their portion of the site.&lt;/P&gt;
&lt;P&gt;Keep in mind that this is only one example of the kind of problem you can encounter in this scenario. For example, if the root of your site was created in Visual Studio as a web application instead of a web site and developers copy web sites from Visual Studio into that directory structure, you can end up with more problems that are tough to solve. &lt;/P&gt;
&lt;P class=note&gt;&lt;SPAN style="FONT-SIZE: large"&gt;&lt;STRONG&gt;More Info&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR&gt;See &lt;A href="http://msdn.microsoft.com/en-us/library/aa983474.aspx" mce_href="http://msdn.microsoft.com/en-us/library/aa983474.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa983474.aspx&lt;/A&gt; on MSDN for an explanation of web sites vs. web applications in Visual Studio.&lt;/P&gt;
&lt;H2&gt;The Solution&lt;/H2&gt;
&lt;P&gt;How can John and Jill solve the error message they are seeing? They could simply convert the folders that they copied to IIS into application roots, but while doing so would get rid of the error, it would likely introduce other problems. For example, there Application and Session variables are specific to an application, so if both the photogallery and forum folders were marked as application roots, Application and Session variables couldn't be shared between them. Also, as we saw in the error that Jill saw in the browser, authentication modes are specific to an application. Therefore, if the site as a whole relies on ASP.NET Forms authentication, mucking around with application roots can break authentication.&lt;/P&gt;
&lt;P&gt;A good approach to the problem that John and Jill are encountering is to change the way that they both develop the site in Visual Studio. Each should develop against a web site in Visual Studio called &lt;EM&gt;site.com &lt;/EM&gt;and create a folder within that site for the part of the application they are developing. The resulting project structure in Visual Studio's Solution Explorer is shown below.&lt;/P&gt;
&lt;P class=ImageCaption&gt;&lt;IMG alt="The right way to create the site in Visual Studio." src="http://www.jimcobooks.com/blog/sitesapps/rightway.png" width=253 height=305 mce_src="http://www.jimcobooks.com/blog/sitesapps/rightway.png"&gt;&lt;BR&gt;The right way to create the site in Visual Studio.&lt;/P&gt;
&lt;P&gt;If your team consists of multiple developers and you want to ensure that you control who is working on particular parts of the project, it's wise to have your developers work off of a common site.com folder and use a source control system like TFS to check out the content that he or she needs to develop. If you don't have a source control system, you'll want to make sure that the web.config file in the site.com folder is the same for each developer and it's a good idea for each developer to change only files in his or her particular subfolder for the app.&lt;/P&gt;
&lt;H2&gt;The Terminology Can Cause Confusion&lt;/H2&gt;
&lt;P&gt;It's important that you understand the terminology involved in this kind of scenario. For example, Visual Studio can create an ASP.NET web site or an ASP.NET web application. An ASP.NET web site is not the same thing as a web site in IIS, and an ASP.NET web application is not the same as an application in IIS. I realize that's a bit confusing, so here's some information that might help to clear things up.&lt;/P&gt;
&lt;H3&gt;Web Site in Visual Studio&lt;/H3&gt;
&lt;P&gt;Web sites in Visual Studio were introduced with Visual Studio 2005. There is no project files in a web site (no .csproj or .vbproj) and the location for the web site can be anywhere on a disk. There is not a &lt;EM&gt;References&lt;/EM&gt; folder in Solution Explorer when working with web sites. Instead, you set refereces in the Property Pages for the site. You are also not required to build (compile) a web site prior to running it. All of that takes place dynamically.&lt;/P&gt;
&lt;P&gt;You create an ASP.NET web site in Visual Studio by selecting &lt;STRONG&gt;File&lt;/STRONG&gt;, &lt;STRONG&gt;New Web Site&lt;/STRONG&gt;.&lt;/P&gt;
&lt;H3&gt;Web Site in IIS&lt;/H3&gt;
&lt;P&gt;A web site in IIS is a node that is identified by its bindings. By default, there is one web site called Default Web Site with an HTTP binding all IPs to port 80. If you want to create a new web site, you would have to create a new binding to either a different port, a different IP, etc. &lt;/P&gt;
&lt;P&gt;As you can see &lt;EM&gt;web site&lt;/EM&gt; in Visual Studio is completely unrelated to &lt;EM&gt;web site&lt;/EM&gt; in IIS.&lt;/P&gt;
&lt;H3&gt;Web Application in Visual Studio&lt;/H3&gt;
&lt;P&gt;A web application in Visual Studio uses the same model that was used for ASP.NET projects in Visual Studio .NET 2003. It was then reintroduced for Visual Studio 2005 as an add-on called Web Application Projects. That add-on became a full-fledged component of Visual Studio 2005 in SP1 and remains a component of Visual Studio 2008.&lt;/P&gt;
&lt;P&gt;When the application is created, a project file is created along with the other files for the project. A gray-colored &lt;EM&gt;References&lt;/EM&gt; folder appears in Solution Explorer so that you can review project references and/or add your own. There is also a special folder called &lt;EM&gt;Properties &lt;/EM&gt;that contains the AssemblyInfo.cs or AssemblyInfo.vb file for the project. When you're ready to run the application, you must first compile it from the Build menu.&lt;/P&gt;
&lt;P&gt;You create an ASP.NET web site in Visual Studio by selecting &lt;STRONG&gt;File&lt;/STRONG&gt;, &lt;STRONG&gt;New Project&lt;/STRONG&gt;.&lt;/P&gt;
&lt;H3&gt;Web Application in IIS&lt;/H3&gt;
&lt;P&gt;A web application in IIS is a node that has been marked as an application. An application in IIS is the level at which you would place your global.asax file. ASP.NET authentication methods (i.e. Windows, Forms, etc.) can be specificed at this level, but not lower in the hierarchy. Session variables and Forms authentication tickets are isolated to a web application in IIS.&lt;/P&gt;
&lt;P&gt;As you can see a &lt;EM&gt;web application&lt;/EM&gt; in Visual Studio is completely unrelated to a &lt;EM&gt;web application&lt;/EM&gt; in IIS.&lt;/P&gt;
&lt;H2&gt;Final Thoughts&lt;/H2&gt;
&lt;P&gt;We worked with a customer at one point who had created a web application in Visual Studio that would eventually be deployed to the Default Web Site in IIS. During development, some of the developers who were creating portions of this site determined that they'd better create web sites in Visual Studio for their portion of the site because they new that this was eventually going to be deployed to a web site. &lt;/P&gt;
&lt;P&gt;On the day of deployment, someone realized that the main project for the site was a web application, so they began the process of trying to convert the Visual Studio web application to a Visual Studio web site. In fact, we have &lt;A href="http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx" mce_href="http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx"&gt;thorough documentation&lt;/A&gt; about how to convert a web site to a web application, but going the other way is another matter altogether. The customers projects was huge, made up of thousands of pages and folders. After they had spent a considerable amount of time trying this on their own, they called us.&lt;/P&gt;
&lt;P&gt;Getting everything back to working order took days of work, much of which was spent with the customer frustrated over a seemingly endless number of exceptions. Fix one exception and 200 others spring up to take its place. It's grueling work, and it was all the result of misunderstanding the terms and drawing correlations where none exists.&lt;/P&gt;
&lt;P&gt;Hopefully the information I've provided here can help you to avoid a similar pitfall. Plan your projects carefully with deployment in mind, and make sure that you understand the fact that even though IIS and Visual Studio use some of the same terms, those terms mean something entirely different in each context.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9901301" width="1" height="1"&gt;</description></item><item><title>Tip #95: Did you know… That Web Application Projects and Class libraries are now available in Express edition?</title><link>http://blogs.iis.net/webdevelopertips/archive/2009/09/20/tip-95-did-you-know-that-web-application-projects-and-class-libraries-are-now-available-in-express-edition.aspx</link><pubDate>Sun, 20 Sep 2009 23:27:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3415884</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webdevelopertips</cs:applicationKey><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Creating a Web Application Project was possible only in VS standard SKU and above in VS 2008. &lt;/p&gt;  &lt;p&gt;But with VS 2008 SP1 we went ahead and added support for WAP and class libraries in Visual Web Developer Express edition SP1. You can now create WAPs by going to &lt;strong&gt;File –&amp;gt; New Project.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip95DidyouknowThatWebApplicationProject_E776/WAP%20in%20Express_2.jpg"&gt;&lt;img title="WAP in Express" height="460" alt="WAP in Express" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip95DidyouknowThatWebApplicationProject_E776/WAP%20in%20Express_thumb.jpg" width="508" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Reshmi Mangalore&lt;/strong&gt;     &lt;br /&gt;SDET, Visual Web Developer.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9897340" width="1" height="1"&gt;</description></item><item><title>Tip #92: Did you know … How to select a master page using 'Select a Master Page' dialog?</title><link>http://blogs.iis.net/webdevelopertips/archive/2009/08/21/tip-92-did-you-know-how-to-select-a-master-page-using-select-a-master-page-dialog.aspx</link><pubDate>Fri, 21 Aug 2009 20:02:20 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3362050</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webdevelopertips</cs:applicationKey><description>&lt;p&gt;&lt;/p&gt; &lt;p&gt;Master page for a Web form can always be set manually in the source code, but here is an option to select the master page while create the webform using the 'Select a Master Page' dialog. &lt;/p&gt; &lt;p&gt;The path to select a Master page using the 'Select a master page' dialog is different for a Web application project than for a Web site.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;br&gt;&lt;strong&gt;For a Web Application project:&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Right click &lt;/strong&gt;solution explore. Select &lt;strong&gt;Add &lt;/strong&gt;and then select &lt;strong&gt;New Item&lt;br&gt;&lt;br&gt;&lt;/strong&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip92DidyouknowHowtoselectamasterpageusi_B746/image_2.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip92DidyouknowHowtoselectamasterpageusi_B746/image_thumb.png" width="363" height="484"&gt;&lt;/a&gt; &lt;br&gt;&lt;br&gt; &lt;li&gt;From the Add new Item dialog select &lt;strong&gt;Web content form &lt;/strong&gt;and click on &lt;strong&gt;Add button.&lt;br&gt;&lt;br&gt;&lt;/strong&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip92DidyouknowHowtoselectamasterpageusi_B746/image_4.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip92DidyouknowHowtoselectamasterpageusi_B746/image_thumb_1.png" width="512" height="311"&gt;&lt;/a&gt; &lt;br&gt; &lt;li&gt;Select a Master Page dialog would appear. Navigate thru the project folders to select the Master page &amp;amp; click on &lt;strong&gt;OK &lt;/strong&gt;button. The aspx added would now be using the selected master page.&lt;br&gt;&lt;br&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip92DidyouknowHowtoselectamasterpageusi_B746/image_6.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip92DidyouknowHowtoselectamasterpageusi_B746/image_thumb_2.png" width="512" height="315"&gt;&lt;/a&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&amp;nbsp;&lt;br&gt;&lt;strong&gt;For a Web site project:&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt; &lt;li&gt;While adding a Webform, &lt;strong&gt;check &lt;/strong&gt;the select master page checkbox and click on the &lt;strong&gt;Add &lt;/strong&gt;button.&lt;br&gt;&lt;br&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip92DidyouknowHowtoselectamasterpageusi_B746/image_8.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip92DidyouknowHowtoselectamasterpageusi_B746/image_thumb_3.png" width="512" height="340"&gt;&lt;/a&gt; &lt;br&gt; &lt;li&gt;Select a Master Page dialog would appear. Navigate thru the project folders to select the Master page &amp;amp; click on &lt;strong&gt;OK &lt;/strong&gt;button. The aspx added would now be using the selected master page.&lt;br&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip92DidyouknowHowtoselectamasterpageusi_B746/image_10.png"&gt;&lt;br&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip92DidyouknowHowtoselectamasterpageusi_B746/image_thumb_4.png" width="512" height="316"&gt;&lt;/a&gt; &lt;br&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Hope this helps,  &lt;p&gt;&lt;strong&gt;Deepak Verma &lt;/strong&gt;&lt;br&gt;SDET | &lt;a href="http://blogs.msdn.com/webdevtools/"&gt;Visual Web Developer&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9879207" width="1" height="1"&gt;</description></item><item><title>Tip #90: Did you know … How to rearrange menu items in Visual Web Developer?</title><link>http://blogs.iis.net/webdevelopertips/archive/2009/07/23/tip-90-did-you-know-how-to-rearrange-menu-items-in-visual-web-developer.aspx</link><pubDate>Thu, 23 Jul 2009 05:36:19 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3309345</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webdevelopertips</cs:applicationKey><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;You can use the &lt;strong&gt;Rearrange Commands&lt;/strong&gt; dialog box to do this. To get there:&lt;/p&gt;  &lt;p&gt;Launch the &lt;strong&gt;Tools-&amp;gt;Customize&lt;/strong&gt; dialog. Now select the &lt;strong&gt;Commands&lt;/strong&gt; Tab. &lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip90DidyouknowHowtorearrangeyourmenuite_A389/Customize%20Dialog_2.jpg"&gt;&lt;img title="Customize Dialog" height="430" alt="Customize Dialog" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip90DidyouknowHowtorearrangeyourmenuite_A389/Customize%20Dialog_thumb.jpg" width="459" /&gt;&lt;/a&gt; &lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Click on the &lt;strong&gt;Rearrange commands…&lt;/strong&gt; button, and this will launch the dialog that will help you with arranging your menu and toolbar items. Now choose a menu or toolbar to rearrange. You can rearrange the items by selecting them and moving them up and down. You can also use this dialog to add your own menu options. &lt;/p&gt;  &lt;p&gt;Rearrange Commands Dialog:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip90DidyouknowHowtorearrangeyourmenuite_A389/Rearrange%20Commands%20Dialog_2.jpg"&gt;&lt;img title="Rearrange Commands Dialog" height="488" alt="Rearrange Commands Dialog" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip90DidyouknowHowtorearrangeyourmenuite_A389/Rearrange%20Commands%20Dialog_thumb.jpg" width="419" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Reshmi Mangalore,&lt;/p&gt;  &lt;p&gt;SDET, Visual Web Developer.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9845774" width="1" height="1"&gt;</description></item><item><title>Tip#85: Did you know… You can now do Multiple Selection of controls in your Designer with VS 2008 SP1?</title><link>http://blogs.iis.net/webdevelopertips/archive/2009/06/30/tip-85-did-you-know-you-can-now-do-multiple-selection-of-controls-in-your-designer-with-vs-2008-sp1.aspx</link><pubDate>Tue, 30 Jun 2009 20:15:45 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3267579</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webdevelopertips</cs:applicationKey><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Visual Web developer 2008 SP1 supports multiple selection of controls on your designer using &lt;strong&gt;Ctrl+Click&lt;/strong&gt;. &lt;/p&gt;  &lt;p&gt;You can see that the designer:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Displays the primary selected control with a &lt;strong&gt;white tab.&lt;/strong&gt; Button3 in the image below. &lt;/li&gt;    &lt;li&gt;Enable you to set property for the selected controls using Property Grid. Note that the property grid would show you only the properties that are in common for all the selected controls. &lt;/li&gt;    &lt;li&gt;Enables you to make use of the &lt;strong&gt;Align&lt;/strong&gt;, &lt;strong&gt;Make Same Size&lt;/strong&gt; and &lt;strong&gt;Order&lt;/strong&gt; Menu commands in your Format Menu options. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;em&gt;However VWD 2008 SP1 does not support the ability to drag drop multiple controls and Cut/Copy/Paste of multiple elements.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip85DidyouknowYoucandoMultipleSelection_A4A9/MultipleSelection_2.jpg"&gt;&lt;img title="MultipleSelection" height="551" alt="MultipleSelection" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip85DidyouknowYoucandoMultipleSelection_A4A9/MultipleSelection_thumb.jpg" width="527" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Thanks!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Reshmi Mangalore&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;SDET, Visual Web Developer&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9810000" width="1" height="1"&gt;</description></item><item><title>Tip #84: Did you know… How to set a Start page for your Web Site in Visual Web Developer?</title><link>http://blogs.iis.net/webdevelopertips/archive/2009/06/26/tip-84-did-you-know-how-to-set-a-start-page-for-your-web-site-in-visual-web-developer.aspx</link><pubDate>Fri, 26 Jun 2009 22:49:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3261316</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webdevelopertips</cs:applicationKey><description>&lt;p&gt;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. &lt;/p&gt;  &lt;p&gt;If you set this page, Visual web Developer will start your web site with the Set Page and not the current page in designer.&lt;/p&gt;  &lt;p&gt;You can do this by &lt;strong&gt;right-click&lt;/strong&gt; on the page and selecting &lt;strong&gt;Set As Start Page &lt;/strong&gt;option from the context menu.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip84DidyouknowHowtosetaStartpageforyour_DD64/Set%20as%20Start%20Page_2.jpg"&gt;&lt;img title="Set as Start Page" height="317" alt="Set as Start Page" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip84DidyouknowHowtosetaStartpageforyour_DD64/Set%20as%20Start%20Page_thumb.jpg" width="300" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This could also be set in &lt;strong&gt;Properties page&lt;/strong&gt; under the &lt;strong&gt;Start Options&lt;/strong&gt; tab as shown below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip84DidyouknowHowtosetaStartpageforyour_DD64/StartOptions_2.jpg"&gt;&lt;img title="StartOptions" height="364" alt="StartOptions" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip84DidyouknowHowtosetaStartpageforyour_DD64/StartOptions_thumb.jpg" width="500" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Reshmi Mangalore&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;SDET, Visual Web Developer&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9806062" width="1" height="1"&gt;</description></item><item><title>Tip #82: Did you know... How to migrate Visual Studio 2005 Web Application Project to Visual Studio 2008</title><link>http://blogs.iis.net/webdevelopertips/archive/2009/06/18/tip-82-did-you-know-how-to-migrate-visual-studio-2005-web-application-project-to-visual-studio-2008.aspx</link><pubDate>Thu, 18 Jun 2009 23:32:56 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3244335</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webdevelopertips</cs:applicationKey><description>&lt;p&gt;Following steps highlight how a Visual Studio 2005 Web application project can be migrated to Visual Studio 2008.&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Take &lt;strong&gt;backup &lt;/strong&gt;of the original project&lt;br&gt; &lt;li&gt;&lt;strong&gt;Open &lt;/strong&gt;Visual Studio 2008&lt;br&gt; &lt;li&gt;Click File -&amp;gt; &lt;strong&gt;Open Project &lt;/strong&gt;and browse to the folder to open the project&lt;br&gt; &lt;li&gt;You will receive the following conversion wizard to help you convert the solution or project to the current version. &lt;strong&gt;Click Next.&lt;br&gt;&lt;/strong&gt;&lt;br&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/MigratingVS2005WebApplicationProjecttoVS_E8A4/image_12.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/MigratingVS2005WebApplicationProjecttoVS_E8A4/image_thumb_5.png" width="511" height="403"&gt;&lt;/a&gt; &lt;br&gt;&lt;br&gt; &lt;li&gt;Select &lt;strong&gt;Yes &lt;/strong&gt;on this screen if you want the wizard to help you to take the &lt;strong&gt;backup, &lt;/strong&gt;otherwise select &lt;strong&gt;No &lt;/strong&gt;and Click &lt;strong&gt;Next.&lt;br&gt;&lt;/strong&gt;&lt;br&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/MigratingVS2005WebApplicationProjecttoVS_E8A4/image_4.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/MigratingVS2005WebApplicationProjecttoVS_E8A4/image_thumb_1.png" width="512" height="403"&gt;&lt;/a&gt; &lt;br&gt;&lt;br&gt; &lt;li&gt;Be sure to &lt;strong&gt;read the summary &lt;/strong&gt;on this screen &amp;amp; click &lt;strong&gt;finish&lt;br&gt;&lt;/strong&gt;&lt;br&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/MigratingVS2005WebApplicationProjecttoVS_E8A4/image_6.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/MigratingVS2005WebApplicationProjecttoVS_E8A4/image_thumb_2.png" width="511" height="401"&gt;&lt;/a&gt;&amp;nbsp;&lt;br&gt;&lt;br&gt; &lt;li&gt;As soon as you click finish, you will see an &lt;strong&gt;upgrade prompt&lt;/strong&gt;. Click &lt;strong&gt;yes&lt;/strong&gt; if you want to upgrade to the latest framework otherwise Click &lt;strong&gt;No. &lt;/strong&gt;If you select yes to upgrade, the project file as well as web.config file is updated for the latest framework. It's recommended to select the checkbox to do the same for all webs in this solution.&lt;br&gt;&lt;br&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/MigratingVS2005WebApplicationProjecttoVS_E8A4/image_8.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/MigratingVS2005WebApplicationProjecttoVS_E8A4/image_thumb_3.png" width="511" height="243"&gt;&lt;/a&gt; &lt;br&gt; &lt;li&gt;The conversion wizard would show you the status, select Show the log to see the log and click close.&lt;br&gt;&lt;br&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/MigratingVS2005WebApplicationProjecttoVS_E8A4/image_10.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/MigratingVS2005WebApplicationProjecttoVS_E8A4/image_thumb_4.png" width="511" height="401"&gt;&lt;/a&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;For projects using Ajax you might need to install ASP.NET Ajax Extensions 1.0 in VS 2008 if you said no to upgrade. Please see &lt;a href="http://blogs.msdn.com/webdevelopertips/archive/2009/05/16/tip-62-did-you-know-how-to-add-ajax-control-toolkit-to-the-toolbox.aspx" target="_blank"&gt;Tip #62&lt;/a&gt; to learn how to install it. &lt;/p&gt; &lt;p&gt;Hope this helps,&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Deepak Verma &lt;/strong&gt;&lt;br&gt;SDET | &lt;a href="http://blogs.msdn.com/webdevtools/"&gt;Visual Web Developer&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9777921" width="1" height="1"&gt;</description></item><item><title>Tip #81: Did you know... How to use Web.Config transformation</title><link>http://blogs.iis.net/webdevelopertips/archive/2009/06/17/tip-81-did-you-know-how-to-use-web-config-transformation.aspx</link><pubDate>Wed, 17 Jun 2009 19:58:17 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3240966</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webdevelopertips</cs:applicationKey><description>&lt;p&gt;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 settings in the web.config file such as connection strings, application settings,... It can be hard to keep track of those settings and time-consuming to do so manually if the user keeps switching between development stages often. With the Web.Config transformation feature, the user can modify the web.config file seamlessly according to various server environments. Vishal has written a blog to provide detail about how to user this feature &lt;a href="http://blogs.msdn.com/webdevtools/archive/2009/05/04/web-deployment-web-config-transformation.aspx" target="_blank"&gt;&amp;quot;Web Deployment: Web.Config Transformation&amp;quot;.&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Anh Phan&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;SDET, Visual Web Developer&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9770330" width="1" height="1"&gt;</description></item><item><title>Tip #75: Did you know…How to maintain scrollposition after post back?</title><link>http://blogs.iis.net/webdevelopertips/archive/2009/06/08/tip-75-did-you-know-how-to-maintain-scrollposition-after-post-back.aspx</link><pubDate>Mon, 08 Jun 2009 19:43:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3218812</guid><dc:creator>Anonymous</dc:creator><cs:applicationKey>webdevelopertips</cs:applicationKey><description>&lt;p&gt;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.&lt;/p&gt; &lt;p&gt;MaintainScrollPositionOnPostBack page property can be used to achieve this&amp;nbsp; in one of the following ways.&amp;nbsp; &lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;strong&gt;Application level:&lt;/strong&gt; To set the property by default for all pages in the website, open web.config and add the attribute to the pages node.&lt;br&gt;&lt;br&gt;&amp;lt;pages maintainScrollPositionOnPostBack="true"&amp;gt;&lt;br&gt;&lt;br&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Page Level:&lt;/strong&gt; for a particular page, open the aspx and set the property&lt;br&gt;&lt;br&gt;&amp;lt;%@ Page MaintainScrollPositionOnPostback="true" ...&lt;br&gt;&lt;br&gt;&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Code level: &lt;/strong&gt;to set the property programmatically&lt;br&gt;&lt;br&gt;Page.MaintainScrollPositionOnPostBack = true;&lt;br&gt;&lt;br&gt;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Hope this helps.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Deepak Verma &lt;/strong&gt;&lt;br&gt;SDET | &lt;a href="http://blogs.msdn.com/webdevtools/"&gt;Visual Web Developer&lt;/a&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9709234" width="1" height="1"&gt;</description></item></channel></rss>