Making Money with CodedUI
Saturday was Microsoft’s Dev4Dev’s event, where each presenter gets 20min to cover one topic. It is fantastic fun and a great way to learn.
For the event I decided to tackle CodedUI, which is just a great testing technology and in 20min I showed off a number of features using it. Below is the slides, which are not valuable - unless you jump to the hidden content where you find my demo script and some extra information!
If you are wanting to play with the demo’s you will also need my pre-constructed demo bits:
- The Xbox Super Store website: http://xbox360superstore.codeplex.com/
- My WPF application: Below
- The XML file with the values for the Data Driven test: Below
For those who attended and saw my second demo not go according to plan, I apologise again I’ve since run it again and it works every time, I guess the massive audience scared CodedUI into breaking
New posters added to www.newdrp.com
Stolen directly from Zayd Kara’s blog, which is a fantastic read. If you not reading his blog, you should.
Our team (editor: our = ATC team at BB&D) have been hard at work and are pleased to announce that following posters have been added to the DRP Site for FREE download. Here is a quick brief on the posters that have been added:
Direct Compute – “Microsoft DirectCompute is an application programming interface (API) that supports general-purpose computing on graphics processing units on Microsoft Windows Vista and Windows 7. DirectCompute is part of the Microsoft DirectX collection of APIs and was initially released with the DirectX 11 API but runs on both DirectX 10 and DirectX 11 graphics processing units”
WCF Error Handling Best Practices – WCF error handling is complicated by the fact that client and service are separated by physical boundaries. This quick reference poster provides you with best practices for handling WCF errors.
Windows Embedded Standard 2009 – “Windows Embedded is family of operating systems from Microsoft designed for use in embedded systems.” This quick reference poster describes the development cycle of creating a Windows Embedded image.
Windows XP Mode & Windows Virtual PC - Windows XP Mode and Windows Virtual PC, available on Windows 7 allows you to run multiple Windows environments, such as Windows XP Mode, from your Windows 7 desktop. This quick reference poster provides you with a quick overview helping you decide if Windows XP Mode and Windows Virtual PC is for you.
It's Dev4Dev's time again!
My favourite gathering of developers happens 2 or 3 times a year, it’s called Dev4Devs. This is a free event which Microsoft runs, where ANYONE can present a topic but they only have 20min! This means that in a morning you see 7 topics and rather than getting swamped in all the details you dive directly to the really important parts.
The topic list is below, and there is some exciting topics there and even some non-MS technology is covered too!
I am also really glad that the entire ATC team at BB&D, which is the team I work in, is presenting – they are highlighted in the list below!
The next one comes on the 4th September 2010 and it occurs at Microsoft’s offices in Johannesburg and you can register at https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032456806&Culture=en-ZA
Session List for Dev4Devs
Windows Phone 7 - Getting Started
A high level introduction to getting started with Windows Phone 7 development including: where to begin, options for developers, thinking about design and a demonstration application.
Presenter: Johannes van Schalkwyk
Making MVVM easy
Starting with WPF, Silverlight or WP7? Heard of MVVM but think it’s WAY too complex for your simple application? Join me for a crash course using the easiest MVVM framework available… Caliburn.Micro!
Presenter: Rudi Grobler (ATC Team Member)
Why you should care about Google Closure
Closure is a modularised set of JavaScript libraries that can assist you in building rich internet applications.
It's been battle-tested by Google on sites like: Gmail, Google Docs and Google Maps.
Attend this short intro to get an understanding of how important these libraries are and why you should consider using them in your next big internet app.
Presenter: Simon Stewart
Introducing NHibernate 3
The daddy of .NET ORM is back with a new release, in this session you'll see a few of the newest features - such as a full IQueryable LINQ provider - that makes NHibernate 3 the best release yet!
Presenter: Kevin McKelvin
Branding SharePoint 2010 with MasterPages, Layouts and CSS
One of the largest limitations of WSS3.0 and MOSS2007 is the ability to brand SharePoint without intricate knowledge of the platform and in some cases breaking a few rules and modifying out of the box system files to get the desired look and feel. Come and see how the theming engine in SharePoint 2010 together with CSS, Master Pages and Layouts can be used to brand your SharePoint site using the amazing new SharePoint Designer 2010.
Presenter: Brent Samodien
Unit Testing - Code Coverage & Mocking
In this presentation William will demonstrate how code coverage tools help measure the effectiveness of your unit tests. He will also show how Mocking tools can help to add value to your unit tests and ensure that all edge-case logic is properly checked.
Presenter: William Brander (ATC Team Member)
Getting ready for Windows Azure development
Heard about the cloud? Excited about the possibilities? In this session we have a 1000-mile introduction to Microsoft’s operating system for the cloud, Windows Azure, how it compares to the other cloud offerings that are out there and how to get your hands dirty with the skill-up process. Endless possibilities + new tech = fun stuff.
Presenter: Ryno Rijnsburger
An introduction to Mercurial Source Control
Want a quick introduction into a Distributed Version Control System (DVCS)? Meet Mercurial it is a cross-platform, fast, lightweight source control management system designed for easy and efficient handling of distributed projects.
Presenter: Zayd Kara (ATC Team Member)
Making money with Coded UI
Coded UI is a brand new feature of Visual Studio 2010 which enables you to quickly build automated user interface tests for your application and run them as if they were unit tests. In the talk we will look at how Coded UI can change your life, one UI at a time!
Presenter: ME! (ATC Team Member)
Hack .Net in 10 Seconds - Why obfuscation is critical
Hacking 101 – I demonstrate how to bypass basic copy protection in an unobfusctaed .Net application through reverse engineering and show how obfuscation adds a layer of protection. I also demonstrate additional techniques for protecting your applications from hacking once they are released in the wild.
Presenter: Mark Pearl
Composite Applications with PRISM
In this session Stephan will demonstrate how to leverage the Composite Application Libraries to create modularized applications for WPF and Silverlight. He will also show you how to do multi-targeted development by sharing lots of code between the web and desktop applications.
Presenter: Stephan Johnson
An Introduction to Pex and Moles
An introduction into Pex and Moles, covering the basics of Mole Types and Mole Stubs and Parameterised Testing.
Presenter: Dave Russell
ASP.NET Dynamic Data
I will briefly introduce ASP.NET Dynamic Data by showing how to build a complete data maintenance web application with almost zero code.
Moving on, I will demonstrate some standard ways of customising a Dynamic Data application, and some more advanced non-standard customisation techniques. I will finish off by illustrating how Dynamic Data libraries and controls can be leveraged in other applications that don't normally use dynamic data.
Presenter: Brady Kelly
ASP.NET MVC 3
As you probably already surmised, ASP.NET MVC 3 is the next major release of ASP.NET MVC. Join us as we highlight the upcoming features and modifications to this popular framework.
Presenters: Jaco Pretorius and Kobus Brummer
ALM in 2010
Here is the slides from my talk on Application Lifecycle Management in 2010 which I did for the Information Worker user group.
Here is the blurb for the session
You can download the slides and the white paper from the IW site.Development is not just about writing code and pressing compile. It is a process, which starts long before code is written and extends long after the compile is done and this process includes a lot of management - this process is called Application Lifecycle Management (ALM).
SharePoint development is not immune to this and this presentation looks at what the landscape and tools are like for ALM in 2010 and how it relates to SharePoint development.
HTTP Status Codes Cheat Sheet
Today’s poster is for the variety of HTTP status codes which exist. Not only is there the 34 original HTTP v1.0 ones and the 6 new ones that came in with 1.1. There is also another 10 extensions from official RFC’s, and two special case ones. That is 52 in total, and it isn’t easy to remember what they are all are – so this poster is a cheat sheet to help with that.
It is also related to my other REST cheat sheet, since good HTTP status code usage is important for good REST services.
You can download the high resolution XPS file below.
"How RESTful are your services?" - The quick reference poster
Today’s quick reference poster looks at REST services and gives a guide to how RESTful (or not) your services are, from level 0 (not restful) to level 4 (using everything). These are not a scientific levels, it is just a simple classification I devised to promote easy communication about the services. The idea for this is to promote thinking about what features to use and assist with communication in a team. It is not a a requirement to always have level 4, some times you just need level 1 and this fine – do not over engineer for the sake of saying you are level 99.
If you are in into classification of REST services, have a look at http://www.innoq.com/blog/st/2010/07/rest_litmus_test_for_web_frame.html
Download the high resolution XPS file below.
Proven Practices in Threading Quick Reference Poster
This poster is based off my talk on .NET Threading, which I wrote about the entire process about the creation of that talk (see here). This poster takes the key proven practices in the talk and groups them into six themes for easy consumption.
High resolution XPS version below.
What's new in Visual Studio 2010 quick reference poster
One of my favourite aspects of my work at BB&D, is the creation of quick reference posters and cheat sheets for the DRP site which is one of BB&D’s way of sharing knowledge outside the organisation. I have recently produced a bunch of new posters which I will be releasing over the next few days. First up is…
What’s new in Visual Studio 2010
A quick reference post which explains the edition changes, some new features (IntelliTrace and the architecture tools) and gives some hints about the IDE (docking of windows, search shortcuts, block selection and zooming).
You can download the high definition XPS file below.
Presentation Dump - Mid 2010: VS2010, NDepend, RESTful Design, SSIS, EntLib 5, .NET Reflection, AppFabric, BDD, Sikuli & Redmine
The past 6 months have been hectic from a presentation perspective for me, with 20 presentations and classes given this year so far. So instead of a single dump of presentations at the end of the year, as I did last year, I am doing a mid-year dump.
What is new in Visual Studio 2010
This presentation is the one I have given many times this year. It originally started as 10 on 10, which looked at 10 features in 20min for Dev4Dev’s last year. It then evolved into 12 on 10, which added two more features, still in 20min. It then evolved into ?? on 10 for 6 degrees of code where it became an hour and half presentation. It is demo heavy and really the slides are the very basics – the important is hidden slides and notes for the demos.
NDepend
The tool that keeps on giving! For people working with taking over customer sites, reviewing code or anything else where you need to deal with other peoples code this tool is a must. This presentation was given to the architecture team at BB&D.
RESTful Design
RESTful design is an evolution of an earlier presentation I did, REST & JSON, which drops the JSON stuff completely and also drops the heavy compare with SOAP/WS* parts which seemed to cause confusion. This revised presentation covers just REST and looks at it much more practically by covering the required HTTP knowledge and patterns for designing RESTful services.
SQL Server Integration Services
Another upgrade in 2010 of an earlier presentation which not only cleans up some aspects but also goes into a lot more detail.
Enterprise Library
“The presentation that never was”, often I will spend time researching a technology or trend and preparing the presentation to come to the conclusion that it is just not worth the time of the attendee’s. Enterprise Library 5 is one of those, as the presentation covered what is new in it, and that is not very much.
.NET Reflection
This one is actually one from last year, but I had problems getting it onto SlideShare so it is only showing up now.
Windows Server AppFabric
AppFabric, the local one – not the Azure one, was a great presentation I did for the BB&D architecture team. This is not the original presentation – it has been edited to remove customer info as a lot of analogies between a project BB&D did and AppFabric was in it (cause who hasn’t built a system similar to AppFabric).
BDD
One of the presentations I spent the most time on this year, and one of the most exciting presentations. It really is a great methodology and I would love to see it used more.
Sikuli
Another presentation which did not make the cut to actually be presented. It is an interesting project, but of limited scope and when compared to the Coded UI from Visual Studio 2010 it is really far behind.
Redmine
Redmine is a bug tracking system, and being it’s not TFS may surprise you that an ALM MVP would do training on it. However for me to do training meant I head to learn it, which means I know the ALM landscape better and can point out which is better or not without uneducated bias (btw it still is TFS :)). This training was aimed not at developers but at call centre/power user people who would log initial bugs to then be managed in the system – so it was more of a ticketing system than a bug system in the end.
DevDays Durban Slides and Bits
I had a great time in Durban this week presenting at the DevDays event. I was a bit nervous for my first keynote but calmed down once I was up there. I was much less nervous for the sessions and they turned out to be great fun.
Knowing is half the battle
As part of my prep I did fully script the demos and those scripts are included in hidden slides in the slide shows – so if you are looking to recreate the demos please download the slides and have a look.
For both my sessions I made use of the excellent (but I’m biased) Rule 18 tool. So if you looking for the actual code, which I referred to in my scripts with Rule 18 key presses, you should really download that too.
All the demos were done using Visual Studio 2010.
What’s new in ASP.NET 4?
- Demo Bits
- Rule 18 Snippets
- Websites and tools mentioned in the talk:
- jQuery
- ASP.NET Chart Controls for Visual Studio 2008 and .NET 3.5
- Windows Server AppFabric (previous called Velocity), which is the distributed caching solution.
- Web Platform Installer
- Used to install web application to IIS, like Drupal or Joomla
- Used to install MVC 1
What’s new in .NET 4?
- Demo Bits
- To save size in the bits I have not included the IMDB data dump, which you will want to download and include to get the IMDB provider to work.
- Rule 18 Snippets
- Websites and tools mentioned in the talk: