Uncategorized

HTML vs XHTML

One of the first steps in developing a web site is deciding whether to use HTML 4.01 or XHTML 1.0. HTML is a much looser language than XHTML creating a larger potential for bad coding practices and unpredictable markup. This can create issues when parsing or manipulating the HTML code, compared to XHTML, which is [...]

Validation Controls

I listed a few tips below for the proper use of validation controls.
Validation controls can be use with any other control that has the ValidationProperty attribute.
Check the value of Page.IsValid in the Page_Load method to test the values of all the Validation controls on the page.
There are six Validation Controls: RequiredFieldValidator, RangeValidator, CompareValidator, RegularExpressionValidator, [...]

Cookie Basics

Cookies are a basic feature of ASP.NET, and are automatically implemented when Forms Authentication is configured for your web site. Cookies usage can be configured through the ‘Cookieless’ setting of Forms Authentication in the web.config page. On a security note, you should never ask a user if they want their info persisted (”Remember me Next [...]

ViewState Viewers

Developers have several methods to view the ViewState payload. The easiest route is to use the Trace settings supplied by ASP.NET either in the web.config file or inserting Trace=”true” in the Page directive of the page you want to examine.
Fritz Onion of PluralSight.com has a tool to decode the ViewState called appropriately ViewState Decoder. [...]

Error handling

Errors can be handled at three different levels of the ASP.NET web application – app, page or code (class). To handle errors at the application level, the developer has two files at their command: global.asax and web.config.
At the page level, the developer can use the Page_Error event handler, and at the code level, developers can [...]

Blog goals

With this blog, I want to offer my thoughts and reflections on the latest computer and web technologies, focusing on the platforms and tools available for web programmers and designers, and finally record and direct my efforts as I work towards a career in web programming and design.
I will also use this blog as [...]