The curious case of banner468

On one of my websites, I used a css class called "banner468". As the name suggests the original purpose of the class was to hold some ads. I used it for different purpose. From one day to the next, the functionality contained within the banner468, disappeared. It got hidden. Origianlly, I thought, this had something...

Serializing Anonymous DataMemeber

I've been working win MVC Web API and encountered an annoying problem. It does not, by default serialize anonymous data members.

When you try to serialize this kind of data you get this beautiful exception:

Converting anonymous type to a string also caused exception. But there is also JavaScriptSerializer:

Now using getter,...

Overheads in Schedulability Analysis

Despite best efforts there are always some overheads in the system and these must be taken for systems in industrial context: Context switches Interrupts RT clock overheads These overheads vary depending on the priority scheduling model. Here I will show how these could be taken into consideration in Fixed Priority. Context switches are nothing more...

One way object binding in JS

This is something I've been putting together this weekend. Due to the fact, that ASP.NET is quite reluctant to get an array of results, I've devised an alternative way of sending data to the server via Web.API. There are already several large frameworks that handle data-binding like Knockout and AngularJS, but these are rather heavy...

InverseProperty records not being savedin the database

In the code-first approach you can easily save object across multiple tables. This is great. However, today I tried saving an object with a set of other records:

In my controller I had simply:

However, the Items where not actually saved in the database. I just changed IEnumerbale to List and it worked...