One way to optimize the pages you develop with ASP.NET is to keep a check on the view state of the page and the controls that are added to the page. Any seasoned developer of ASP.NET will remember the VIEWSTATE which is added to every page in a hidden field _VIEWSTATE and contains base64 encoded data which could be any where from 800 to tens of thousands of characters long depending on your usage of this property on your page.
There are many issues with view state in ASP.NET 1.x. It is on by default, and unless you know to look for it and disable it when it is not needed, it can significantly increase the amount of data rendered by your page. This becomes particularly painful when you use data-bound controls, all of which use view state to save their state across post backs.
You need to ensure that you only use the VIEWSTATE property for the page and controls where necessary so that the size of the value for the hidden field of _VIEWSTATE is minimum. This will ensure that your page loads fast and that the search engines can retrieve the actual content of your page.
Some search engines only read a certain set of characters from the top (that's why you have most SEO specialists mentioning that you should have your keywords on the top of the page) and the bottom of the page. If the value of the hidden field of _VIEWSTATE is long on your page then these search engines would not be able to get to the actual content of your page as a result it would never map the keywords (keywords density) and you would have a low ranking on these search engines.
How to decrease the size of the view state?
a. As mentioned before the VIEWSTATE for any page is set to TRUE by default. If you do not require the controls or the page to hold the VIEWSTATE you can disable the VIEWSTATE for the page completely by adding the directive to the page. (Usually if you have a page that does not post back to itself you can disable the VIEWSTATE on these pages.)
b. You can selectively disable the VIEWSTATE of the controls, datagrids etc that you use on the page if these controls do not post back to the same page.
You will see a considerable difference in the page size and the loading time of the page once you disable the VIEWSTATE of the controls or the page. This will also be evident from the size of the base64-encoded string in the value field of the hidden field of _VIEWSTATE. By disabling the VIEWSTATE for a couple of datagrid controls on one of the pages of our clients website, we were able to reduce the VIEWSTATE of the page from 10,000 characters to 1000 characters and the page size also reduced by a few kilobytes (KB).
Asp Net Search Engine
As more and more of the business marketing companies are turning to the online sector for promotion, more and more SEO and internet marketing cowboys are popping up onto the scene. Making it harder for not only small businesses but a selection of the larger businesses to actually work out the good from the ugly so I have put together a few tips which may help in eliminating this problem
Search engine optimization has become an integral part of any successful website, without search engine optimization a website has a poor chance of making good rankings. The term ranking here refers to the position of a website whenever a user searches for a particular keyword in any search engine, for example lets assume a website xyz sells spare parts for cars, search engine optimization would actually make the website appear on the first page of results for keywords like 'car parts'. Often effective search engine optimization can make sites like xyz come up as the first result that search engines like Google, Yahoo etc. show
Firstly you should check to see how long a company has been around. If they have been around for say 5 years or more, then you know that they must be doing something right. Also a great tip is to check how many employees they have because a company with only 1 employee that has been around for 5 years is quite an easy achievement. But if infect they have 10 or 20 employees, each would have to get a wage therefore the company would have to be bringing in legitimate money to last 5 years.
Next I would ask them to show me some results of any previous clients they have worked with, if they come up with an excuse such as we can't as we don't list our clients results, then I would be quite precautious. Also ask to speak to some of the clients directly to maybe get a few good references.
A lot of SEO companies promise the world and fail to deliver, or they just lye to you from the beginning. You should never believe an SEO company that guarantees results within 30 or 60 days nobody can guarantee anything, what a legitimate SEO company can do is apply there knowledge both onsite and offsite to improve overall rankings and drive targeted traffic and conversions into a website.
You should be on the look out for companies that want you to sign a long lasting contract, as if you do this you may have to pay the company month in and month out, while they are not doing anything to help your sites rankings. Finally you should try to discuss what the steps will be with an SEO company, SEO is not a quick win solution, it cannot be completed within a day or two, and it should be an ongoing process for the rest of your websites life. You should beware of companies that promise too much as they may be breaking the search engines guidelines which will ultimately result in your sites demise.
Both Manoj Mansukhani & Praveen Kumarii are contributors for EditorialToday. The above articles have been edited for relevancy and timeliness. All write-ups, reviews, tips and guides published by EditorialToday.com and its partners or affiliates are for informational purposes only. They should not be used for any legal or any other type of advice. We do not endorse any author, contributor, writer or article posted by our team.