TALLER DE PROGRAMACIÓN III INTRODUCCIÓN A LA TECNOLOGÍA .NET
Temario Arquitectura .NET Common Language Runtime (CLR) .NET Framework Class Library Common Language Specification (CLS)
Common Language Specification XML, ADO .NET, Enterprise Services Arquitectura .NET Common Language Specification VB C++ C# J# … Visual Studio .NET Base Class Library XML, ADO .NET, Enterprise Services ASP .NET Web Forms Web Services Windows Forms Common Language Runtime Sistema Operativo
Common Language Runtime Common Language Specification VB C++ C# J# … Visual Studio .NET Base Class Library XML, ADO .NET, Enterprise Services ASP .NET Web Forms Web Services Windows Forms Common Language Runtime Sistema Operativo
Common Language Runtime El CLR es el entorno donde se ejecutan todas las aplicaciones .NET El CLR determina para las aplicaciones .NET: Un conjunto de tipos de datos: CTS Un lenguaje intermedio: CIL (MSIL) Un empaquetado de código: Assembly El código que ejecuta el CLR se llama código gestionado (managed code)
.NET Framework Class Library Common Language Specification VB C++ C# J# … Visual Studio .NET Base Class Library XML, ADO .NET, Enterprise Services ASP .NET Web Forms Web Services Windows Forms Common Language Runtime Sistema Operativo
.NET Framework Class Library System System.Data System.Xml System.Web Globalization Diagnostics Configuration Collections Resources Reflection Net IO Threading Text ServiceProcess Security Common OleDb SQLTypes SqlClient XPath XSLT Runtime InteropServices Remoting Serialization SessionState Caching Services Description Discovery Protocols UI HtmlControls WebControls System.Drawing Imaging Drawing2D Printing System.Windows.Forms Design ComponentModel
.NET Framework Class Library Completa, Organizada, Extensible Para cualquier Arquitectura de Aplicación Acceso a Datos ADO.NET XML Lógica de Negocio Enterprise Services (COM+) Servicios Web XML .NET Remoting Presentación Windows Forms Web Forms y Mobile Web Forms
Common Language Specification Common Language Specification (CLS) VB C++ C# J# … Visual Studio .NET Base Class Library XML, ADO .NET, Enterprise Services ASP .NET Web Forms Web Services Windows Forms Common Language Runtime Sistema Operativo
Common Language Specification .NET es neutral con respecto al lenguaje Microsoft suministra: Visual C# .NET, Visual Basic .NET, Visual C++ .NET, JScript, Visual J# .NET Terceros suministran: COBOL, RPG, APL, Perl, Pascal, Smalltalk, Eiffel, Fortran, Haskell, Mercury, Oberon, Oz, Python, Scheme, Standard ML, entre otros.
Common Language Specification Dim s as String s = "authors" Dim cmd As New SqlCommand("select * from " & s, sqlconn) cmd.ExecuteReader() VB.NET string s = "authors"; SqlCommand cmd = new SqlCommand("select * from "+s, sqlconn); cmd.ExecuteReader(); C# String *s = S"authors"; SqlCommand cmd = new SqlCommand(String::Concat(S"select * from ", s), sqlconn); cmd.ExecuteReader(); C++
Resumen La tecnología .NET, provee de un conjunto de librerías estándar a los lenguajes construidos sobre esta plataforma (VB.NET, C# .NET, C++ .NET, etc.) El CLR es el encargado de ejecutar las aplicaciones.
Resumen La .NET Framework Class Library provee de un entorno completo, organizado y extensible, definiendo clases para el acceso a datos, lógica de negocios y presentación. .NET es neutral respecto del lenguaje. Las mismas clases, objetos y métodos pueden ser usados desde cualquier lenguaje de programación.