![Page 2: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/2.jpg)
Session Objectives
• Create web applications with dynamic languages
• Understand the Microsoft dynamic languages initiative
![Page 3: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/3.jpg)
Demo
Dynamic Languages in
Silverlight 1.1 Alpha
![Page 4: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/4.jpg)
Silverlight and Dynamic Languages
• Bring Silverlight to dynamic language programmers
• Enable iterative learning and development
• Release (with sources) on Codeplex and RubyForge
![Page 5: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/5.jpg)
Demo
IronPython in ASP.NET
Visual Studio Integration
![Page 6: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/6.jpg)
ASP.NET and Dynamic Languages
• Bring a great framework to Dynamic Languages
• Shipped in ASP.NET Futures
![Page 7: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/7.jpg)
int i = Convert.ToInt32(Request.QueryString[“Name"]);
IronPython example - Querystring
![Page 8: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/8.jpg)
int i = Convert.ToInt32(Request.QueryString[“Name"]);
IronPython example - Querystring
![Page 9: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/9.jpg)
i = int(Request.Name)
IronPython example - Querystring
![Page 10: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/10.jpg)
<%# Eval(“CustomerName”) %>
IronPython example - Databinding
![Page 11: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/11.jpg)
<%# Eval(“CustomerName”) %>
IronPython example - Databinding
![Page 12: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/12.jpg)
<%# CustomerName %>
IronPython example - Databinding
![Page 13: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/13.jpg)
LocationsPicker lp = (LocationsPicker)FormView1.FindControl("LocationPicker1");
IronPython example - FindControl
![Page 14: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/14.jpg)
LocationsPicker lp = (LocationsPicker)FormView1.FindControl("LocationPicker1");
IronPython example - FindControl
![Page 15: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/15.jpg)
lp = FormView1.LocationPicker1
IronPython example - FindControl
![Page 16: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/16.jpg)
![Page 17: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/17.jpg)
Demo
Web Services
and
Dynamic Languages
![Page 18: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/18.jpg)
Web Services and Dynamic Languages
• Simplifies consumption of Web Services
• Demonstrates power of Dynamic Languages
• Source available on CodePlex● http://codeplex.com/IronPython
![Page 19: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/19.jpg)
Dynamic Languages Initiative
CommunityCommunity MicrosoftMicrosoft
Common Language Runtime (CLR)Common Language Runtime (CLR)
FrameworksFrameworks
Dynamic Language Runtime(DLR)
LanguagesLanguages
IronPython IronRuby JSxJSx VBxVBxLanguagesLanguages
Scripting HostsScripting Hosts
Silverlight ASP.NETHostsHosts
Visual S
tudio IntegrationV
isual Studio Integration
![Page 20: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/20.jpg)
Summary
• Dynamic Languages Initiative● http://codeplex.com/IronPython● http://www.ironruby.net/
• Silverlight● http://silverlight.net● http://codeplex.com/dynamicsilverlight
• ASP.NET & VS Integration● http://asp.net/downloads/futures
![Page 21: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/21.jpg)
Resources
• Technical Communities, Webcasts, Blogs, Chats & User Groupshttp://www.asp.net/downloads/futures
www.codeplex.com/ironpython
www.ironruby.net
blogs.msdn.com/ironpython (IronPython blog)
www.iunknown.com (John Lam’s blog)
http://blogs.msdn.com/hugunin/ (Jim Huginin’s DLR blog)
http://jimmy.schementi.com (My blog)
• TechEd2007 Talks● IronPython and Dynamic Languages on .NET● Dynamic Languages on the Web
• Mix07 Talks http://sessions.visitmix.com● Mahesh and Polita’s Dynamic Data controls talk● Jim and John DLR/SL talk
![Page 22: Dynamic Languages and the Web Jimmy Schementi Microsoft jimmysch@microsoft.com](https://reader030.vdocuments.us/reader030/viewer/2022032606/56649eba5503460f94bc1a4f/html5/thumbnails/22.jpg)
Your Feedback is Important
Please fill out a session evaluation form and either put them in the basket near the exit
or drop them off at the conference registration desk.
Thank you!