March 2008 - Artículos
Descargá el material para este trabajo acá Update: Dynamic Silverlight SDK.
Dynamic Silverlight integra los lenguajes DLR con Silverlight. DSL tiene un runtime y un componente SDK. El runtime consiste en dos assemblies: Microsoft.Scripting.dll y Microsoft.Scripting.Silverlight.dll. También necesitará los lenguajes de assemblies, IronRuby.dll para Ruby y IronPython.dll y IronPython.Modules.dll para Python. El componente runtime es una pequeña descarga adicional. Hoy, pesa sólo 712KB.
También hay un componente SDK. La pieza de software que interactuará más con el servidor llamado Chiron, creado por John Messerly y Dmitry Robsman. El mismo brinda una linda experiencia de interacción utilizando nada más que el file system local. Veamos a Chiron.
Primero nos aseguramos que está en el path
Ahora utiliza el template que descargaste antes para crear un Proyecto IronRuby DSL.
Corré el generate.bat que se encuentra en la carpeta script esto generará 5 archivos.
Ahora corré el archivo server.bat esto correrá el localhost HTTP en el puerto 2060 y automáticamente abrirá un browser en http://localhost:2060/.

ahora corré el archivo index.html y listo!!!!
Veamos qué generamos anteriormente.
index.html : Inicializa Silverlight y el archivo Ruby que debería estar corriendo.
ruby/Todo el código Ruby se encuentra en esta carpeta, junto a todos los resources.
ruby/app.rb El archivo "default" de tu aplicación.
ruby/app.xaml El archivo principal de vista de la aplicación.
ruby/silverlight.rb Métodos de ayuda, clases específicas para Ruby.
stylesheets/ Carpeta para los stylesheets
stylesheets/error.css Estilo para los reportes de error de ruby.
La gente de Windows Live Messenger lanzó un control que puede ser colocado en cualquier sitio web, sin necesidad de programar. Básicamente navega al sitio Messenger settings page para crear un <iframe> el cual se coloca en el sitio. Necesita habilitar generar permiso para visita de usuarios anónimos para iniciar sesión en IM
El control permite al usuario iniciar sesión. El control está enteramente codificado en Script#.
Pueden ver el control en ejecución en este sitio web. Inicia sesión como en el mail y listo!!! tenes un messenger en la web :p
[ Tags: script# | windowslive | announcements ]
Primero vamos a New --> Project…, select Visual C# --> Silverlight, seleccioná ‘Silverlight Application.
1. A continuación aparecerá lo siguiente. Para correr una aplicación silverlight, es necesario hostearla en un sitio web html. En esta área se elige cómo se desea hospedar el proyecto.
 | Las opciones son: - Add a new web to the solution for hosting the control (es la más apropiada. Puedes elegir el tipo de proyecto - un sitio web o un proyecto de sitio web)
- Generate an HTML test page to host Sl within this project.(no provee acceso a todo el ambiente de diseño que provee visual studio a un proyecto web)
- Link this Silverlight control into an existing web site. (está deshabilitada por que estamos creando una solución nueva)
Clickeá Ok |
Visual Studio crea estas páginas:
- Default.aspx (página principal de la aplicación, el proyecto silv no se encuentra aquí)
- ProjectNameTestPage.aspx (página default para debugguear)
No utilizaremos Default.aspx así que podemos cerrarla. Ahora abramos ProjectNameTestPage.aspx. Para aquellos que han trabajado con Silverlight 1.0 pueden encontrar algo diferente en este código y es que no estamos llamando al java Silverlight.js eso es por que <asp:Silverlight> es un control que contiene la carga de la aplicación silv en su interior, pero si desean utilizar llamadas a archivos js también funciona.
<%@ Register Assembly="System.Web.Silverlight"
Namespace="System.Web.UI.SilverlightControls"
TagPrefix="asp" %>
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, "Courier New", courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }
Miren la propiedad Source llama a "~/ClientBin/FirstSilverlightProject.xap". Construyan el proyecto para ver de qué se trata esto. Cuando construyan el proyecto dirijanse a la carpeta de debug del mismo, ahí encontraran un archivo this xap (es simplemente un archivo zip). Para verlo realicen una copia del archivo xap y cambienle la extensión a zip. dentro del mismo se alojan 4 dlls y un appmanifest.xaml. (pic below)
Si agregamos un bmp(bitmap) a nuestro sitio. Add --> Existing Item. (Asegurate que se esté agregando al proyecto silverlight) Visual Studio cuando construyas la aplicación, colocará este archivo bmp dentro del archivo xap.
Agregale contenido a tu Page.xaml y ya tendrás una aplicación realizada en Silv 2.0.
Aquellos fanáticos de MIX les doy la noticia ya se lanzó los videos de todo lo sucedido para que puedan descargarlos!!!
Descarga las sesiones de Mix
Keynote I
Dean Hachamovitch, Ray Ozzie, Scott Guthrie
Keynote II
Guy Kawasaki, Steve Ballmer
T01 - Creating a RESTful API with Windows Communication Foundation
Haider Sabri, Paul Walker, Viphak Lay
T02 - Windows Presentation Foundation Using Microsoft Visual Studio 2008
Mark Wilson-Thomas
T03 - Adding Instant Messaging to Any Site
Keiji Kanazawa, Nikhil Kothari
T04 - Developing Cutting Edge Web Applications with Internet Explorer 8
Marc Silbey
T06 - Everything You Need to Know about Diagnostics and Debugging on Microsoft Internet Information Services 7
Mai-lan Tomsen Bukovec
T07 - RESTful Data Services with the ADO.NET Data Services Framework
Pablo Castro
T09 - Overview of Expression Encoder 2
Charles Finkelstein, James Clarke
T10 - Lightning Up Your AJAX Applications with Silverlight
Stefan Schackow, Chung Webster
T11 - What's New in Windows Presentation Foundation 3.5
Rob Relyea
T12 - Mobile Devices and Microsoft Silverlight: A Primer on the New Technology
Amit Chopra, David Kline
T13 - Working with Data and Web Services in Microsoft Silverlight 2
Eugene Osovetsky
T15 - Internationalizing XAML Applications in Windows Presentation Foundation and Microsoft Silverlight
Ken Azuma, Laurence Moroney, Ted Kitamura
T16 - Real-World AJAX with ASP.NET
Nikhil Kothari
T17 - Developing Applications with Microsoft Virtual Earth
Chris Pendleton
T18 - Tools and Applications for Publishers
Rishi Bal
T19 - Accessing Windows Live Services via AtomPub
Pablo Castro
T20 - Creating Rich, Dynamic User Interfaces with Silverlight 2
Karen Corby
T21 - Integrating Your Site With Internet Explorer 8
Jane Kim
T22 - Developing Applications Using the Model View Controller Pattern
Scott Hanselman
T23 - Hard Rock: Behind the Music with Deep Zoom
Scott Stanfield, Mike Hanley, Will Alan, Michael Lemme
T24, Developing Data Driven Applications Using ASP.NET Dynamic Data Controls
David Ebbo
T25 - Effective User Interfaces in Windows Presentation Foundation and Microsoft Silverlight
Laurence Moroney, Jimmy Kim, Albert Song, Peter Chang, Andy Lee
T26 - Building Applications and Services with .NET Framework 3.5
Justin Smith
T27 - Partying with PHP on Microsoft Internet Information Services 7
Drew Robbins
T28 - Silverlight + Dynamic Languages
John, Jimmy
T29 - Developing with Windows Live
Angus Logan
T30 - From Flash to Silverlight: A Rosetta Stone
Rick Barazza
T31 - Exploring Moonlight: Novell's Implementation of Silverlight on Linux
Miguel de Icaza
T32 - Using Microsoft Sync Framework and FeedSync
Neil Padgett
T34 - Building Great AJAX Applications from Scratch Using ASP.NET 3.5 and Visual Studio 2008
Brad Adams
T35 - Using the Internet Service Bus to Build Next Generation Applications and Services
Justin Smith
B01 - The Business of Microsoft Silverlight
Danny Riddell
BT01 - Building AOL's High Performance, Enterprise Wide Mail Application With Silverlight 2
Eric Hoffman, Marc Katchay, Stefan Gal
BT03 - Advanced Search Engine Optimization: Generating More Site Traffic from Search
Nathan Buggia
BT05 - Introducing SQL Server Data Services
Nigel Ellis
BT06 - Silverlight and Advertising
Eric Schmidt
BT07 - Monetization 101
Erynn Petersen
BT08 - Bringing Hosters and Developers Together with IIS7
Robert Cameron, Tito Leverette
BCT03 - Understanding Microsoft Partner Programs for Designers, Developers, and Agencies
Bill Vlandis, Hakan Soderbom
BCT05 - Integrating Media in Silverlight Applications
Ed Maia
BCT07 - Encoding Video for Microsoft Silverlight
Ben Waggoner
BCT08 - Welcome to Internet Explorer 8
Chris Wilson
C02 - Using Microsoft Silverlight for Creating Rich Mobile User Experiences
Giorgio Sardo
C03 - Virgins, Spaceships and Hob-nailed Boots!
Paul Dawson
C04 - Microsoft Expression Web: From Comp, to CSS, to Code!
Nishant Kothary, Tyler Simpson
C05 - Overview of Microsoft Ad Formats
Alam Ali
CT01 - Building Rich Internet Applications Using Microsoft Silverlight 2, Part 1
Joe Stegman, Mike Harsh
CT02 - Building Rich Internet Applications Using Microsoft Silverlight 2, Part 2
Joe Stegman, Mike Harsh
CT03 - Silverlight as a Gaming Platform
Joel Neubeck, Scott McAndrew
CT04 - The Human Brain Relationship: Advanced and Adaptive User Interfaces
Ya'akov Greenshpan, Yochay Kiriaty
CT07 - Advanced Cross-Browser Layout with Internet Explorer 8
Scott Dickens
UX01 - Getting Clued In to Experience Management
Lou Carbone
UX02 - From Long Tail to Fuzzy Tale: Why "Fuzzy" Is the New Clear
David Armano
UX03 - The Back of the Napkin: Solving Design Problems (and Selling Your Solutions) with Pictures
Dan Roam
UX04 - Creating Better User Experiences: Design Strategy
Dan Harrelson, Kim Lenox
UX05 - Creating Better User Experiences: Interaction Design
Dan Harrelson, Kim Lenox
UX06 - Creating Better User Experiences: Information Architecture
Dan Harrelson, Kim Lenox
UX07 - Creating Better User Experiences: Design Methods
Dan Harrelson, Kim Lenox
PNL01 - Making it Simple: Designer/Developer Workflow
Christian Schormann, Ken Azuma, Marcelo Marer, Mark Ligameri, Robby Ingebretsen, Robert Tuttle, Ryan Lane
PNL02 - Design at Speed of Light, Cinthya Urasaki, Daniel Makoski, John Reid, Tim Wood, Zachary Jean Paradis
PNL04 - The Open Question
Andi Gutmans, Miguel de Icaza, Mike Schroepfer, Sam Ramji
PNL05 - Web 2.0 and Beyond: What Is the Business Reality?
Bryan Biniak, Chris Saad, Frank Arrigo, Loic Le Meur, Tim Kendall
PNL07 - What Is the face of the next Web?
Anthony Franco, Chris Bernard, Garrick Schmitt, Mark Kurtz, Paul Dain, Tjeerd Hoek
PNL08 - Social Networks: Where Are They Taking Us?
David Morin, Garrett Camp, Guy Kawasaki, John Richards, Joseph Smarr, Marc Canter
PNL09 - I Wanna Go Mobile!
Chad Stoller, David-Michael Davies, Derrick Oien, Eric Breitbard, George Linardos, Michael Platt
PNL10 - Touch Me: Where Are Interfaces Going?
Chris Bernard, Dale Herigstad, Daniel Makoski, Dave Wolfe, Doug Cook, Yoshihiro Saito
PNL11 - How Design Impacts the Bottom Line
Dave Blakely, David Watson, Jason Brush, Jimmy Kim, Luke Wroblewski, Will Tschumy
PNL12 - E-commerce Done Right
Gerard Johnson, Matthews Rechs, Nicholas Rockwell, Steve Nelson
PNL13 - Opportunities and Challenges in Mashing Up the Web
Aaron Fulkerson, Andi Gutmans, Michael Scherotter, Sam Ramji, Shawn Burke
PNL14 - What's the Secret Formula?
Dan Harrelson, Daniel Makoski, Jensen Harris, Mike Schroepfer, Nishant Kothary
PNL15 - Is Web 2.0 Sustainable? What business models will work?
Dave McClure, Don Dodge, Kimbal Musck, Robert Scoble, Ryan McIntyre
PNL16 - Real World Design: Working with Silverlight and WPF in the Design Studio
Beau Ambur, Chip Aubry, Chris Bernard, Nathan Dunlap, Rich Weston
Hola!!! Bueno gracias a Rodrigo Corral por invitarme a postear en Geeks... y a Alexander Jimenes (alias FOX NET), por recomendarme!!!
Espero que mi trabajo sea del agrado de todos! y a programar!!!!
Besos
Ivana Tilca