User Controls and Client Side Scripting

If the requirement is for the appearance (ie, styles) of the form we can adopt XML and XSLT to meet the requirements. If the need comes for functionality we must either rewrite the form code or implement the user controls. User controls provide functionality in different scenes. For example, we are not going to write the database connection info in each page or configuration file, due to the confidential nature of that information. In such cases, user controls come in handy. We can write some secured or encrypted files for the confidential information and use the user controls to read and provide the information as necessary. User controls may provide UI (like tables, text boxes, labels if necessary) or without UI (like database connection string, style etc).


Continue reading

ASP.NET Programming with Microsoft's ASP.NET Web Matrix

Like the year 2000, the introduction of Microsoft’s .NET initiative was met by many with mixed emotions: skepticism, excitement, and a fear of the end of civilization as we know it. Alright, so I can’t honestly say that I remember seeing anyone buying survivalist handbooks due to the introduction of .NET. Still, its introduction was a pretty monumental event, even outside of the Microsoft development community.
Continue reading