Guerrilla .NET (UK) Course
Are you tough enough to go Guerrilla?
These classes are all-day and all-night coding: They run from 9am - 9pm.
Guerrilla .NET provides a deep exploration of .NET design philosophy and practical advice. You learn a myriad of patterns and best practices, and you get hands-on experience developing applications using Visual Studio 2013 and Windows 8. Learn to write code using new .NET class libraries like Entity Framework 5/6, MVC 5, and The Reactive Framework.
You'll get answers to these questions:
Come and learn to build robust .NET applications using the latest technologies! Register now.
The Guerrilla experience means total immersion in social coding. Multiple instructors keep you engaged throughout the entire learning process, while you work with new friends, collaborating, competing, and coding.
Deep Dive Language Mechanics
In the early days of C# there was virtually a 1-1 mapping between C# and IL. Much has changed since C# 1, the developer is encouraged to simply describe their intent and the compiler builds the appropriate code. This module will dive under the hood and show how various C# features like iterator methods, anonymous methods, extension methods,LINQ and dynamic all result in code gen by the C# compiler. These layers of abstractions initially make us more productive, but sometimes they hide those hard to find bugs, and can add a deluge of performance implications that once we understand how the mechanics of the features work we can quickly fix.
Entity Framework 6 Introduction
The Entity Framework is an Object Relational Mapping (ORM) layer released in .NET 3.5 SP1. The module looks at the ideas behind ORM and shows how you can remove data access code from your codebase by working with objects that the ORM translates into database queries. Along the way we will look at how LINQ can be used to query and manipulate this data.
WPF is Microsoft’s UI technology for building smart client applications. In this module we look at the WPF architecture and how user interfaces are designed using a markup language called XAML. XAML is at the heart of all of Microsoft’s frameworks for building rich user interfaces: WPF, Silverlight and Windows 8 App Store applications.
Using unit testing comprehensively within software development is a growing movement. Unit testing allows refactoring and maintenance with the confidence that existing functionality is not broken. In this module we will look at techniques for writing good unit tests and integrating them into testing frameworks to automate the unit tests. We will also introduce Test Driven Development (TDD) to show how writing tests first delivers not just well tested code but also more loosely coupled code..
Entity Framework 6 and the Repository Pattern
Prior to Entity Framework 4.0 EF relied on generating entity classes that were tightly coupled to EF. 4.0 introduces the idea of POCO classes – bringing your own classes to EF. This module shows how POCO support works and how you can use the repository pattern to keep your application code and the data access layer cleanly separated and testable.
Since .NET 1.0, ASP.NET has used server sided controls to build “web forms”. However, there is now a new approach with leverages the Model/View/Controller design pattern that has worked so well in frameworks such as Ruby on Rails. This new approach is called ASP.NET MVC and creates code that is much easier to unit test than web forms and so lends itself well to Test Driven Development. This module focuses on the latest release of Asp.NET MVC including the new Razor view engine.
Windows Communication Foundation Architecture
The shift from object oriented development to component oriented development made it possible to build more loosely coupled and flexible systems where individual components evolved independently without impacting the overall system. The Windows Communication Foundation continues those practices by providing a model which is based on interfaces and contracts. This talk will introduce you to the WCF model and how to utilize it to build service- oriented and distributed applications.
WPF, DataBinding and MVVM
Moving data between the UI and underlying objects can be a laborious task. Databinding is a technology that hugely simplifies this process. But more than that, in WPF databinding is a fundamental skill for creating rich user interfaces with minimal code. Databinding is the core technology that enables the use of the Model-View-ViewModel presentation layer pattern which we also introduce in this module.
PFx: Task - a Unified Threading API
When the Parallel Framework Extensions (PFx) were first announced it looked as though it was going to target a narrow set of requirements around parallelizing processor intensive code. However, over time the scope of the library has grown significantly such that it will become the main model for building asynchronous code. The pivotal type enabling this transition is the Task class. This is a functionally very rich type allowing the creation of both short and long lived asynchronous work, Tasks can have dependencies on one another and support cancellation. In this, the first of the PFx modules we look specifically how this class gives us a unified framework for building multithreaded code.
Thread Safety, Concurrent Data Structures
Asynchronous programming requires careful attention to detail since most objects are not designed with multithreaded access in mind. This module introduces the importance of Interlocked and Monitor-based synchronization. However, on their own these primitives do not provide support for more complex synchronization situations and so people have had to use them as building blocks to build things like efficient Semaphores. PFx finally brings to the library a set of richer primitives such as lazy initialization, a lightweight semaphore and a countdown event. But more than this, it also introduces a set of high performance concurrent data structures that allow you to use them without you having to provide your own synchronization logic around them. This module looks at this new set of tools in your synchronization toolbox.
PFx: Parallelizing CPU Intensive Algorithms
The original goal of PFx was to provide support for splitting computationally intensive jobs across multiple processor cores. Even though the scope of the library has expanded, this is still an important part of this infrastructure. In this talk we look at the tools PFx gives you to aid parallelizing algorithms but we also shows that without care PFx isn’t necessarily the free lunch it appears.
C#5 5 Async/Await
C# 5 builds on the Task API introducing async and await keywords which bring asynchronous execution as a first class concept in the C# language. These new keywords create a very elegant model for all sorts of async work and this module explains not only how to use them but also how they work under the covers.
Test Doubles and Mocking
Code is not automatically unit testable – it has to be designed to be so. We will look at how Test Driven Development leads to inherently testable code by using dependency injection and how Inversion of Control (IoC) containers can make dependency injection manageable. Once we have dependency injection we can then use mocking frameworks to simplify the job of making unit tests truly test only a single unit by suppying test doubles we control rather than the real dependencies.
Building REST-based Services
Service Orientation and SOAP are often seen as going hand-in-hand. However, there is another architectural style for building services – that or REpresentational State Transfer, or REST. REST uses the design principles that have made the web so hugely scalable: resources are identified by URI, operations defined by HTTP verbs, links used to move to the next stage of processing. In this module we look at how we use the .NET platform to deliver REST based systems.
Inside the Garbage Collector
The garbage collector has been part of .NET since its inception. However, exactly how the GC works is often shrouded in mystery. Also the fact that memory management is automated doesn’t release the developer from caring about memory issues – it’s just those memory issues appear in a different guise. In this module we take the lid of the GC, look at how it works and is optimized and then assess what this means for you when you are writing your code: things you do that can help the GC and things that cause it problems.
Power Debugging with WinDBG
For many developers debugging tools start and end with Visual Studio. However, there are a large number of problems that Visual Studio provides very little support – particularly threading and memory management issues. WinDBG and the plugin SOS.DLL bring a new set of tools to .NET developers that can provide insights that help you solve bugs that you see during testing but also allow you to diagnose issues occurring in production systems where the only data you can get is a crash dump file.
Introducing the Reactive Framework (Rx)
Reactive Framework is a new library that uses the .NET 4.0 IObservable interface and LINQ to create a compelling new programming model that allows you to build "event" based code with declarative LINQ statements. This module introduces the Reactive Framework and shows how it can greatly simplify your code.
Building Asynchronous Web Applications With SignalR
SignalR is a framework for building asynchronous web applications. SignalR consists of two parts, server and client that work together to allow the server to push data to the client. The server code is built around Microsoft's ASP.Net MVC framework while the client will use the best technology available to do it's work, that could be Web Sockets, Long polling, forever frame or some other technique. Anywhere that you need to use asynchronous updates to multiple clients SignalR can help. We will cover how to set up and initialise SignalR and how to use it to call into the browser and get the browser to show updates.
TPL Data Flow
TPL Dataflow is a downloadable addition to the code TPL (Task Parallel Library) that ships with the .NET framework. TPL Dataflow provides an alternative approach to define concurrency. Instead of just simply throwing threads at a synchronously structured programming and having deal with all the thread safe and race conditions that introduces; we have the concept of many autonomous objects each with its own thread of execution. These. autonomous objects co-operate with other such objects through asynchronous message passing. In this talk we will see how TPL Dataflow can greatly reduce the complexity normally associated with asynchronous programming.