This book provides a comprehensive transition from JScript to the .NET Framework/platform including coverage of JScript.NET (language), ASP.NET, and Windows Forms. The book will discuss the language changes to ease the developer into working with the new syntax. and then several chapters on ASP.NET will correlate the differences between the former ASP programming model and the new .NET programming model.
(NOTE: Each chapters concludes with a Summary.)
1. Introduction to JScript .NET.
Development of JScript .NET. What Does JScript .NET Have to Offer? Organization of This Book. Coding Conventions.
Packages and Namespaces. Classes and Interfaces. Class Members. Assemblies, Executables, and Libraries. Basic JScript .NET Program.
Strongly Typing in JScript .NET. Basic Datatypes. Declaring and Typing Arrays. Using the String Object.
Comparison and Assignment Operators. Arithmetic Operators and Concatenation. Bitwise and Boolean Operators. Object Operators. Using Comments.
Conditional Statements. Loop Statements. Enumerations and the for…in Loop. Using Labels with continue and break.
An Overview of Classes. Class and Member Attributes. Inheritance and Subclassing. Declaring Constructors.
An Overview of Interfaces. Implementing Interfaces. Declaring Methods. Properties and Fields. Event Support.
Wrapping Code with try and catch. Throwing Exceptions.
Command-Line Compiler Usage. Conditional Compilation. Assembly-Level Attributes.
File, FileInfo, Directory, DirectoryInfo, and Path. The Stream Class and IO.
The System.Xml Namespace. Creating New XML Content.
JScript Regex Support. Using .NET Regular Expressions. Basic Pattern Matching. Using Regex for String Replacement.
The System.Net Namespace. Simple Web Requests. Asynchronous Web Requests.
ASP.NET Page-Level Directives. Server-Side Code Blocks, In-line Code, and Code-Behind. Writing Basic Event Handlers.
Setting Up a Basic Form. Buttons, Labels, and Text Controls. Using the Docking and Layout Feature. Implementing Simple Menus. Using the Common Dialog Controls. Wrapping Up in JPad.