320 likes | 463 Views
Silverlight, Windows Phone 7, Windows Azure, jQuery , OData and RIA Services . Shaken, not stirred . &. Maarten Balliauw @maartenballiauw http://blog.maartenballiauw.be. Kevin Dockx @kevindockx http://blog.kevindockx.com.
E N D
Silverlight, Windows Phone 7, Windows Azure, jQuery, OData and RIA Services.Shaken, not stirred. & Maarten Balliauw@maartenballiauwhttp://blog.maartenballiauw.be Kevin Dockx@kevindockxhttp://blog.kevindockx.com
Silverlight, Windows Phone 7, Windows Azure, jQuery, OData and RIA Services.Shaken, not stirred. & Maarten Balliauw@maartenballiauwhttp://blog.maartenballiauw.be Kevin Dockx@kevindockxhttp://blog.kevindockx.com
Silverlight, Windows Phone 7, Windows Azure, jQuery, OData and RIA Services.Shaken, not stirred. & Maarten Balliauw@maartenballiauwhttp://blog.maartenballiauw.be Kevin Dockx@kevindockxhttp://blog.kevindockx.com
Who am I? • Maarten Balliauw • Antwerp, Belgium • www.realdolmen.com • Technology Specialist Windows Azure • Co-founder of AZUG • Focus on web • ASP.NET, ASP.NET MVC, PHP, Azure, … • MVP ASP.NET • http://blog.maartenballiauw.be • @maartenballiauw
Agenda • Organizing an event like TechDays... • Problem... • Solution & technologies • Silverlight, WCF RIA Services, Windows Phone 7 • ASP.NET MVC • jQuery & jQuery Mobile • Windows Azure • What to remember?
Organizing an event like TechDays... • Feedback loop with conference attendees is difficult • How are the sessions? • How’s each speaker? • Is the airconditioning too low? • Twitter is an option • Not everyone uses #techdays11 • Earliest feedback usually after the event
Live feedback? Let’s build a solution... • Establish a connection with speakers & audience • Short, to-the-point questions: • How’s the speaker? • How’s the session? • Any remarks? • Top session list • Accessible through a variety of devices
High level overview Front-end for attendees Large screens Back-end
3 screens and a cloud? • Well... • Windows Phone 7 • Any device with a web browser can navigate to http://techdays.realdolmen.com • iPhone • iPad • Android • Symbian • ... • Web browser • ...and a cloud!
Backend: WCF RIA Services • Automates/simplifies creating a service boundary trust • Common concerns • Validation • Authentication / authorization • Change tracking
Backend: WCF RIA Services • Best way toworkwhenmainapp is a Silverlight app • DomainContext / Entitygeneration • Authentication / Authorization • Validation • Change tracking • Operations can be exposed as SOAP / OData endpoint • Reuse of service layerthroughout a variety of clients • Every Domain Service IS a WCF Service • Reuseauthentication service
Backend integration: Silverlight applications • Back Office • Administrative SL app • WCF RIA Services way of working • Alsousedforreporting / charting
Backend integration: Silverlight applications • Top session list • Focus on design • Twitterapp • Focus on design • Twitter API
Backend integration: Windows Phone 7 application • Focus on design • UI, UX & product design is important • … andcancostquitesome time • Integration with WCF RIA Services • Through SOAP endpoint • … and even the authenticationservice works • Concerns about data usage • Connections are only made whenabsolutelynecessary
ASP.NET MVC 3 • One set of Controllers • Three sets of Views • Web browser • Mobile browser (jQuery mobile) • WP7 web browser (pointing to Marketplace)
ASP.NET MVC 3 & WCF RIA Services • Uses WCF RIA services through SOAP endpoint • So what about OData? • There’s some tuning required: • Optional parameters are cumbersome • Authentication service • By the way... • jQuery & WCF RIA Services: http://jeffh.me/wcfriajs
jQuery mobile • Alpha stage! • Cross-platform, cross-device • Based on HTML5 markup & jQuery • Touch optimized layout & widgets • Theming • Automatically provides: • Transitions • Navigation framework
ASP.NET MVC 3 • Application built using standard ASP.NET MVC 3 project template • And the new kids on the block!
New kids on the block? • Package management • Simplifies 3rd party components integration • Has a rich ecosystem of packages • I focus on development, NuGet does package mgmt. • Takes application wiring out of hands • Uses MEF but adds: • MVC3 integration • CompositionDependencyResolver • Integrates assemblies in /bin • Exports everything : IController by convention • Available through NuGet as well
Windows Azure & SQL Azure • Rapid availability of infrastructure • Only one instance during development • More instances right now • Tools you're familiar with • Seamless integration with WCF RIA Services, ASP.NET MVC 3, ... • Pretty cheap on the bill!
What to remember? • Design takes time • WCF RIA Services • Made rapid application development possible • Integrates fine with other technologies • Waiting (anxiously) on OData write support • jQuery Mobile is a pleasant surprise • ASP.NET MVC 3 is very extensible • Windows Azure allows for cheap, temporary hosting
Stay up to date with MSDN Belux • Register for our newsletters and stay up to date:http://www.msdn-newsletters.be • Technical updates • Event announcements and registration • Top downloads • Follow our bloghttp://blogs.msdn.com/belux • Join us on Facebookhttp://www.facebook.com/msdnbehttp://www.facebook.com/msdnbelux • LinkedIn: http://linkd.in/msdnbelux/ • Twitter: @msdnbelux DownloadMSDN/TechNet Desktop Gadgethttp://bit.ly/msdntngadget
TechDays 2011 On-Demand • Watchthis session on-demand via Channel9http://channel9.msdn.com/belux • Download to your favorite MP3 or video player • Get access to slides and recommended resources by the speakers
Resources • Silverlight & WCF RIA Services • http://www.silverlight.net • http://www.silverlight.net/getstarted/riaservices • ASP.NET MVC 3 • http://asp.net/mvc • jQuery • http://www.jquery.com • http://www.jquerymobile.com • Windows Azure • http://www.azure.com
Vote us to #1 • Browse to http://techdays.realdolmen.com • Login with your badge identifier • Vote for our session • Suggested rating: 5 stars • Suggested free text: AWESOME!
THANK YOU & Maarten Balliauw@maartenballiauwhttp://blog.maartenballiauw.be Kevin Dockx@kevindockxhttp://blog.kevindockx.com