Article

Home » Server-side Coding » ASP & .NET Tutorials » Object Oriented C# for ASP.NET Developers

About the Author

Kevin Yank

author_kev1 Kevin began developing for the Web in 1995 and is a highly respected technical author. He wrote Build your own Database Driven Website using PHP and MySQL, a practical step-by-step guide published by SitePoint, and he's co-author of the SitePoint Tech Times, a bi-weekly newsletter for technically-minded web developers. Kev believes that any good webmaster should have seen at least one episode of MacGyver.

View all articles by Kevin Yank...

Object Oriented C# for ASP.NET Developers

By Kevin Yank

August 14th, 2002

Reader Rating: 9.5

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Next

There was a time when any Web developer with a basic knowledge of JavaScript could pick up the essentials of ASP Web development in a couple of hours. With ASP.NET, Microsoft's latest platform for Web application development, the bar has been raised. Though tidier and generally more developer-friendly, real-world ASP.NET development requires one important skill that ASP did not: Object Oriented Programming (OOP).

The two most popular languages that were used to write ASP scripts, VBScript and JScript, have been retrofitted with OOP features to become VB.NET and JScript.NET. In addition, Microsoft has introduced an entirely new programming language called C# (C-sharp). Unhindered by clunky syntax inherited from a non-OOP legacy, C# is arguably the cleanest, most efficient language for .NET in popular use today.

In this article, I'll introduce you to the OOP features of C# as they apply to ASP.NET Web development. By the end, you should have a strong grasp of exactly what OOP is, and why it's such a powerful and important aspect of ASP.NET. If you're a seasoned pro when it comes to object oriented programming (for example, if you have some Java experience under your belt), you might like to bypass all the theory and skip straight to the section on Code-Behind Pages.

This article is the third in a series on ASP.NET. If you're new to ASP.NET Web development and haven't read my previous articles, check out Getting Started with ASP.NET and ASP.NET Form Processing Basics before proceeding.

Since C# is such a similar language to Java, much of this article is based on my two-part series, Object Oriented Concepts in Java. Please therefore accept my apologies if some of the examples seem eerily familiar to longtime readers.

If you liked this article, share the love:
Print-Friendly Version Suggest an Article

Sponsored Links