110 likes | 233 Vues
This guide provides a comprehensive introduction to Visual Studio .NET and VB.NET. It explores the .NET framework, its languages, and core components such as CLR, BCL, and exception handling. Key features of VB.NET, including type safety, object-oriented programming, and ADO.NET's DataSet for data management, are thoroughly discussed. The guide also covers ASP.NET, highlighting its simplified development process and support for web services. Ideal for beginners and experienced programmers transitioning to .NET technologies.
E N D
An Introduction to Visual Studio.net and VB.net Tem McGallagher April 2002
.net Framework • Languages • CLS • Interface • Data / XML • BCL • CLR
Common Language Runtime • BCL Support • Threads • Type Checking • Exception/Error Handling • Security • Garbage Collection • Class Loader
System Namespace • Namespaces are “groups” of classes (similar to Java packages) • The System namespace contains nearly 100 classes that provide the core-runtime • The System namespace has 25 second level namespaces (System.Data, System.IO, System.XML are examples) • The System namespace also contains the classes for base data types
Additions/Deletions to VB.net • Data types have been removed (Variant and Currency data types no longer exist) • Many syntax changes • VB.net is “Type Safe” (You cannot store data of one data type in a variable with a different data type) • System.Object class (is the super class of all objects in .net & VB.net)
OOP in VB.net • VB.net is now truly an object oriented language • VB.net supports both “code” inheritance and visual inheritance (Windows forms) • Methods can be overloaded like with Java class methods • Every component (visual or code) in VB.net is now an Object
ADO.net • No longer contains a Recordset object • The DataSet object is the “heart” of ADO.net • The DataSet object contains a cached version of your data • The DataSet object is disconnected from the server; only when changes are committed or data is refreshed is a connection established • The DataSet object is created by a SqlDataAdapter object, which stores information about the data in an XML schema • All data in ADO.net can be represented, stored, viewed and transmitted in XML
ASP.net and Web Services • Key features of ASP.net • Language Independence • Simplified Development • Separation of Code and Content • Support for multiple clients • Enhanced server-side processing
ASP.net and Web Services • Web Services • Replaces DCOM (Distributed COM) in a distributed environment • Utilizes SOAP and XML for data transfer • Are expected to be widely offered by many companies via the Internet for Some applications could be • Exchange rates from banks • Stock quotes • Weather updates • The limits are boundless…any service a company has to offer can be exposed over the Internet with Web services