Rules to Better Website Development - ASP.NET

If you still need help, visit our Web Application Development consulting page and book in a consultant.

  1. There are a lot of reasons to have nice URLs for your website:

    • Easy to remember
    • Easy to navigate
    • Better for search engines
  2. Ugly URLs don't only make it difficult for users to browse your site, they can also impact Google rankings.

  3. It is difficult for users to find their required records in a huge amount of data, so adding the filter data functionalities is very useful.

  4. To please customers every business knows they need to keep their services and offerings fresh and up-to-date. The same is true for websites. In order to attract new traffic, we should make the website vivid.

  5. It is common when we browse a list page, we have to click the "More..." or "Details" button to view the item detail. This process takes more time because we need to wait for the loading of the detail page.

    To improve the performance, we can use jQuery plus CSS to show tooltips in the list page that can let users determine which item detail they want to see.

  6. In old versions of ASP.NET AJAX the UI control couldn't get notification if the source had been changed. Developers had to write the extra code to refresh the value.

    In ASP.NET AJAX version 4.0, there is a new feature called "Live Data Binding", which means when there's any change in the data source, the changes are reflected to the data bound interface instantly and vice versa.

  7. NULLs create difficulty in the middle-tier because you need to add further handling. So avoid them where you can, eg. For a Discount field, make the default 0 and don't allow NULLs.

  8. ASP.NET injects many lines during page rendering, so if you are using inline JavaScript, the line numbers will change during client side JavaScript debugging in VS.NET, FireBug or IE8 developer Tools.

  9. When you are deploying an ASP.NET project (no matter it's a website or a Web application), do not copy all files of this project to the production server because source code will be deployed during this simple copy and it makes easier for others to access or tamper the source code of your site.

    Instead, please use 'Publish' utility to deploy your website or Web application. This utility can remove the source code from the site.

  10. ASP and ASP.NET tags have no place in plain HTML pages. They simply increase the size of the file and are ignored by browsers, because the need to be processed on the server. When converting ASP.NET pages to plain HTML you must be careful to remove all of these tags.

per page
1 - 10 of 37 items
We open source.Loving SSW Rules? Star us on GitHub. Star