Posts
-
My presentation 'Message-driven architecture with RabbitMQ'.
At 7th March I’ll be speaking at Cheltenham Geek Nights about message-driven architecture with RabbitMQ.
-
RabbitMQ configuration for acceptance tests
In this article I’ll show how to use RabbitMQ exchanges and queues to trace specific messages. This technique can be used for example in acceptance tests.
-
My presentation 'RabbitMQ in OpenTable'.
Today I was speaking at Polish Developers in London meetup about how we use RabbitMQ in OpenTable.
-
JSON.Net and DateTimeOffset
In this article I’ll explore different setting for DateTime serialization in JSON.Net.
-
Using DateTimeOffset
It’s not a secret that
DateTime
structure in .NET is broken. You can find project like NodaTime that aims to fix some of the problems. In OpenTable we have resturants in multiple time zones. So using reservation date and time in form ofDateTime
structure is insufficient. -
Tracking and Visualizing Dependencies Between Projects in TeamCity
Let's imagine, that we have an application which consists of many components. Each component consists of many projects (Visual Studio projects), e.g. Data Access, Data Model, Web, Test, etc. Each project can reference projects in other components. The hierarchy of dependencies can be deep and wide. To speed up the build process, we would like to know which project was changed during the last commit (check-in) and build only this project along with projects one level higher in the hierarchy (projects that reference this one). There is no need to compile project that are lower in the hierarchy, neither the projects that are two or move levels above. The first step to implement this would be to maintain a file which contains list of all the projects in the repository with their dependencies. This file could be used by build scripts to figure out which projects should be build. In this article I'll show how to use Team City to track project dependencies. As an addition I'd like to visualize the dependency tree and display it in Team City. I'll not focus on the other parts, like deciding which projects to run (it will be covered in the next article). -
Getting Things Done technique in MS Outlook
For some time I'm using Getting Things Done technique to manage my emails. Here is an article describing how to setup you Outlook to work with Categories and Search Folders. I'd like to share my impression on that.
-
ASP.NET MVC 4 - Routing Internals (Presentation)
-
ASP.NET MVC 4 - Request Pipeline Internals (Presentation)
Presentation on internals of ASP.NET MVC 4 framework. It mainly contains framework's source code analysis.
ASP.NET MVC 4 source code available here.
-
ASP.NET HTTP Modules and HTTP Handlers
ASP.NET offers two methods for extending standard processing behavior: HTTP modules and HTTP handlers.
-
Inside Areas Registration (How does RegisterAllAreas work in ASP.NET MVC 4)
Recently I've faced the problem with registering the areas. I added new area to my application, but it didn't seem to work. In this article I'll explain how does the areas registration work under the hood and then how I solved my problem.
-
Windows - Check Which Process is Using a File
In this post I'll show how to check which process lock a file. Probably most of us saw this annoying error message "File in Use" while deleting or renaming a file.
-
Integrate QUnit with TeamCity
In this post I'll present how to integrate QUnit test runner with Team City, popular Continous Integration platform. Although, the example project is written in C#, the description is not language spacific. What is more, QUnit test runner is only one step in CI process, which can be used as separate. -
6 Essential JavaScript frameworks for building web apps
Very nice article describing briefly the most important Java Script frameworks for Single Page Aplications (SPA).
-
Best quotes from "Refactoring: Improving the Design of Existing Code"
This post contains the best, in my opinion, quotes from the must-read book "Refactoring: Improving the Design of Existing Code" by Martin Fowler. -
Moq - how to mock a protected method of an internal class with no parameter-less constructor
I this article I'll show how to solve some advanced problems when using Moq. -
What is the difference between Webservice and WCF in .NET?
Short article explaining main differences between WCF and non-WCF web services.
-
jQuery Chosen plugin with Knockout.js binding
Recently I faced the problem with using Knockout.js binding with jQuery Chosen plugin. -
jQuery Best Practices (Code Project)
Very useful article about jQuery Best Practices at Code Project. -
PowerShell Cheat Sheet (3) - Functions, Error Handling, Files
Functions
-
PowerShell Cheat Sheet (2) - Conditions, Loops, Script Blocks
Conditional statements
-
PowerShell Cheat Sheet
Variables
[String]::Format("Some text with {0}", $x) -
.NET Memory management reading
Recently I've decided to get to know internals of memory management in .NET. I've selected few articles. Sorted in recommended reading order.- Memory Management in .NET - Article at Code Project. Brief intoduction to memory management. If you don't know anything about the topic, you should start here.
- .NET Memory Management Basics - Article at Simple Talk. More datailed but very clearly explained. In addition to the previous one, author writes more about garbage collector, types of heaps and static objects.
- The Top 5 .NET Memory Management Misconceptions - Article at Simple Talk
- Under the Hood of .NET Memory Management - free ebook from RedGate
- Garbage Collection - article at MSDN
-
Hanselminutes - Be a better developer in six months
Scott Hanselman in his 72nd podcast tell about the ways to become a better programmer in six months. He mentions few things:
-
6 Ways of Doing Locking in .NET (Pessimistic and Optimistic)
Great post on database locking: 6 Ways of Doing Locking in .NET (Pessimistic and Optimistic)
-
Crystal Reports - Failed to retrive data from the database.
When an error occurs during generation a report, the error message doesn't say much:
Failed to retrieve data from the database.
Details: [Database Vendor Code: 295 ]How to retrive the error message? You have to select from sysmessages table in Sql Server database. In this example:
-
Introduction to Flex
Very nice and easy intorduction to Flex.
-
Null-coalescing and operator precedence
Today I encountered some problem. In one application two values were to be subtracted. In the source code I've found statement:
-
C# TimeSpan Examples
I wanted to write a post in which I describe in detail the TimeSpan class. I have found this great post in which most of things are described.
-
Random DateTime value in C#
Recently I needed a function that return random date. I haven't found anything that meet my needs. I've finally found the article from Tawani's blog which presents rather long function. However, I like to keep things simple, so I decided to write my own.
subscribe via RSS