& silverlight, windows phone 7, windows azure, jquery, odata and ria services. shaken, not...
Post on 21-Dec-2015
220 views
TRANSCRIPT
&Silverlight, Windows Phone 7, Windows Azure, jQuery, OData and RIA Services.Shaken, not stirred.
Kevin Dockx@kevindockxhttp://blog.kevindockx.com
Maarten Balliauw@maartenballiauwhttp://blog.maartenballiauw.be
&Silverlight, Windows Phone 7, Windows Azure, jQuery, OData and RIA Services.Shaken, not stirred.
Kevin Dockx@kevindockxhttp://blog.kevindockx.com
Maarten Balliauw@maartenballiauwhttp://blog.maartenballiauw.be
&Silverlight, Windows Phone 7, Windows Azure, jQuery, OData and RIA Services.Shaken, not stirred.
Kevin Dockx@kevindockxhttp://blog.kevindockx.com
Maarten Balliauw@maartenballiauwhttp://blog.maartenballiauw.be
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
Large screensFront-end for attendees 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 to work when main app is a Silverlight app• DomainContext / Entity generation• Authentication / Authorization• Validation• Change tracking
• Operations can be exposed as SOAP / OData endpoint• Reuse of service layer throughout a variety of clients• Every Domain Service IS a WCF Service• Reuse authentication service
Backend integration: Silverlight applications
• Back Office• Administrative SL app• WCF RIA Services way of working• Also used for reporting / charting
DEMOBack office / WCF RIA Services
Backend integration: Silverlight applications
• Top session list• Focus on design
• Twitter app• Focus on design• Twitter API
Backend integration: Windows Phone 7 application
• Focus on design• UI, UX & product design is important• … and can cost quite some time
• Integration with WCF RIA Services• Through SOAP endpoint• … and even the authentication service works
• Concerns about data usage• Connections are only made when absolutely necessary
DEMOWindows Phone 7
ASP.NET MVC 3
• One set of Controllers
• Three sets of Views• Web browser• Mobile browser (jQuery mobile)• WP7 web browser (pointing to Marketplace)
17
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
DEMOASP.NET MVC 3
jQuery mobile
• Alpha stage!• Cross-platform, cross-device• Based on HTML5 markup & jQuery• Touch optimized layout & widgets• Theming• Automatically provides:• Transitions• Navigation framework
DEMOjQuery Mobile
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
DEMONuGet - MefContrib
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!
25
DEMOWindows Azure & SQL Azure
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
27
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
Download MSDN/TechNet Desktop Gadget
http://bit.ly/msdntngadget
TechDays 2011 On-Demand
• Watch this 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
&Kevin Dockx@kevindockxhttp://blog.kevindockx.com
Maarten Balliauw@maartenballiauwhttp://blog.maartenballiauw.be