Contents tagged with ASP.NET
-
Tip #109 Did you know … How to speed up build time by *only* building the currently selected project in a multi-project solution?
When working with a solution that contains numerous projects, I find myself often wanting to only build and run the currently selected project. Other projects in the solution might have build errors that I don’t want to resolve at the current time. By default though, trying to do a CTRL+F5 on the currently selected project will cause Visual Studio (VS) to build all of the projects in a solution.
-
Tip#101: Did you know… How to scope Theme
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.
-
Tip#100: Did you know… How to view ASP.NET trace information?
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.
-
Tip #81: Did you know... How to use Web.Config transformation
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 "Web Deployment: Web.Config Transformation".
-
Tip #80: Did you know… How to show JScript validation errors as warnings?
With Visual Studio 2008 RTM, JScript validation setting is an option on the HTML validation page on the Options dialog. Since Visual Studio 2008 SP1 and later, we added a new option page JScript on the Options dialog, see the blog "Introducing JScript Formatting in VS 2008 SP1" for more detail. With this change, now the JScript validation resides on its own tab "Miscellaneous" as shown below:
-
Tip #79: Did you know… How to quickly comment and uncomment in your web pages?
Select the lines you want to be commented in your ASPX, HTML, web config file etc and click on the Comment/ Uncomment icon in Toolbar.
-
Tip# 78: Did you know… How to navigate using Document Outline?
Document Outline window can be launched from the menu View -> Document Outline, or via short cut key Ctrl-Alt-T. The Document Outline window displays a nested, hierarchical tree of the elements and scripts on the page. It gives you a good overview of the page's content and its layout.
-
Tip# 77: Did you know… How to enable Page Level Tracing for your ASP.NET pages?
-
Tip #76: Did you know… How to hide a non-visual control in your designer?
-
Tip #75: Did you know…How to maintain scrollposition after post back?
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.