When Seo is performed on ASP. NET pages, a problem is that the view State viewstate is hidden. Viewstate occupies too many bytes, which has always been one of the key points of ASP. NET Website performance optimization (considering the page size and bandwidth usage, viewstate should be used properly ).ArticleFor Seo, most search engines define the boundaries of page grabbing, that is, they only capture the text content of the first several thousand bytes of the page, in addition, when the first 2kb of your page is viewstate garbage, your page may be penalized. In some special cases, viewstate may affect the search engine's webpage indexing.
ASP. net4.0 provides a new attribute: viewstatemode, which outputs more pure HTMLCode.
ASP. NET 3.5: The viewstate attribute of the page has two values: true and false"
ASP. NET 4.0: The viewstatemode attribute uses the enumeration quantity, which has three values: "enabled", "disabled", and "inherit ". Controls
The default value is "inherit", that is, inheritance.
Reasonable Use of ASP. NET Server controls and reduced redundant code (code optimization) during webpage design are the key to solving the problem.