Browse by Tags
All Tags »
Tips and Tricks (
RSS)
After the Beta 2 release of Visual Studio 2010, the Publish Web Dialog was modified to include two information buttons associated with the Service URL and Site/application text boxes. (See Figure 1) Figure 1 – New information (‘hint’) buttons (see circled question marks) There are two keys to remember when trying to view the ‘help’ text associated with these buttons: Patience Hover – don’t click In order to reveal the valuable information that these help icons can unlock, simply move your mouse to...( read more ) Read More...
Let’s see this with an example. I have the following html code on my page. Now if I format the document by selecting Edit –> Format document (or Ctrl K, Ctrl D) The document becomes I want the content inside td should remain on the same line after formatting the document. Following steps would show how you can specify tag specific formatting for the Visual Studio editor Right click on the editor in an aspx file and select Formatting and Validation... (or alternatively you can go from Menu...( read more ) Read More...
Themes are a way to define properties of pages and controls, and can be used to provide consistent look across pages. There are several different levels of applying a theme to an individual control, a page, or an application. Control Level Define a named skin (an entry in a .skin file having the SkinID property set) and then apply it to an individual control <asp:Button runat="server" ID="MyButton" SkinID ="BlueButton" /> Page Level A defined theme can be applied to an individual page by specifying...( read more ) Read More...
You can enable ASP.NET tracing either at an Application level or at a page level; see Tip# 77: Did you know… How to enable Page Level Tracing for your ASP.NET pages? for more information. With the tracing enabled, you can view the trace output in a trace viewer by navigation to trace.axd from the root of your application. For example, if the URL of your application is http://localhost:11423/Website, then the trace viewer can be accessed at http://localhost:11423/WebSite1/trace.axd. You can click...( read more ) Read More...
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. To enable it in designer click on View -> Formatting Marks -> Show Now you will start seeing the hidden elements on the designer surface. Hope this helps, Deepak Verma SDET | Visual Web Developer...( read more ) Read More...
You can use the SQL Publishing wizard in VS 2008/VWD 2008 to deploy a local database from your development machine to a hosting environment on a remote machine. This is how you will accomplish this: Step 1: Create a new web site by selecting menu File ->New Web Site. Switch to Server Explorer and add a new Data connection and connect to a database. In this case we will use the Northwind database that comes with SQL Express. You should point to the database you want to publish. Step 2: Select Northwind...( read more ) Read More...
Creating a Web Application Project was possible only in VS standard SKU and above in VS 2008. 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 File –> New Project. Reshmi Mangalore SDET, Visual Web Developer....( read more ) Read More...
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. 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. For a Web Application project: Right click solution explore. Select Add and then select New Item From the Add new Item dialog select Web content form and click on Add button. Select...( read more ) Read More...
Over the versions of IIS, we have changed our process model in some ways with each release. Each of those changes required administrators to change the way they set up permissions for "code" to run properly on IIS. It also requires application developers to be aware of these changes. Let's skip ASP.net for this blog post (that code has it's own process model and identity configuration), and instead focus on how IIS itself will run script-mapped code and ISAPI filters and extensions. Let's also ignore...( read more ) Read More...
Many questions that we get on the forum's are around which users need which permissions for what resources ... isn't that how life goes? :) Anyways, to make this more complicated, we have changed "who" the "anonymous" user is in different versions of IIS. We did this to make migration easier and to make configuration less machine dependent. Also, the Web Deployment Tool will handle many of the migration difficulties that would arise from these changes (be thankful!) ... you can find Web Deploy here...( read more ) Read More...
More Posts
Next page »