SlideShare a Scribd company logo
DDD!Sydney 2012

 Knowledge Sharing
Technologies
• ASP.NET WebApi
• Automated UI Testing
• Kendo UI
ASP.NET WebApi
• What is it?
  – a shiny new framework
  – build HTTP services easily
  – reach a broad range of clients
     • browsers and mobile devices
  – ideal for RESTful applications on .NET
  – http://www.asp.net/web-api
• Used to be known as WCF WebApi
• Included in ASP.NET MVC 4
ASP.NET WebApi

             WSE 2
ASMX                          WCF
              &3

   MVC and
                      WCF
   Custom
                     WebApi
    Views
ASP.NET WebApi
• What for?
  – If you want to build APIs using MVC style of
    programming (instead of WCF style)
• Features
  – Content Negotiation (JSON or XML)
  – Self Hosting
  – Async Support
  – OData Support
ASP.NET WebApi

• Demo
Automated UI Testing
• UI Testing
  – End-to-end tests
  – Browser recorders
  – Selenium, WATIN, etc.
Automated UI Testing
Automated UI Testing
• Why they fail
  – Unmaintainable
  – Lots of things going on
  – Brittle
  – Procedural
  – Duplicated logic
  – Magic strings
Automated UI Testing

• Test code is code!
 – Apply S.R.P.
 – Apply D.R.Y.
 – Care about tests as much as your code
Automated UI Testing
• Solution: Object-oriented Tests
  – Page Objects
  – Page Components
  – Strong Typing
  – Framework: Seleno
     • http://teststack.github.com/TestStack.Seleno/
Automated UI Testing
Automated UI Testing
• Use BDDfy to create tests into “living
  documentation”
  – http://teststack.github.com/TestStack.BDDfy/
Automated UI Testing
Automated UI Testing
•   Don’t use Thread.Sleep
•   Choose right selectors
•   Only one test per action
•   Design by interface
•   Apply YAGNI
•   Run and maintain your tests
    – Run frequently, fix immediately!
• DO IT RIGHT or DO NOT DO IT
Kendo UI
• New JS framework from Telerik
• For web/mobile apps
• Everything you need for HTML5/CSS3 and JS
  sites and applications
• http://www.kendoui.com
Kendo UI

     Web             DataViz             Mobile

• Telerik Web    • Visualizations,   • Native look-
  Controls         widgets,            and-feel for
• Touch-           charts              iOS, Android,
  enabled        • Touch aware,        Blackberry
• Supports IE7     hardware          • Exposes
  up               accelerated         Native API
                                       interfaces
Kendo UI
• DataSource
• MVVM Framework
• Theme Builder
Kendo UI

• Demo
The End

• Questions?

More Related Content

PPTX
SharePoint Saturday Twin Cities - SharePoint Framework, Angular & Azure Funct...
PPTX
SharePoint Saturday Vancouver - SharePoint Framework, Angular and Azure Funct...
PDF
Intro to SharePoint 2010 development for .NET developers
PPTX
SharePoint Fest DC - SharePoint Framework, Angular and Azure Functions
PPTX
Single Page Application Development with backbone.js and Simple.Web
PDF
Mobile App Development Using Appcelerator and DNN WebAPIs
 
PDF
SPSNJ 2014: EmberJS & SharePoint
PPTX
Iconus 2016
SharePoint Saturday Twin Cities - SharePoint Framework, Angular & Azure Funct...
SharePoint Saturday Vancouver - SharePoint Framework, Angular and Azure Funct...
Intro to SharePoint 2010 development for .NET developers
SharePoint Fest DC - SharePoint Framework, Angular and Azure Functions
Single Page Application Development with backbone.js and Simple.Web
Mobile App Development Using Appcelerator and DNN WebAPIs
 
SPSNJ 2014: EmberJS & SharePoint
Iconus 2016

What's hot (20)

PPT
Selenium for everyone
PDF
Ember and SharePoint
PDF
PPTX
WebNetConf 2012 - Single Page Apps
PDF
Web app development with Flask
PPTX
How to build a JavaScript toolkit
PDF
Async Web and Python
KEY
Single Page Applications - Desert Code Camp 2012
PDF
The New JavaScript: ES6
PPTX
A tale of 3 databases
PPTX
Making maven and grunt play nice
PPSX
Web technologies practical guide
PPTX
PPTX
MAUI Blazor - One App that runs everywhere
PDF
React Native - DILo Surabaya
PPTX
Our Battle Against Technical Debt
PPTX
Simple introduction about cordova
PDF
Your choices for building a mobile app in 2016
PDF
Ionic Framework
PPTX
Building rest services using aspnetwebapi
Selenium for everyone
Ember and SharePoint
WebNetConf 2012 - Single Page Apps
Web app development with Flask
How to build a JavaScript toolkit
Async Web and Python
Single Page Applications - Desert Code Camp 2012
The New JavaScript: ES6
A tale of 3 databases
Making maven and grunt play nice
Web technologies practical guide
MAUI Blazor - One App that runs everywhere
React Native - DILo Surabaya
Our Battle Against Technical Debt
Simple introduction about cordova
Your choices for building a mobile app in 2016
Ionic Framework
Building rest services using aspnetwebapi
Ad

Similar to DeveloperDeveloperDeveloper! Sydney 2012 (20)

PPTX
The future of ASP.NET / CodeCamp/Iasi 25 Oct 2014
PPTX
Hybrid Mobile Development with Apache Cordova and
PPTX
Xamarin.Forms Bootcamp
PDF
Titanium: Native Mobile Apps with Javascript
PPTX
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
PPTX
AngularJS - Architecture decisions in a large project 
PPTX
Automation using Javascript
KEY
20120802 timisoara
PPTX
Hybrid mobile application with Ionic
PPTX
Test Automation with Twist and Sahi
PPTX
Developing Cross-Platform Web Apps with ASP.NET Core1.0
PPTX
Introduction to ASP.NET 5
PPTX
Web goes Native - iOS und Android Apps mit dem Ionic & Capacitor Framework
PPTX
Ios driver presentation copy
PPTX
.NET? MonoDroid Does
PPTX
Building mobile apps using meteorJS
PPTX
Rise of the hybrids
PPTX
Breaking the eggshell: From .NET to Node.js
PPTX
Introduction to ASP.NET
The future of ASP.NET / CodeCamp/Iasi 25 Oct 2014
Hybrid Mobile Development with Apache Cordova and
Xamarin.Forms Bootcamp
Titanium: Native Mobile Apps with Javascript
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
AngularJS - Architecture decisions in a large project 
Automation using Javascript
20120802 timisoara
Hybrid mobile application with Ionic
Test Automation with Twist and Sahi
Developing Cross-Platform Web Apps with ASP.NET Core1.0
Introduction to ASP.NET 5
Web goes Native - iOS und Android Apps mit dem Ionic & Capacitor Framework
Ios driver presentation copy
.NET? MonoDroid Does
Building mobile apps using meteorJS
Rise of the hybrids
Breaking the eggshell: From .NET to Node.js
Introduction to ASP.NET
Ad

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
cuic standard and advanced reporting.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Approach and Philosophy of On baking technology
PDF
Electronic commerce courselecture one. Pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
20250228 LYD VKU AI Blended-Learning.pptx
Big Data Technologies - Introduction.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Dropbox Q2 2025 Financial Results & Investor Presentation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
cuic standard and advanced reporting.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Machine learning based COVID-19 study performance prediction
Approach and Philosophy of On baking technology
Electronic commerce courselecture one. Pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation_ Review paper, used for researhc scholars
Review of recent advances in non-invasive hemoglobin estimation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Spectroscopy.pptx food analysis technology
Reach Out and Touch Someone: Haptics and Empathic Computing

DeveloperDeveloperDeveloper! Sydney 2012

  • 2. Technologies • ASP.NET WebApi • Automated UI Testing • Kendo UI
  • 3. ASP.NET WebApi • What is it? – a shiny new framework – build HTTP services easily – reach a broad range of clients • browsers and mobile devices – ideal for RESTful applications on .NET – http://www.asp.net/web-api • Used to be known as WCF WebApi • Included in ASP.NET MVC 4
  • 4. ASP.NET WebApi WSE 2 ASMX WCF &3 MVC and WCF Custom WebApi Views
  • 5. ASP.NET WebApi • What for? – If you want to build APIs using MVC style of programming (instead of WCF style) • Features – Content Negotiation (JSON or XML) – Self Hosting – Async Support – OData Support
  • 7. Automated UI Testing • UI Testing – End-to-end tests – Browser recorders – Selenium, WATIN, etc.
  • 9. Automated UI Testing • Why they fail – Unmaintainable – Lots of things going on – Brittle – Procedural – Duplicated logic – Magic strings
  • 10. Automated UI Testing • Test code is code! – Apply S.R.P. – Apply D.R.Y. – Care about tests as much as your code
  • 11. Automated UI Testing • Solution: Object-oriented Tests – Page Objects – Page Components – Strong Typing – Framework: Seleno • http://teststack.github.com/TestStack.Seleno/
  • 13. Automated UI Testing • Use BDDfy to create tests into “living documentation” – http://teststack.github.com/TestStack.BDDfy/
  • 15. Automated UI Testing • Don’t use Thread.Sleep • Choose right selectors • Only one test per action • Design by interface • Apply YAGNI • Run and maintain your tests – Run frequently, fix immediately! • DO IT RIGHT or DO NOT DO IT
  • 16. Kendo UI • New JS framework from Telerik • For web/mobile apps • Everything you need for HTML5/CSS3 and JS sites and applications • http://www.kendoui.com
  • 17. Kendo UI Web DataViz Mobile • Telerik Web • Visualizations, • Native look- Controls widgets, and-feel for • Touch- charts iOS, Android, enabled • Touch aware, Blackberry • Supports IE7 hardware • Exposes up accelerated Native API interfaces
  • 18. Kendo UI • DataSource • MVVM Framework • Theme Builder