Upload
arasu-r
View
223
Download
0
Embed Size (px)
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 1/19
Introduction to Visual Studio.NET
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 2/19
Agenda
What is .NET?.NET Framework
Visual Studio.NET
Visual Basic.NET
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 3/19
What is Microsoft .NET?
.NET represents an advanced new generationof software that will drive the NextGeneration Internet. Its purpose is to makeinformation available any time, any place,
and on any device.Quick Definition
.NET is an initiative to integrate all Microsoftproducts with the “Next Generation” web.
http://www.microsoft.com/net/
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 4/19
What is Microsoft .NET? (Cont.)
Core components of .NET are:.NET Infrastructure and Tools
.NET ServicesAn integrated set of building block services for the newInternet, including Passport.NET (for user authentication), and
services for file storage, user preference management, calendarmanagement, and many others.
.NET User ExperienceA broader, more adaptive user experience, where information isdelivered in a variety of ways on a variety of different devices.
.NET Device Software
Enables a new breed of smart Internet devices that can leverage WebServices
http://www.microsoft.com/business/vision/netvision.asp
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 5/19
.NET Infrastructure and Tools
.NET Infrastructure and ToolsVisual Studio.NET
.NET Framework
Windows.NET
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 6/19
.NET Framework
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 7/19
.NET Framework
.NET Framework consists of 3 mainparts:
Common Language Runtime
Framework Classes/Libraries
ASP.NET
http://msdn.microsoft.com/net
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 8/19
The .NET Framework
Base Class LibraryBase Class Library
Common Language SpecificationCommon Language Specification
Common Language RuntimeCommon Language Runtime
ADO.NET: Data and XMLADO.NET: Data and XML
VBVB C++C++ C#C#
V i s u al S t u d i o.NE T
V i s u al S t u d i o.NE T
ASP.NET: Web ServicesASP.NET: Web Servicesand Web Formsand Web Forms
JScriptJScript ……
WindowsWindowsFormsFormsWindowsWindowsFormsForms
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 9/19
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 10/19
Common Language Runtime (CLR)
Enables cross-language interoperabilityCommon Language Specification describes interoperabilityrequirements
Language/Hardware/OS Independent
Compact framework for small devicesIndustrial strength Garbage collector
Designed for multi-processor servers
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 11/19
CLR: Execution Model
VBVBSourceSourcecodecodeCompiler Compiler
C++C++C#C#
Compiler Compiler Compiler Compiler
AssemblyAssembly
IL CodeIL CodeAssemblyAssembly
IL CodeIL CodeAssemblyAssembly
IL CodeIL Code
Operating System ServicesOperating System Services
Common Language RuntimeCommon Language Runtime
JIT Compiler JIT Compiler
Native CodeNative Code
ManagedManaged
codecode
UnmanagedUnmanaged
ComponentComponent
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 12/19
.NET Framework Libraries
Single consistent set of object orientedclass libraries to enable buildingdistributed web applications (UnifiedClasses)
Built using classes arranged acrosslogical hierarchical namespaces
For example: System.Data.SQL
Work with all CLR languages
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 13/19
.NET Framework Libraries
Unified Classes
Web Classes (ASP.NET)
XML Classes
System Classes
Drawing Classes
Windows FormsData (ADO.NET)
Controls, Caching, Security, Session, Configuration etc
Collections, Diagnostics, Globalization, IO, Security,
Threading Serialization, Reflection, Messaging etc
ADO, SQL,Types etc
Drawing, Imaging, Text, etc
Design, Cmpnt Model etc
XSLT, Path, Serialization etc
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 14/19
Visual Studio.NET
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 15/19
Visual Studio.NET
Integrated Development EnvironmentVisual Basic.NET
Many language enhancements
Inheritance,Overloading, Free Threading
Visual C++
Integration with .NET Framework with managed extensions
(classes)C#
New development language
Based on C/C++ with Garbage Collection/Memory Management
JUMP (Java User Migration Path) to .NET (1/25/01)
Visual J++ has been removed from the Visual Studio suite.
http://msdn.microsoft.com/vstudio
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 16/19
JUMP to .NET
Consists of 3 sets of tools and a serviceoffering
Interoperability support (ability to workwith each other)
Programming tools support
Automated conversion from Java languagesource code to C#
Migration services
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 17/19
VS.NET Features
Single IDE for all LanguagesServer Explorer
Event Viewer, Message Queues, Services
SQL Databases, Data Connection, Etc.
Integrated IE Browser
HTML/XML EditorsMacros/Macro Explorer
Solution Explorer
Tabbed Documents
Dynamic Help
Common Forms EditorVB.NET, C++, and C#
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 18/19
ADO.NET
ADO.NET is the preferred data accessmethod in the .NET Framework
Better support for disconnected dataaccess
Specialized namespacesSystem.Data.SQL – Tuned for SQL Server
System.Data.ADO – OLEDB
PortableNative XML Support
Pantech Solutions
8/8/2019 Basic Dotnet
http://slidepdf.com/reader/full/basic-dotnet 19/19
ADO.NET
ADOConnectionSimilar to Connection object in ADO
ADOCommand
Similar to Command object in ADO
ADODataSetCommandSomewhat like Recordsets for ADO.NET (DataSet)
Designed for stateless operations
ADODataReader
For streaming methods, similar to StreamSQLConnection, SQLCommand, andSQLDataSetCommand, SQLDataReader
Pantech Solutions