dotNetConfPL 2014: summary and sessions recap

The second edition of dotNetConfPL was pretty successful. I am very pleased with all sessions, and speakers performance.

All sessions went smooth, but one. Barbara Fusinska could not run screenshare on Google Hangouts. Her session was recorded later and is already available. The only way to inform other about the problems during the conference was through JabbR or displaying Blue Screen of Death instead of her session. Adding something on website would require us to redeploy. We didn’t want to do that. For the next year we will prepare some placeholder for information, which can be set dynamically.

This year we had one non-technical talk: Talent for $2. You would be tempted to! I think this talk has great potential. It includes a lot of pointers and tips. I encourage you to look at it. I watched Simon Sinek’s TED talk: “How great leaders inspire action”, and I took Clifton’s test to discover my talents. My 5 talents are:

  • Learner
  • Focus
  • Responsibility
  • Deliberative
  • Analytical

I am very interested if some of you did this test, and what results did you get. Share it in comments!

The most popular feedback about the conference is: “We need it more often than once a year”. We will try to figure out something 😉

Check all sessions recap:

Maciej Aniserowicz – Unit testing in practice, vol 2

1:11 – agenda
1:55 – unit tests vs integration tests
4:14 – DB testing: “in memory”
7:14 – DB create script
7:50 – DEMO start
9:25 – tests outline
11:40 – creating InMemoryDbFixture (helper class for tests)
13:40 – tests implementation
17:00 – first method implementation (to pass test)
18:29 – installing packages: autofixture, xunit.extensions, autofixture.xunit (for random string generation)
19:30 – applying installed packages for automatic string generation
21:15 – second method implementation (to pass test)
24:20 – modifying InMemoryDbFixture class to respect join on tables
26:12 – pros and cons for testing with real DB
27:50 – separating tests for mock DB, and real DB
30:09 – script for drop everything in DB
32:15 – creating fixture for running db scripts (drop_everything.sql and install.sql)
34:50 – baking fixture into test class and implementing tests for real DB
42:00 – turning off NCrunch ability to run tests simultaneously
43:40 – summary
45:10 – Q&A

Filip Wojcieszyn – Everything you want to know about Roslyn

1:55 – C# compiler today
3:20 – compiler as a service
4:05 – Roslyn influence
6:45 – Roslyn APIs
7:58 – Tools required for Roslyn
10:25 – compiler as a service DEMO
17:17 – Roslyn for code analysis (static, semantic)
22:24 – code analysis with Roslyn DEMO (syntax visualizer)
26:21 – sanity check DEMO
31:40 – SyntaxRewriter DEMO
35:55 – Roslyn APIs (one more time)
38:40 – building tools for Visual Studio with Roslyn SDK
39:25 – Diagnostic + Code fix DEMO
46:57 – Custom C# dialect DEMO
50:30 – Examples of Roslyn in Real World
52:00 – Q&A

Barbara Fusinska – Aspect-Oriented Programming (AOP)

1:37 – Agenda
3:29 – History of AOP
4:57 – Cross cutting concerns
8:50 – What the heck are aspects?
13:01 – demo app presentation
15:23 – Some benefits of AOP
16:15 – DEMO: adding functionality to existing method of demo app
23:55 – DEMO: LoggingAspect
27:00 – DEMO: DefensiveProgrammingAspect
28:23 – DEMO: TransactionAspect
30:00 – Where you’ve been using AOP without knowing it
33:15 – DEMO: communication with external services and cleaning code with aspects
42:02 – Testing aspects usage
46:10 – DEMO: How to test aspects and possible problems

Jakub Gutkowski – Server Side or/and Client Side MVC ???

0:45 – Agenda
1:06 – Client Side vs Server Side
6:22 – SPA (Single Page Applications)
14:00 – Problems with SPA
16:58 – Solutions?
19:20 – DEMO: SPA inside not SPA
23:39 – DEMO: SPA without server
26:20 – JavaScript everywhere? JS approach by Twitter, Basecamp, AirBnB, Instagram, Facebook
34:20 – How we can/should use JavaScript
35:13 – DEMO: Push State
40:53 – summary
41:22 – Q&A

Patryk Góralowski – Talent for $2. You would be tempted to!

3:39 – how to answer a question: who you are?
6:05 – development
6:59 – self development
7:58 – our personal resources: body, mind, emotions, belifies
14:00 – task 1: why your are here today? give 10 reasons, select 3 most important, and ask why each of them
19:30 – expected result from task 1
21:02 – about Simon Sinek (author of the process given in task 1) and his TED talk: How great leaders inspire action
26:35 – philosophy of our self development
27:35 – about Mike Markkula, and philosophy of Apple
29:34 – #1: empathy (understand customer needs better than others)
30:32 – task 2: write down your needs
30:53 – #2: focus (eliminate all irrelevances)
31:29 – task 3: eliminate all irrelevances at your work
33:10 – #3: impute desired characteristics
35:55 – task 4: identify your “imputed characteristics”
37:27 – invest $2 to discover your talent ($9.99 for 5 talents) with Gallup Strengths Center
39:55 – what means talent by Gallup Institute
42:06 – strength = talent + knowledge + skills
43:33 – Clifton’s test
45:05 – 5 talents discovered by Patryk
49:22 – summary
50:46 – recommended books
51:45 – Q&A

Maciej Grabek – Business Requirements in the form of a code: a few words about BDD with SpecFlow

1:25 – Agenda
2:20 – DEMO #0: unit tests – how we do that, and challenges in interaction with business people
5:03 – business requirements and unit tests (BDD)
7:02 – Applying BDD (tools)
9:25 – DEMO #1: simple example (translating behavior description to C# code)
16:53 – DEMO #2: parameters
18:45 – DEMO #3: scopes
23:05 – DEMO #4: parameters table
35:45 – DEMO #5: “before” and “after”
42:19 – summary
46:36 – Q&A

Michał Łusiak – WTF # – what is F # and why you should care

0:41 – Functional programming
4:38 – F# language overview
10:41 – DEMO: variables
14:07 – DEMO: lists
15:59 – DEMO: functions
19:53 – DEMO: pattern matching
21:23 – DEMO: tuples
22:20 – DEMO: record types
23:04 – DEMO: union types
24:01 – DEMO: printing
25:00 – DEMO: using .NET libraries from F#
25:55 – DEMO: unit of measures (“numbers with units” variables)
28:21 – DEMO: type provides (providing types for compiler dynamically)
31:12 – Why use F#
33:18 – Learning resources
38:05 – Recommended F# talks
39:20 – Recommended books
39:58 – summary
40:10 – Q&A