http://blog.dotnetgator.com1John GarlandSenior ConsultantBurntsand ConsultingSilverlight Business Applications
About BurntsandCustom Development Solutions
Smart Client Development
Web Development
Information Worker Solutions
Web & Portal Publishing
Document & Records Management
Data Management Solutions
Business Intelligence & Reporting Solutions
Business Process and Integration Solutions
CRM – ReMSProducing tangible results through disciplined executionLeading systems integration firm founded in January 1996
More than 350 blue chip clients
4 North American locations: Boston, San Jose, Houston, Indianapolis

NH .Net Code Camp 2010 - Silverlight business applications

Editor's Notes

  • #4 * Source – Pro Silverlight 3 in C#, Matthew MacDonald, APress 2009** Source – RIAStats.com*** HTML5:"Will HTML 5 make RIA technologies such as Adobe Flash/Flex and Microsoft Silverlight obsolete? For at least the next five years, the answer is a definite 'no,'" reads Hammond's executive summary. "Inconsistent implementations of the draft HTML 5 specification and immature tooling make building HTML 5 apps that work consistently across browsers and operating systems a real challenge." - Forrester author and principal analyst Jeffrey Hammond When W3C itself projects 2022 (no, that's not a typo) as the earliest date that a final HTML 5 specification can be completed and published, some are actually saying that date is optimistic.The next stage for HTML 5 adoption is the first "candidate recommendation," set for 2012...At that time, Hammond foresees a process not unlike network appliance vendors hawking "802.11n" or "pre-11n" wares prior to that standard's final adoption last October.In 2015, we'll see pretty consistent support, even though there won't be a final standard. So I don't think it's dead, but I think you need to differentiate between a 'good enough' implementation and a 'fully compliant' standard.""The folks that benefit most from a new standard are the folks that don't necessarily have a commanding position in the existing standard," Hammond responded. ===========================================================================================SOURCE: http://www.betanews.com/article/Actual-Analysis-Is-HTML-5-already-outmoded/1273009131===========================================================================================Ian Hickson, editor of the HTML5 specification, expects the specification to reach the W3C Candidate Recommendation stage during 2012, and W3C Recommendation in the year 2022 or later.[8] However, many parts of the specification are stable and may be implemented in products:Some sections are already relatively stable and there are implementations that are already quite close to completion, and those features can be used today (e.g. <canvas>).– WHAT Working Group, When will HTML5 be finished?[8], FAQ===========================================================================================SOURCE: http://en.wikipedia.org/wiki/HTML5===========================================================================================
  • #5 Get the data  WCF, then RIADisplay the data  Charting, mapping, mixing it with other sourcesSharing the data  Local saving, printing, excelSecure the data  Using RIA Services A&A
  • #6 Plain old WCF Business objects “shared” via proxies.Net 4, there is a story for the .Net RT consuming “simple” SL classes (lowest-common-denominator business class) Validation code has to be repeated on both sides (Prism project linker, copy & paste.)Async completion handling Authentication would be web-service calls to ASP.Net authentication web service Other issues – “cluttering” of web service methods – pagination, filtered results, etc.Show creating WCF web serviceShow Data Sources windowShow Grid – Copy/Paste to Excel (yippee)
  • #7 Replace the graphic (or credit it to Nikhil)RIA Services Tool to help write n-tier applications on the .Net / Silverlight platforms where there is a desire to simplify data access and reuse business logic across tiers Projects are “linked” – making changes on the server makes changes to the generated code that is produced on the client Metadata (validation) is “projected” into the client Shared code via convention (.shared file)Async is handled internally Show Create domain service Show “basic” g.cs fileShow data sources window Show Paging Show Updating Show Validation – Exchange of metadata – attributed and custom (show g.cs and shared files)
  • #8 Charting Product Page Add a chart item in the appropriate square, set the title Add a LineSeries element to the chart for Price Set the ItemsSource to bing to the dataSource, path = dataDependentvaluePath = ListPrice (Y Axis)IndependentValuePath = Name Add a LineSeries element to the chart for Weight Set the ItemsSource to bing to the dataSource, path = dataDependentvaluePath = Weight (Y Axis)IndependentValuePath = NameMapping Customer Page Drop in Bing Maps Map control into UI section (add key value) Hook address data fetched event to set visibility of map and/or to geocode the address with the helper classPrinting Add the button Hook the completed, page events In page event, return false for more pages In page event, build the display element out of bitmaps GO!
  • #9 HTTPS!WHAT ABOUT SYSTEM/CRYPTO?Create another domain service for authentication  Implement IAuthentication<IUser>Hooking up in the client  MainPage.XAML, bind button panel DataCOntext to WebContext Bind button visibility to WebContext(inherited).User (needs a User to visibilityconverter) Note that buttons are now not displayed until user logs in Note that the login password validates (breakpoint)? against the server-side