.NET news » Search results
Search results for query "asp" (244):
Classic ASP Integration with Facebook Websites Feature
Managing View State in ASP.NET 4 Using the New ViewStateMode Property
The ASP.NET Web Forms model strives to encapsulate the lower level complexities involved in building a web application. Features like server-side event handlers, the page lifecycle, and view state effectively blur the line between the client and the server, simplify state management, and free the developer from worrying about HTTP, requests and responses, and similar matters. While these facets of the Web Forms model allow for rapid application development and make ASP.NET more accessible to developers with a web application background, their behavior can impact your website's behavior and performance.
View state is perhaps the most important - yet most misunderstood - feature of the Web Forms model. In a nutshell, view state is a technique that automatically persists
programmatic changes to the Web controls on a page. By default, this state is serialized into a base-64 encoded string and included as a hidden <input>
field in the Web Form. On postback, this state information is returned to the server as part of the POST request, at which point the server can deserialize it and
reapply the persisted state to the controls in the control hierarchy. (If this last paragraph made crystal clear sense, great! If not, consider reading
my article, Understanding ASP.NET View State, and Dave Reed's
article, ViewStateMode in ASP.NET 4, before continuing.)
One potential issue with view state is that it can greatly bloat the size of your web pages. Each new version of ASP.NET seems to include new techniques for
managing view state's footprint. ASP.NET 4 adds a new property to all Web controls, ViewStateMode,
which allows developers to disable view state for a page by default and then selectively enable it for specific controls. This article reviews existing view
state-related properties and then delves into the new ViewStateMode property.
Paging in any ASP.NET grid using SQL Server 2005
Implementing Yahoo! Contact Reader Using Asp.NET
Search Engine Optimization Enhancements in ASP.NET 4
Search engine optimization, or SEO, is the practice of improving a website's position in search engines' results using unpaid techniques. A better (higher) position in the search results will, in theory, lead to more click throughs, increasing the website's visibility and audience. There are a number of simple steps you can take on your website to improve your search engine ranking. A good first step is to download and run Microsoft's free Search Engine Optimization Toolkit. Point it at a remote website and the SEO Toolkit will crawl the links on the site and identify potential problems and offer suggestions on how to fix them.
ASP.NET 4 includes a handful of new methods, properties, and libraries to assist with search engine optimization, including
ASP.NET Routing, permanent redirects,
and the ability to programmatically specify values for certain <meta> tags. This article examines these enhancements and shows how
they can be used for SEO purposes.


Syndicate