3/24/2017 3:59 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.

Slides:



Advertisements
Presentaciones similares
Cable & Wireless Panamá. Entrar a Inicio, Programas y buscar Windows Live.
Advertisements

Como Configurar el Internet
Windows Mobile 1. Configurar una cuenta de Correo Personal Configurar Yahoo! Microsoft Confidential2 Inicio Fin.
New Form Factors for Applications Introducción Windows Vista provee muchas formas para conectar al usuario con los datos –Colaboración usando Peer-to-Peer,
Mejoras en la gestión de calendarios en Exchange Server 2007
© 2006 Microsoft Corporation. All rights reserved.
3/24/2017 4:00 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
3/24/2017 4:02 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
De BDC a BCS Gustavo Velez Overview El problema y la solución Arquitectura Listas Externas (SharePoint Designer) Visual Studio 2010.
Windows Vista y Office System 2007 Juntos para los desarrolladores Diego Gonzalez, [C# MVP] Lagash Systems SA
Virtual Desktop Infrastructure (VDI) from Microsoft
3/29/ :02 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Mario Cortés Flores Consultor SharePoint en Renacimiento Coordinador SUGES Coautor de:
Infraestructura de la información crucial
Database Mounting Tool (Dsamain.exe) Mediante esta nueva herramienta y una de las mejoras de la nueva versión de Ntdsutil… podemos generar y examinar.
3/29/2017 1:27 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
TenerifeDev David Rodríguez David Rodríguez
Erick Stephens Director Nacional de Tecnolog í a Microsoft.
LOW COST COMPUTER SYSTEM for QUALITY EVALUATION and PRESERVATION of GRAINS STORED in POLYMER BAGS Dra. Claudia Pons Researcher CONICET – LIFIA - CAETI.
Introducción a la nueva consola de administración de Exchange 2007 Angel Sánchez Clemares Ingeniero de Soporte David Cervigón IT.
WINDOWS SMALL BUSINESS SERVER 2011 ESSENTIALS. Miguel Hernández Consultor Preventa I.T.
Desarrollo Entrega continua Rodrigo Corral
Paulo Dias IT Pro Evangelist Microsoft Fernando Guillot IT Pro Evangelist Microsoft
Microsoft BizTalk Server 2006 R2: Extendiendo el negocio conectado
Vendiendo Microsoft Office 2010 Office 2010 Licenciamiento Office 2010 Licenciamiento Pablo Rovira Jefe de Producto Pablo Rovira.
BITLOCKER Fernando Guillot Paulo Dias IT Pro Evangelist Microsoft
Microsoft System Center Operations Manager 2007 Gestión de Eventos
Programa Socios de Negocio MCS FY09
Antonio Gámir Optimized Desktop Specialist Microsoft Ibérica.
Mejoras de SQL Server para el desarrollo con ejemplos prácticos Germán Díaz - Product Manager Microsoft Alfons González – Desarrollador y Redactor técnico.
ORCAS La nueva generación de Visual Studio Octavio Hernández Plain Concepts Developer Advisor David Salgado Microsoft División.
Service Pack 3 SQL Server 2005 Marcos Celada Microsoft Support Services
David Cervigón Luna IT Pro Evangelist Microsoft Ibérica
Christopher Quesada Developer Evangelist Microsoft.
Se trata de un nuevo tipo de Controlador de Dominio No puede escribir en su base de datos fruto de peticiones externas No se le permite tener replicación.
Las PyMEs son máquinas de crecimiento PyMEs representan hasta un 75% de todos los empleos en algunas economías (PyMEs) con conocimientos en tecnología.
Paúl Andres Granja Padilla Rodolfo Ronald Villagrán Tomalá
© 2006 Microsoft Corporation. All rights reserved.
A demanda elástica De amplio Acceso Servicios medibles Recursos mancomunados.
© 2010 DUOC Sede Antonio Varas. Todos los Derechos Reservados.
Hogar y Micro Empresas Pequenas Empresas Medianas Empresas Enterprise 1-4 PCs 50+ PCs PCs PCs OEM Microsoft Open License Microsoft Open Value.
Creciendo Capacidades de los Socios!!. Agenda Presentación del Equipo Programa MPA (Microsoft Partner Academy) Canales de Comunicación - Redes Sociales.
Alejandro García Sánchez Readiness Champion.. Licenciamiento para Pequeñas y Medianas Empresas Como Elegir el licenciamiento Correcto Preguntas y Respuestas.
Programa AER Para Socios ES Guadalupe Navarro.
Construyendo Soluciones de Aplicaciones Integradas con Formularios usando Microsoft 2007 Office System.
Overview Alejandro Ponicke Asesor de Comunidades IT Microsoft Cono Sur.
Silverlight Pablo Michelis Gerente de Relaciones Académicas Microsoft Cono Sur.
Microsoft Windows Server 2008 ”La Nueva Plataforma de Trabajo en Red”
WINDOWS 7 FIN DE SOPORTE. ¿Qué es el fin de soporte? En Microsoft existe el compromiso de proporcionar productos seguros. Nuestra política mundial de.
Autenticación David Martos Arquitecto de Software. Spenta Consulting
Isabel Gómez Desarrollo & Plataforma Microsoft Ibérica.
Pasos a seguir para asociar un MCP o una persona a la empresa
 Nicolás Padula Core Technologies Consultant  Maximiliano Stibel Core Technologies Consultant.
Vendiendo Microsoft Office 2010 Office 2010 Presentación del producto Office 2010 Presentación del producto Pablo Rovira Jefe de.
Crear Referencias Febrero 10, Ingresar al portal Ingresar a la siguiente url: Ya que se haya entrado a la URL.
¿Cómo crear y lanzar la encuesta de satisfacción? (Csat) Febrero 17, 2011.
¡Bienvenido a tu nuevo Office!. ¡Instalá tu Office en todos tus dispositivos móviles! Colaboración en línea de tus archivos con todos tus compañeros de.
Office365 Telefónica España Dirección de Marketing de Empresas.
Bienvenidos.
Microsoft Virtual Academy
24 Es el 6 de noviembre. Más Números
© 2007 Microsoft Corporation. All rights reserved
Capítulo 12 El Futuro es tuyo 6/2/ :54 PM
Optimización de SQL Server para IOT
Streaming de datos con Power BI
Expande tu audiencia de clientes con Bing Ads
Windows Server Management Marketing
11/24/2018 3:55 PM Dios es susurro y brisa,
(Nos agrada su presencia en este lugar)
Anuncios de Mayo 2019 Mes de las Damas
Transcripción de la presentación:

3/24/2017 3:59 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Octavio Hernández Mentoring Team Leader Plain Concepts 3/24/2017 3:59 PM LINQ { en profundidad } Octavio Hernández Mentoring Team Leader Plain Concepts © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Agenda Introducción a LINQ Proveedores “predeterminados” 3/24/2017 3:59 PM Agenda Introducción a LINQ Proveedores “predeterminados” Extendiendo LINQ a nuevos tipos de datos y librerías Recomendaciones de uso LINQ después de .NET 3.5 Demos © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3/24/2017 3:59 PM ¿Qué es LINQ? Mecanismo uniforme y extensible para consultar fuentes de datos de diferentes tipos: las expresiones de consulta. Sintaxis basada en nuevas palabras reservadas contextuales. Semántica “enchufable”: los lenguajes no definen la semántica de las nuevas palabras reservadas, sino únicamente un conjunto de reglas para reescribir esas expresiones como cascadas de llamadas a métodos. © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Expresiones de consulta var delMadrid = from f in DatosFutbol.Futbolistas where f.CodigoClub == “RMA" select new { f.Nombre, f.Edad }; var delMadrid = DatosFutbol.Futbolistas .Where(f => f.CodigoClub == “RMA") .Select(f => new { f.Nombre, f.Edad });

Expresiones de consulta Fuentes de consultas Los datos provienen de cierta fuente, que implementa IEnumerable<T>. Operadores de consulta estándar No todos los operadores tienen un reflejo en la sintaxis de los lenguajes. El patrón LINQ.

Operadores Restricción Where Proyección Select, SelectMany Ordenación OrderBy, ThenBy Agrupación GroupBy Encuentros Join, GroupJoin Cuantificadores Any, All Partición Take, Skip, TakeWhile, SkipWhile Conjuntuales Distinct, Union, Intersect, Except Un elemento First, Last, Single, ElementAt Agregados Count, Sum, Min, Max, Average Conversión ToArray, ToList, ToDictionary Conversión de elementos OfType<T>, Cast<T>

Expresiones de consulta Composicionales, jerárquicas Anidamiento arbitrario. Posibilidad de aplicar operadores adicionales. Declarativas y no imperativas Diga qué usted desea obtener, no cómo. El cómo va por el proveedor. Ejecución diferida Las consultas se ejecutan solo a medida que sus resultados se solicitan.

Enchufando la semántica Tecnología Ensamblado Espacio de nombres LINQ to Objects System.Core.dll System.Linq to XML System.Xml.Linq.dll System.Xml.Linq to DataSet System.Data.DataSetExtensions.dll System.Data to SQL System.Data.Linq.dll System.Data.Linq to Entities System.Data.Entity.dll System.Data.Objects y otros Basados en IEnumerable<T> Basados en IQueryable<T> Silverlight 2.0 .NET 3.5 .NET 3.5 CF

LINQ to Objects, XML, SQL, Entities 3/24/2017 3:59 PM { LINQ en profundidad } demo LINQ to Objects, XML, SQL, Entities © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Proveedores Proveedores LINQ C# 3.0 VB 9.0 Otros… Basados en IEnumerable<T> Basados en IQueryable<T> LINQ to Objects LINQ to XML LINQ to DataSets (el suyo) LINQ to SQL LINQ to Entities (el suyo) Objetos <libro> <titulo/> <autor/> <precio/> </libro> XML BB.DD.

Dos clases de proveedores Basados en IEnumerable<T> Basados en IQueryable<T> Interfaz IEnumerable<T> Ejecución Local, en memoria Usualmente remota Implementación Iteradores Análisis de árboles de expresiones Proveedores LINQ to Objects LINQ to XML LINQ to DataSet LINQ to SQL LINQ to Entities Mis ejemplos LINQ to Pipes LoggingLINQ LINQ to TFS Basados en IEnumerable<T> Basados en IQueryable<T>

Extendiendo LINQ Habilite sus API existentes para LINQ Específicamente para consultas en memoria. Cree métodos extensores que devuelvan un objeto IEnumerable<T>. Desarrolle su propio proveedor de consultas Implemente IQueryable<T>. Analice árboles de expresiones y traduzca nodos a código o a un lenguaje de consultas diferente.

Proveedores “a medida” 3/24/2017 3:59 PM { LINQ en profundidad } demo Proveedores “a medida” © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Recomendaciones Analice cuándo y cómo sus consultas se ejecutan Momento de ejecución. Ejecución local vs. remota. Lugar/capa de ejecución real. Mantenga las consultas dentro de ensamblados No pase expresiones de consulta entre capas.

Recomendaciones (2) Cuidado con los tipos anónimos! Aprenda: Planifique de antemano qué tipos son importantes. No abuse de las proyecciones. Aprenda: A escribir consultas con y sin la sintaxis. Las nuevas características de C# 3.0 Los detalles de la traducción de la sintaxis en llamadas a operadores y cómo funcionan éstos.

LINQ más allá de .NET 3.5 Parallel LINQ Pasa partes de una consulta a diferentes núcleos/procesadores. Proveedores de consultas de terceros: LINQ to Amazon, LDAP, SharePoint, NHibernate, MySql, Flickr, … y mucho más. LINQ 2.0

Resumen LINQ es un mecanismo uniforme y extensible para consultar fuentes de datos de diferentes tipos LINQ cambiará la forma en que escribimos código. Más declarativo Muchos menos bucles “a la vista”. Código más fácil de leer y mantener.

Más información Centro de desarrollo C# de MSDN http://msdn.microsoft.com/vcsharp/ Mi libro, “C# 3.0 y LINQ” http://www.krasispress.com/ Revista dotNetManía http://www.dotnetmania.com/

{Stand de Plain Concepts} ¡Conócenos! Pregúntanos tus dudas ¡Entra en el sorteo Y podrás ganar alguno de estos libros sobre .NET 3.5!

A continuación….. 26 febrero .16:00 Auditorio B Plenaria Evolución de la Plataforma de Servicios Windows Server 2008 para desarrolladores Hands On Labs en Sala Mónaco y entrega de libro de Visual Studio 2008 y Demos en Zona de Exposición.

3/24/2017 3:59 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Modelo de Objetos (Datasets/Objetos) Modelo Conceptual (EDM) Arquitectura Sistemas Externos Capa de Datos SQL Server ADO .NET Data Services (“Astoria”) Lógica de Negocio Modelo de Objetos (Datasets/Objetos) Entidades Relaciones ADO.NET 2.0 Data Provider LINQ to Datasets LINQ to SQL Presentación LINQ to Objects ADO .NET 2.0 Data Providers LINQ to Entities Modelo Conceptual (EDM) Entidades Relaciones ADO.NET Entity Framework (entitySQL) Clientes ADO.NET Entity Framework (Entity Data Model) LINQ to Objects Otras BDs