basic dotnet

19
Introduction to Visual Studio.NET  Pantech Solutions

Upload: arasu-r

Post on 10-Apr-2018

236 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Basic Dotnet

8/8/2019 Basic Dotnet

http://slidepdf.com/reader/full/basic-dotnet 1/19

Introduction to Visual Studio.NET

 

Pantech Solutions

Page 2: Basic Dotnet

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

Page 3: Basic Dotnet

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

Page 4: Basic Dotnet

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

Page 5: Basic Dotnet

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

Page 6: Basic Dotnet

8/8/2019 Basic Dotnet

http://slidepdf.com/reader/full/basic-dotnet 6/19

.NET Framework

Pantech Solutions

Page 7: Basic Dotnet

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

Page 8: Basic Dotnet

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

Page 9: Basic Dotnet

8/8/2019 Basic Dotnet

http://slidepdf.com/reader/full/basic-dotnet 9/19

Page 10: Basic Dotnet

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

Page 11: Basic Dotnet

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

Page 12: Basic Dotnet

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

Page 13: Basic Dotnet

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

Page 14: Basic Dotnet

8/8/2019 Basic Dotnet

http://slidepdf.com/reader/full/basic-dotnet 14/19

Visual Studio.NET

Pantech Solutions

Page 15: Basic Dotnet

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

Page 16: Basic Dotnet

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

Page 17: Basic Dotnet

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

Page 18: Basic Dotnet

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

Page 19: Basic Dotnet

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