Blog
RSS / Atom feed: atom.xml-
HTTPS everywhere!
Posted on 2017-02-08
What’s this!? Your trafic to this site is now encrypted! -
NUnit data-driven unit tests
Posted on 2015-09-21
Writing unit tests is fun. But sometimes, getting proper test data gets cumbersome. -
DataContractSerializer, MailAddress and Value Types
Posted on 2015-05-29
In our quest to be fast, we opted to stick a bunch of data inside an XML field in SQL Server with NHibernate. -
Another book I reviewed is available
Posted on 2015-05-11
This winter, I reviewed an introductory book on KnockouJS. -
.NET code coverage with OpenCover and Bamboo
Posted on 2015-05-06
Code coverage is a neat metric to have on a project. It can give you a rough idea of how robust your code is. -
Data driven testing and Excel hate
Posted on 2015-04-29
Testing business rules that have a lot of input, output and permutations is not a fun job. Getting the data in a decent, readable, diffable format is hard as well. -
Testing AngularJS controllers
Posted on 2015-04-26
So I just blogged about writing controllers in TypeScript. Here’s how to write tests for them now. -
TypeScript properties and JSON.stringify
Posted on 2015-04-22
TypeScript supports ECMA 5.1’s properties quite well but it seems it doesn’t play well with JSON.stringify() -
TypeScript controller for AngularJS
Posted on 2015-04-18
AngularJS 1.3 doesn’t have native support for TypeScript like AngularJS 2.0 will have. Here’s a decent way to write them for 1.3. -
Handling SVG is hard
Posted on 2015-04-13
SVG is a pretty neat image format. But it’s not as easy to implement in a web page. -
Contributing to NRules open-source project
Posted on 2015-04-02
We found a bug, we fixed it, we made a pull request! -
AngularJS Unit Testing a Directive
Posted on 2015-03-31
Writing an AngularJS directive is all fun and games until you start fixing bugs. Then regression appear and you look like an idiot. -
AngularJS HTTP Interceptor to set headers
Posted on 2015-03-28
Our new system is built in a distributed way. We have a bunch of services that have a clear responsibility and they are accessible over REST. Here’s how we handle a few headers for calling them in AngularJS. -
ngTable URL state saving
Posted on 2015-03-25
A popular and useful AngularJS plugin, ngTable, doesn’t save its state anywhere by default. Here’s how to fix it. -
AngularJS parsers and formatters
Posted on 2015-03-24
AngularJS’s ngModel directive is pretty neat. It lets you bind data to form controls. It’s also fairly extendable! -
Web API 2 output caching
Posted on 2015-03-20
When building REST APIs, a time comes when you want to cache data. You get more users or your app gets slower because of data accumulation. -
Testing the current date with JavaScript
Posted on 2015-03-19
When you have time-sensitive operations that require using the current date, it’s always a mess to test. -
AngularJS Bootstrap Datepicker
Posted on 2015-03-18
The Twitter bootstrap framework is a great tool to quick-start applications and continue building them in the long term. They even built an AngularJS library to easily integrate the two. -
AngularJS and TypeScript directives
Posted on 2015-03-14
TypeScript has not taken much ground in the AngularJS community yet. Here’s a small tutorial on how to write directives in TypeScript. -
Sharing TypeScript code between projects
Posted on 2015-03-11
In this current project, we are building a distributed system that communicates through REST APIs. We are planning on having multiple web interfaces and yesterday, we started the second one. -
Git, Windows, private keys and the command line
Posted on 2015-03-11
Getting Git to work on Windows is starting to get easier. Especially with GUIs like SourceTree or TortoiseGit. -
Listing bundle files from System.Web.Optimization
Posted on 2015-03-07
System.Web.Optimization is a framework for ASP.NET Web Pages allowing automatic optimisation of static files such as JavaScript and CSS. It can bundle and minify files and it can also use a CDN when available. -
Fluent NHibernate and Persistence Specification
Posted on 2015-03-06
When creating mappings for a Domain with NHibernate and Fluent NHibernate, it’s quite important to test them. Sometimes they’ll fall out of sync after a refactor, sometimes someone else will change a tiny mapping thinking everything will work but breaks everything. -
StructureMap 3 and ASP.NET Web Api 2
Posted on 2015-03-03
The easiest way to integrate StructureMap 3 and ASP.NET Web Api 2 is quite simple. StructureMap has a NuGet package that does it, but it creates 5 new files in a project and doesn’t solve the problem well. -
Testing client-side code in Visual Studio
Posted on 2015-03-02
I had to write unit tests for AngularJS at work. We use Visual Studio and ReSharper for development and it has good support for Jasmine. The tests are written in TypeScript as well, since we like the syntax and compile time safety it offers.
Page: 1 of 2
Next