viernes, 9 de septiembre de 2011

Developing Applications for SharePoint 2010 (updated)



Uno de los factores clave de éxito en los proyectos de desarrollo de sharepoint, es que se consideren desde un principo las mejores prácticas, muy bien expuestas en la documentación que a continuación les presento, que el año pasado fueron refrescadas para la nueva versión de Sharepoint 2010 y que recientemte ha sido actualizada nuevamente.

Descarga (CHM): http://www.microsoft.com/downloads/details.aspx?FamilyID=64b55569-2168-4545-8b7c-f185b2cf967d&displaylang=en

Descarga (PDF): SharepointGuidande2010.PDF

Descarga Hands On Labs: SPG2010HandsOnLab

SharePoint 2010 introduce nuevas áreas de rica funcionalidad que crear más opciones y oportunidades para los desarrolladores y arquitectos de soluciones. Soluciones de espacio aislado, nuevas opciones para el modelado de datos y acceso a datos, y nuevos modelos de programación en el cliente con Silverlight y la integración Ajax ofrece un cambio radical en lo que puede lograr con las aplicaciones de SharePoint. Esta guía ofrece una visión técnica profundamente en los conceptos y temas clave para los desarrolladores de soluciones de SharePoint 2010.

Overview

Developing Applications for SharePoint 2010 contains guidance documentation, detailed examples, and a reusable class library. These resources are designed to help solution developers and architects make the right decisions and follow proven practices when designing and developing applications for SharePoint 2010. The guidance focuses primarily on the building blocks that every developer needs to understand to become an effective SharePoint developer or architect. The following diagram shows the key areas that are covered within the guidance documentation, reference implementations, and reusable class library.
Key areas covered by Developing Applications for SharePoint 2010
Key areas covered by Developing Applications for SharePoint 2010
Guidance Documentation
The guidance documentation is divided into four core sections.
  • Application Foundations for SharePoint 2010. This section describes approaches you can use to address the challenges of testability, flexibility, configuration, logging and exception handling, and maintainability; it also explains how to use the SharePoint Guidance Library components in these areas.
  • Execution Models in SharePoint 2010. This section provides deep technical insights into the mechanics of the full-trust execution environment, the sandbox execution environment, and various hybrid approaches to executing code in SharePoint applications.
  • Data Models in SharePoint 2010. This section explains new list and external data functionality, key design decision points that can help you to choose between standard SharePoint lists and external lists, and techniques and patterns to address large lists and list aggregation.
  • Client Application Models in SharePoint 2010. This section provides guidance on how best to use the new client-side functionality to access data and build richer client experiences with Silverlight and Ajax.
Each section also contains a set of how-to topics. These explain how to perform specific tasks that the team found challenging to discover.
Reference Implementations
This release includes eight reference implementations that you can deploy to a SharePoint 2010 test environment and explore at your leisure. The reference implementations reinforce the key concepts in the guide and illustrate how to build applications that reflect real-world scenarios. Each reference implementation includes a detailed scenario and design overview, an explanation of the design decisions the team faced for the implementation, and an installation script to automate setup.
Reusable Library
The SharePoint Guidance Library is a collection of reusable code–based utilities that address common challenges in application development for the SharePoint platform. You can use these components in your own SharePoint applications to help you improve your development speed and follow proven practices. The SharePoint Guidance Library consists of three key components:
  • SharePoint Service Locator. This provides a simple implementation of the service location pattern for SharePoint applications. This enables you to isolate your code from dependencies on external types, which makes your code more modular, easier to test, and easier to maintain.
  • Application Setting Manager. This provides a robust and consistent mechanism for storing and retrieving configuration settings at each level of the SharePoint hierarchy, from individual sites (SPWeb) to the entire server farm (SPFarm).
  • SharePoint Logger. This provides easy-to-use utility methods that you can employ to write information to the Windows Event log and the SharePoint Unified Logging Service (ULS) trace log. It also enables you to create custom diagnostic areas and categories for logging.
Common Scenarios
Developing Applications for SharePoint 2010 helps developers and architects design and build robust SharePoint solutions. It addresses the fundamental building blocks for developing applications with SharePoint; it does not address vertical application areas such as Business Intelligence or Enterprise Content Management. The guidance may be particular useful in the following scenarios:
  • If you are an experienced SharePoint 2007 developer or architect, the guidance is useful for learning the complexities and decision points for developers around the new functionality in SharePoint 2010.
  • If you are an experienced developer who is new to SharePoint, the guidance will help you learn the details of SharePoint development in conjunction with other learning materials. It is not intended as an introductory guide, but it is a useful supplement to the product documentation.
  • If you want to make your SharePoint 2010 applications more robust, the reusable components in the SharePoint Guidance Library will help you to improve the flexibility, testability, and manageability of your applications.
  • If you want to start using unit testing or integration testing for SharePoint applications, the guidance can help you get started. The resources include a guide to testing SharePoint applications, together with a series of unit tests that use the Microsoft Research Moles framework, which runs within Visual Studio Unit Test.
Audience Requirements
The guidance documentation, reference implementations, and reusable components were written with the experienced SharePoint developer in mind, and they will derive the most immediate benefit from the guidance. To get the most benefit from the guidance, you should have an understanding of the following:
  • Microsoft Visual C#
  • Microsoft .NET Framework
  • Microsoft SharePoint development
Experienced developers who are new to SharePoint and experienced IT professionals will also benefit from many areas of the guidance. However, some of the deeper topics require an established understanding of SharePoint.
What's New
Most of the content contained in this release relates to new areas of functionality in SharePoint 2010. The SharePoint Guidance Library was included in the previous SharePoint Guidance release, but it has been updated to run within the SharePoint 2010 sandbox environment wherever possible.
System Requirements
The reusable components of the SharePoint Guidance Library will run in any edition of SharePoint 2010, including SharePoint Foundation 2010. To install the reference implementations, you will need a test environment with the following software:
  • Visual Studio 2010 Professional Edition or higher
  • Windows 7, Windows Server 2008R2, or Windows Server 2008
  • SQL Server 2008 or SQL Server 2008R2 Express Edition or higher
  • SharePoint Server 2010 Enterprise Edition, SharePoint Server 2010 Standard Edition, or SharePoint Foundation 2010
    Note: Several reference implementations will not work in SharePoint Foundation.
Design Goals
The reusable components of the SharePoint Guidance Library, together with the patterns and approaches described in the guidance documentation and the reference implementations, are designed to help your applications meet the following goals:
  • Efficiency. You can improve the efficiency of your applications by following proven practices and application patterns, and by understanding the performance implications of various design choices.
  • Manageability. You can improve the manageability of your applications by using design patterns and components that reduce dependencies between classes. This makes it easier to maintain your code in a constantly evolving code base.
  • Testability. You can improve the testability of your applications by using design patterns and components that enable you to test classes and business logic in isolation.


Fuente: http://msdn.microsoft.com/en-us/library/ff770300.aspx

miércoles, 10 de agosto de 2011

Guía de planificación y diseño de infraestructura Sharepoint 2010 (Actualizada)

Esta guía de planificación y diseño de infraestructura orienta al arquitecto de TI a través del proceso de planificación y diseño, con la finalidad de crear éxitosamente una infraestructura de SharePoint Server adecuadamente dimensionada y diseñada para ofrecer los beneficios de negocio deseados, considerando el rendimiento, capacidad y tolerancia a fallos.  Recientemente se ha actualizado y se puede descargar aquí:

Descargar

lunes, 25 de julio de 2011

Actualizaciones Acumulativas para Sharepoint Foundation/Server 2010 - Junio 2011




Ya están disponibles los nuevos paquetes de actualización para Sharepoint Foundation y Server de junio, posteriores al recientemente liberado Service Pack 1

Descripción del paquete de Windows SharePoint Foundation 2010 Actualización Acumulativa (Sharepoint Foundation-paquete de servidor) Junio 2011

http://support.microsoft.com/kb/2536601/en-us

Descarga:
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2536601&kbln=en-us


Descripción del SharePoint Server 2010 Actualización Acumulativa (sharepoint server-paquete de servidor) Junio 2011

http://support.microsoft.com/kb/2536599/en-us

Descarga:
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2536599&kbln=en-us

Les recuerdo que como mínimo, deben tener instalado el SP1 de Foundation 2010 y el SP1 de Server 2010, así como todos los SP1 de los paquetes de idiomas para ambos (Foundation y Server), caso contrario posiblemente arroje un error de versión incorrecta durante la instalación, como sucedía en WSS/MOSS.

Una vez aplicadas las actualizaciones, debe ejecutar SharePoint Products and Technologies Configuration Wizard o en su defecto desde la línea de comandos:

psconfig –cmd upgrade –inplace b2b -wait

domingo, 3 de julio de 2011

Actualizaciones Acumulativas para WSS 3.0/MOSS 2007 - Junio 2011




Ya están disponibles los nuevos paquetes de actualización para WSS 3.0 y MOSS 2007 de junio

Descripción del paquete de Windows SharePoint Services 3.0 Actualización Acumulativa (WSS-paquete de servidor) Junio 2011

http://support.microsoft.com/kb/2544399/en-us

Descarga:
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2544399&kbln=en-us


Descripción del SharePoint Server 2007 Actualización Acumulativa (MOSS-paquete de servidor) Junio 2011

http://support.microsoft.com/kb/2544398/en-us

Descarga:
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2544398&kbln=en-us

Les recuerdo que como mínimo, deben tener instalado el SP2 de WSS y el SP2 MOSS, así como todos los SP2 de los paquetes de idiomas para ambos (WSS y MOSS), caso contrario arrojará un error de versión incorrecta durante la instalación. No es problema no tener instalada cualquier actualización acumulativa posterior a SP2 (tener en cuenta si no se tiene SP2, descargar la que ha corregido el problema con la licencia, aunque en los paquetes de idiomas posiblemente aún persistan y deba instalarse el hotfix Post SP2 para corregir este tema)

Una vez aplicadas las actualizaciones, debe ejecutar SharePoint Products and Technologies Configuration Wizard o en su defecto desde la línea de comandos:

psconfig –cmd upgrade –inplace b2b -wait

jueves, 30 de junio de 2011

Sharepoint 2010 Service Pack 1



Finalmente está disponible el primer Service Pack para la plataforma 2010 de Sharepoint. En concreto, el SP1 incluye entre otros las siguientes mejoras:
  • Compatibilidad mejorada con Internet Explorer 9.
  • Papelera de reciclaje: Permite restaurar una colección de sitios o una página web que se ha eliminado.
  • Los sistemas de copia de seguridad remota (RBS) y la característica de copia superficial pueden reducir el tiempo de inactividad y aumentar la eficiencia al mover los punteros a las bases de datos en lugar de mover las propias bases de datos.
  • Con la característica mejorada de administración del almacenamiento ( una opción en la configuración del sitio) puede ver cuánto espacio está ocupando el contenido (en 2007 _layouts/storeman.aspx).  Por un tema de rendimiento y bloqueos no se incorporó inicialmente esta característica en su lanzamiento, pero finalmente la volvemos a tener disponible (aplaudo esta importante mejora).
  • Un servicio de distribución de host de búsqueda más sólido que mejora la recuperación de errores y el rendimiento durante el rastreo de búsqueda.
  • Agrega funcionalidad de copia de seguridad y restauración para recuperar colecciones de sitios y sitios web eliminados.
Es importante ante un proceso de actualización en primer lugar documentarse correctamente no solo de las mejoras y correcciones, sino en preparar y planificar bien el proceso de actualización.

Software Updates Overview:

Sharepoint Foundation 2010
Sharepoint Server 2010


Prepare to deploy a Software Update:

Sharepoint Foundation 2010
Sharepoint Server 2010

Install a Software Update:

Sharepoint Foundation 2010
Sharepoint Server 2010

Importante la recomendación del propio technet acerca de los pasos a seguir en el proceso de actualización:


A continuación la descripción de cada actualización y sus descargas:

Sharepoint Foundation 2010 Service Pack 1   (descarga)

Language Packs Sharepoint Foundation 2010 Service Pack 1   (descarga)

Sharepoint Server 2010 Service Pack1  (descarga)

Language Packs Sharepoint Server 2010 Service Pack 1   (descarga)


Fuente: Updates for Sharepoint 2010 Products

miércoles, 22 de junio de 2011

Documentación Técnica Recomendada de Sharepoint 2010



Recomiendo los siguientes artículos de la base de conocimiento de Microsoft relativos a la implementación de Sharepoint 2010:

Best practices for using fine-grained permissions (Recomendaciones para usar la Personalización avanzada de permisos)

Describe los procedimientos recomendados para el uso de personalización avanzada de permisos (FGP) al implementar productos de SharePoint 2010 o Productos y Tecnologías de SharePoint.

Descarga

Planning guide for sites and solutions for Microsoft SharePoint Server 2010 (Guía de planeación de sitios y soluciones para Microsoft SharePoint Server 2010)

Los temas incluyen seguridad de sitios, gobernance y administración de contenido empresarial.

Descarga Parte 1
Descarga Parte 2

Configuring Kerberos Authentication for Microsoft SharePoint 2010 Products (Configuración de la autenticación Kerberos para Microsoft SharePoint 2010)

La autenticación Kerberos juega un papel fundamental en la autenticación y los escenarios de la delegación, y las situaciones en que debe ser aprovechada o que puede ser requerida en el diseño de la solución. El documento también muestra cómo configurar la autenticación Kerberos de extremo a extremo dentro de su entorno, incluyendo los escenarios que utilizan varias aplicaciones de servicio en SharePoint Server. Se describen  herramientas y recursos adicionales para ayudarle a probar y validar la configuración de Kerberos. El "Paso a paso de configuración" de este documento cubren varios escenarios de SharePoint Server 2010.

Descarga

jueves, 19 de mayo de 2011

Actualizaciones Acumulativas para WSS 3.0/MOSS 2007 - Abril 2011




Ya están disponibles los nuevos paquetes de actualización para WSS 3.0 y MOSS 2007

Descripción del paquete de Windows SharePoint Services 3.0 Actualización Acumulativa (WSS-paquete de servidor) Abril 2011

http://support.microsoft.com/kb/2512783/en-us

Descarga:
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2512783&kbln=en-us


Descripción del SharePoint Server 2007 Actualización Acumulativa (MOSS-paquete de servidor) Abril 2011

http://support.microsoft.com/kb/2512782/en-us

Descarga:
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2512782&kbln=en-us

Les recuerdo que como mínimo, deben tener instalado el SP2 de WSS y el SP2 MOSS, así como todos los SP2 de los paquetes de idiomas para ambos (WSS y MOSS), caso contrario arrojará un error de versión incorrecta durante la instalación. No es problema no tener instalada cualquier actualización acumulativa posterior a SP2 (tener en cuenta si no se tiene SP2, descargar la que ha corregido el problema con la licencia, aunque en los paquetes de idiomas posiblemente aún persistan y deba instalarse el hotfix Post SP2 para corregir este tema)

Una vez aplicadas las actualizaciones, debe ejecutar SharePoint Products and Technologies Configuration Wizard o en su defecto desde la línea de comandos:

psconfig –cmd upgrade –inplace b2b -wait