Date post: | 12-Jun-2015 |
Category: |
Documents |
Upload: | microsoft-argentina-y-uruguay-official-space |
View: | 1,167 times |
Download: | 2 times |
Introducción a ASP.NET 4.0 con Visual Studio 2010
Pablo AliscioniLíder Técnico
Hernán NóbileLíder Técnico
http://www.wormholeit.com – [email protected]
Agenda
Visual Studio 2010Getting started
ASP.NET 4.0Servicios CoreWeb Forms
Visual Studio 2010Packaging & Deployment
Recursos
Perfiles de desarrollador
WYSIWYG designer Source Only
VS2010 – Getting started
WYSIWYG designer Source Only
VS2010 – Getting started
VS2010 – Getting started
Project Templates
Empty ProjectStarter Template (Sample App)Online Templates
Web.Config Minification
El nuevo machine.config registra automáticamente: ASP.NET AJAX ASP.NET Dynamic Data ASP.NET Routing ASP.NET Chart Control
VS2010 – Getting started
Multi-Targeting
.NET 2.0
.NET 3.0 CLR 2.0
.NET 3.5
.NET 4.0 CLR 4.0
Resuelve problemas con el IntelliSense del VS2008
VS2010 – Getting started
Snippets
Templates para elementos HTML, ASP.NET y JavaScriptBuilt-inCustom
VS2010 – Getting started
Demo
ASP.NET 4.0 – Servicios CoreAuto-Start Web Applications– Enfoque controlado para el inicio de un
application worker process
Compresión del Session State
Rango de URLs ampliado
ASP.NET 4.0 – Web Forms
Mejoras de los Controles– ListView: LayoutTemplate
– CheckBoxList y RadioButtonList: OrderedList y UnorderedList
– Habilitar ViewState por control: ViewStateMode
CSS Improvements– ASP.NET 4 Beta 2 cumple con los últimos
estándares de HTML y CSS.
ASP.NET 4.0 – Web Forms
Control sobre los “ClientIDs”– Permite especificar como se generan los
“ClientIDs”– ClientIDMode: AutoID, Static, Predictable, Inherit
– Configuración Global:
Selección de filas en los Data Controls
ASP.NET 4.0 – Web FormsASP.NET Chart Control
ASP.NET 4.0 – Web FormsRouting– Nuevo método MapPageRoute de la clase Route:
– Obtener las variables:
– Accediendo a la información de routing en el HTML:
Demo
VS2010 – Packaging & Deployment
Web Packaging
Empaquetado de aplicaciones para su distribución en forma atómica.
Crea un único archivo .ZIP con todos los recursos necesarios: Contenido Configuración del IIS Certificados de seguridad Scripts de SQL
VS2010 – Packaging & Deployment
Web.Config Transformation
Se introduce XML Document Transform (XDT)
Permite definir parámetros a reemplazar durante el proceso de empaquetado.
Dichos parámetros se reemplazan de acuerdo a la configuración utilizada durante el empaquetado (MSBuild configurations).
Demo
Recursos
Whitepaper:http://www.asp.net/learn/whitepapers/aspnet40/
Blog de Scott Guthrie:http://weblogs.asp.net/scottgu/
Sitio oficial de Visual Studio:
http://www.microsoft.com/visualstudio/en-us/products/2010/default.mspx
Blog de Vishal Joshi:http://vishaljoshi.blogspot.com/
¿Preguntas?
ASP.NET 4.0 – Servicios Core
Extensible Output CachingOutputCacheProviderProvider Selection
Cache per Page
Cache per Request
ASP.NET 4.0 – Web FormsFiltering Data with the QueryExtender
Control– Para filtrar datos devueltos por EntityDataSource
o LinqDataSource– Filter Options:
SEARCH
ASP.NET 4.0 – Web FormsRANGE
Custom Expression