+ All Categories
Home > Documents > Lenguajes y herramientas .NET...

Lenguajes y herramientas .NET...

Date post: 01-Oct-2018
Category:
Upload: doanngoc
View: 213 times
Download: 0 times
Share this document with a friend
30
La La plataforma plataforma .NET .NET Departamento de Informática Departamento de Informática OOT OOT Lab Lab www. www. ootlab ootlab . . uniovi uniovi . . es es Lenguajes y herramientas Lenguajes y herramientas de .NET de .NET Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle cueva cueva @ @ lsi lsi . . uniovi uniovi . . es es www. www. di di . . uniovi uniovi . . es es /~ /~ cueva cueva
Transcript
Page 1: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La La plataforma plataforma .NET.NET

Departamento de InformáticaDepartamento de InformáticaOOTOOTLabLab www.www.ootlabootlab..unioviuniovi..eses

Lenguajes y herramientasLenguajes y herramientas de .NETde .NET

Juan Manuel Cueva LovelleJuan Manuel Cueva Lovellecuevacueva@@lsilsi..unioviuniovi..eses

www.www.didi..unioviuniovi..eses/~/~cuevacueva

Page 2: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

.NET Framework .NET Framework ReglasReglas de de diseñodiseño

•• GranGran simplificaciónsimplificación del del desarrollodesarrollo en en implantaciónimplantación de de aplicacionesaplicaciones

•• Unificación Unificación de de los modelos los modelos de de programaciónprogramación•• Entorno Entorno de de programación robusto programación robusto y y seguroseguro•• Soporte para múltiples lenguajes Soporte para múltiples lenguajes de de

programaciónprogramación

Page 3: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

Framework, Framework, Lenguajes Lenguajes y y herramientasherramientas

Operating SystemOperating System

Common Language RuntimeCommon Language Runtime

Base Class LibraryBase Class Library

ADO.NET and XMLADO.NET and XML

ASP.NETASP.NETWeb Forms Web ServicesWeb Forms Web Services

Mobile Internet ToolkitMobile Internet ToolkitWindowsWindows

FormsForms

Common Language SpecificationCommon Language Specification

VBVB C++C++ C#C# JScriptJScript J#J#

Visual Studio.NET

Visual Studio.NET

Page 4: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

CLRCLR

Operating SystemOperating System

Common Language RuntimeCommon Language Runtime

Base Class LibraryBase Class Library

ADO.NET and XMLADO.NET and XML

ASP.NETASP.NETWeb Forms Web ServicesWeb Forms Web Services

Mobile Internet ToolkitMobile Internet ToolkitWindowsWindows

FormsForms

Common Language SpecificationCommon Language Specification

VBVB C++C++ C#C# JScriptJScript J#J#

Visual Studio.NET

Visual Studio.NET

Page 5: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

La La evoluciónevolución de .NETde .NET

AplicacionesAplicaciones desarrolladasdesarrolladascomocomo entidadesentidades separadasseparadas

AplicaciónAplicación

CódigoCódigo y y Estructuras Estructuras de de

datosdatos

Page 6: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

La La evolución evolución de .NETde .NET

COM COM suministraba suministraba un un camino para integrar camino para integrar componentescomponentes

Page 7: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

La La evolución evolución de .NETde .NET

Con .NET Framework y CLR Con .NET Framework y CLR todos los componentes todos los componentes tienen tienen un un substrato comúnsubstrato común

Page 8: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

AssemblyAssembly

Compilación Compilación y y EjecuciónEjecución

Código Código fuente fuente

Compilador Compilador del del lenguajelenguaje

CompilaciónCompilación

Ejecución Ejecución (CLR)(CLR)

EvaluaciónEvaluaciónJITJIT

Código Código + + Recolector Recolector de de BasuraBasura

CódigoCódigoCódigoCódigoCódigoCódigoCódigoCódigo (IL)(IL)(IL)(IL)(IL)(IL)(IL)(IL)

MetadatosMetadatosMetadatosMetadatosMetadatosMetadatosMetadatosMetadatos

RecursosRecursosRecursosRecursosRecursosRecursosRecursosRecursos

Page 9: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

Desarrollos más simplificados Desarrollos más simplificados ……

•• No No eses necesarionecesario conocerconocer COMCOM•• No No másmás……

–– RegisterRegister–– GUIDsGUIDs–– .IDL files.IDL files–– HRESULTsHRESULTs–– IUnknownIUnknown–– AddRefAddRef//LiberaciónLiberación–– CoCreateInstanceCoCreateInstance

=>=>aplicaciones aplicaciones auto auto descritasdescritas

=>namespaces =>namespaces jerarquicosjerarquicos

=>=>modelo modelo de de objetos unificadoobjetos unificado

=>=>manejo manejo de de excepcionesexcepciones

=>=>Todo hereda Todo hereda de objectde object

=>=>Recolector Recolector de de basurabasura

=>=>operadoroperador ”new” ”new”

Page 10: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

Desarrollo simplificadoDesarrollo simplificado

•• Common Type SystemCommon Type System–– Definición Definición de de tipos tipos e e instancias comunesinstancias comunes

•• Establece unaEstablece una POO POO más límpiamás límpia–– ClasesClases and interfacesand interfaces–– ConstructoresConstructores, properties, methods, events, properties, methods, events–– Herencia entre lenguajeHerencia entre lenguaje

•• Compatibilidad hacia atrásCompatibilidad hacia atrás–– con COMcon COM–– con DLLs con DLLs nativasnativas (Win32(Win32®®))

Page 11: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

CualquierCualquier cosacosa eses un un objetoobjeto

•• Cambia la Cambia la visión tradicional visión tradicional de de los tipos primitivoslos tipos primitivos–– C++, JavaC++, Java™™

–– Smalltalk, LispSmalltalk, Lisp•• La La soluciónsolución de .NET: de .NET: tipos tipos valorvalor

–– Unifica Unifica sin sin costes costes de de rendimientorendimiento–– Simplicidad Simplicidad a a travéstravés de la de la jerarquía jerarquía de de clasesclases

•• Mejora Mejora la la extensibilidad extensibilidad y la y la reusabilidadreusabilidad–– NuevosNuevos tipostipos primitivosprimitivos: Decimal, SQL…: Decimal, SQL…–– Collections, etc., Collections, etc., trabajan trabajan con con todos los tipostodos los tipos

Page 12: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

•• Tipos Tipos ValorValor–– Las variables Las variables directamente contienen datosdirectamente contienen datos–– No No pueden pueden ser nullser null

•• Tipos ReferenciaTipos Referencia–– Las variables Las variables contienen referencias contienen referencias a a objetosobjetos–– Pueden Pueden ser nullser null

intint i = 123;i = 123;string s = "Hello world";string s = "Hello world";123123ii

ss "Hello world""Hello world"

Tipos Tipos Valor y Valor y ReferenciaReferencia

Page 13: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

•• Tipos Tipos ValorValor–– PrimitivosPrimitivos intint i; double x;i; double x;

–– EnumsEnums enumenum State { Off, On }State { Off, On }

–– StructsStructs structstruct Point { Point { intint x, y; }x, y; }

•• Tipos ReferenciaTipos Referencia–– ClasesClases class Foo: Bar, class Foo: Bar, IFooIFoo {...}{...}

–– InterfacesInterfaces interface interface IFooIFoo: : IBarIBar {...}{...}

–– ArraysArrays FooFoo[] a = new Foo[10];[] a = new Foo[10];

–– DelegadosDelegados delegate void Empty();delegate void Empty();

Tipos Tipos Valor y Valor y ReferenciaReferencia

Page 14: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

•• Todos los tipos heredan Todos los tipos heredan de objectde object•• ExisteExiste unauna conversiónconversión implícitaimplícita de de

cualquiercualquier tipotipo a a tipotipo objectobject

StreamStream

MemoryStreamMemoryStream FileStreamFileStream

HashtableHashtable doubledoubleintint

objectobject

Sistema Sistema de de tipos unificadotipos unificado

Page 15: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

•• BoxingBoxing–– AsignaAsigna unauna posiciónposición de de memoriamemoria y y copiacopia el valor en el valor en

ellaella•• UnboxingUnboxing

–– CompruebaComprueba el el tipotipo de la de la posiciónposición de de memoriamemoria y y copiacopiael valor en el valor en otra posiciónotra posición..

intint i = 123;i = 123;object o = i;object o = i;intint j = (j = (intint)o;)o;

123123i

o

123123

System.Int32System.Int32

123123j

Sistema Sistema de de tipos unificadotipos unificado

Page 16: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

Entorno robustoEntorno robusto

•• Gestión Gestión de de memoria automáticamemoria automática–– Todos los objetos están manejados por Todos los objetos están manejados por el el

recolector recolector de de basurabasura•• ManejoManejo de de excepcionesexcepciones•• Seguridad Seguridad en el en el manejo manejo de de tipostipos

–– No hay cast No hay cast insegurosinseguros

Page 17: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

Operating SystemOperating System

Common Language RuntimeCommon Language Runtime

Base Class LibraryBase Class Library

ADO.NET and XMLADO.NET and XML

ASP.NETASP.NETWeb Forms Web ServicesWeb Forms Web Services

Mobile Internet ToolkitMobile Internet ToolkitWindowsWindows

FormsForms

Common Language SpecificationCommon Language Specification

VBVB C++C++ C#C# JScriptJScript J#J#

Visual Studio.NET

Visual Studio.NET

Framework, Framework, Lenguajes Lenguajes y y herramientasherramientas

Page 18: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

Modelo Modelo de de programación unificadoprogramación unificado

Windows APIWindows API

.NET Framework.NET Framework

ASPASPMFC/ATLMFC/ATLVB FormsVB Forms

Page 19: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

SimplicidadSimplicidad

Windows APIWindows APIHWNDHWND hwndMainhwndMain == CreateWindowExCreateWindowEx((

0, "0, "MainWClassMainWClass", "Main Window",", "Main Window",WS_OVERLAPPEDWINDOW | WS_HSCROLL | WS_VSCROLL,WS_OVERLAPPEDWINDOW | WS_HSCROLL | WS_VSCROLL,CW_USEDEFAULT, CW_USEDEFAULT,CW_USEDEFAULT, CW_USEDEFAULT,CW_USEDEFAULT, CW_USEDEFAULT,CW_USEDEFAULT, CW_USEDEFAULT,(HWND)NULL, (HMENU)NULL,(HWND)NULL, (HMENU)NULL, hInstancehInstance, NULL);, NULL);

ShowWindowShowWindow((hwndMainhwndMain, SW_SHOWDEFAULT);, SW_SHOWDEFAULT);UpdateWindowUpdateWindow((hwndMainhwndMain););

.NET Framework (VB.NET).NET Framework (VB.NET)DimDim formform As NewAs New Form()Form()form.Text = "Main Window"form.Text = "Main Window"form.Show()form.Show()

Page 20: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

La La bibliotecabiblioteca .NET Framework.NET Framework

Base Class LibraryBase Class Library

ADO.NET and XMLADO.NET and XML

Web Forms Web ServicesWeb Forms Web ServicesMobile Internet ToolkitMobile Internet Toolkit

WindowsWindowsFormsForms

ASP.NETASP.NET

Page 21: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

System System

System.DataSystem.Data System.XmlSystem.Xml

System.WebSystem.Web

GlobalizationGlobalizationDiagnosticsDiagnosticsConfigurationConfigurationCollectionsCollections

ResourcesResourcesReflectionReflectionNetNetIOIO

ThreadingThreadingTextTextServiceProcessServiceProcessSecuritySecurity

CommonCommonOleDbOleDb

SQLTypesSQLTypesSqlClientSqlClient

XPathXPathXSLTXSLT

RuntimeRuntimeInteropServicesInteropServicesRemotingRemotingSerializationSerialization

SerializationSerialization

ConfigurationConfiguration SessionStateSessionStateCachingCaching SecuritySecurity

ServicesServicesDescriptionDescriptionDiscoveryDiscoveryProtocolsProtocols

UIUIHtmlControlsHtmlControlsWebControlsWebControls

System.DrawingSystem.Drawing

ImagingImagingDrawing2DDrawing2D

TextTextPrintingPrinting

System.Windows.FormsSystem.Windows.FormsDesignDesign ComponentModelComponentModel

La La bibliotecabiblioteca .NET Framework.NET Framework

Page 22: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

Framework BaseFramework BaseSystemSystem

ThreadingThreadingTextTextServiceProcessServiceProcessSecuritySecurity

ResourcesResourcesReflectionReflectionNetNetIOIOGlobalizationGlobalizationDiagnosticsDiagnosticsConfigurationConfigurationCollectionsCollections

RuntimeRuntime

SerializationSerializationRemotingRemotingInteropServicesInteropServices

Page 23: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

AccessoAccesso a a DatosDatos y XMLy XMLSystem.DataSystem.Data

System.XmlSystem.Xml

SQLTypesSQLTypesSQLClientSQLClient

CommonCommonOleDbOleDb

SerializationSerializationXPathXPathXSLTXSLT

Page 24: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

ASP.NETASP.NET

System.WebSystem.Web

CachingCachingConfigurationConfiguration

ServicesServices UIUI

SessionStateSessionState

HtmlControlsHtmlControlsWebControlsWebControls

DescriptionDescriptionDiscoveryDiscovery

SecuritySecurity

ProtocolsProtocols

Page 25: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

WindowsWindows®® FormsForms

System.DrawingSystem.DrawingDrawing2DDrawing2DImagingImaging

PrintingPrintingTextText

System.Windows.FormsSystem.Windows.FormsDesignDesign ComponentModelComponentModel

Page 26: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

Operating SystemOperating System

Common Language RuntimeCommon Language Runtime

Base Class LibraryBase Class Library

ADO.NET and XMLADO.NET and XML

ASP.NETASP.NETWeb Forms Web ServicesWeb Forms Web Services

Mobile Internet ToolkitMobile Internet ToolkitWindowsWindows

FormsForms

Common Language SpecificationCommon Language Specification

VBVB C++C++ C#C# JScriptJScript J#J#

Visual Studio.NET

Visual Studio.NET

Framework, Framework, Lenguajes Lenguajes y y herramientasherramientas

Page 27: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

LanguajesLanguajes•• La La PlataformaPlataforma .NET Platform .NET Platform es es neutral neutral respecto respecto

a a los lenguajeslos lenguajes–– TodosTodos loslos lenguajeslenguajes de .NET de .NET tienentienen loslos mismosmismos

privilegiosprivilegios•• Common language specificationCommon language specification

–– Hay un Hay un conjunto conjunto de de características que características que se se garantizan garantizan en en todos los lenguajestodos los lenguajes

•• Microsoft ha Microsoft ha desarrolladodesarrollado–– Visual BasicVisual Basic®®, C++, C#, J#, , C++, C#, J#, JScriptJScript®®

•• Otros fabricantesOtros fabricantes–– APL, COBOL, Delphi, Pascal, Eiffel, Haskell, ML, APL, COBOL, Delphi, Pascal, Eiffel, Haskell, ML,

Oberon, Oberon, PerlPerl, Python, Scheme, Smalltalk…, Python, Scheme, Smalltalk…

Page 28: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

EstandarizaciónEstandarización

•• Un Un subconjuntosubconjunto de CLR, .NET Framework de CLR, .NET Framework and C# and C# estandarizado porestandarizado por ECMAECMA–– También estandarizado por También estandarizado por ISOISO–– Copatrocinado porCopatrocinado por Intel, HewlettIntel, Hewlett--PackardPackard

•• El El subconjuntosubconjunto del CLR se del CLR se denominadenominaCommon language infrastructure (CLI)Common language infrastructure (CLI)

Page 29: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

Recursos de Microsoft Press

www.microsoft.com/www.microsoft.com/mspressmspress

MICROSOFT .NET FRAMEWORK

Page 30: Lenguajes y herramientas .NET dedi002.edv.uniovi.es/~cueva/asignaturas/extension/2003/01-Panorama/... · ASP.NET Web Forms Web Services Mobile Internet Toolkit Windows Forms Common

La plataforma .NETLa plataforma .NETPanorama General de .NETPanorama General de .NET

Juan Manuel Cueva Lovelle Juan Manuel Cueva Lovelle OOTOOTLabLab

Discusión Discusión y y preguntaspreguntas


Recommended