Blog

My blog is hosted by wordpress. Visit coding4life.wordpress.com for more information.

sessionStorage and localStorage not working in Internet Explorer 10

published on Saturday, November 23, 2013 by akzent

I stumbled over an interesting issue when testing the web storage support in Internet Explorer 10 (localStorage and sessionStorage). Basically, when loading an HTML document from the local drive without using a web server (file:// protocol), these features are not working in Internet Explorer 10. When you run the following code in Internet Explorer 10: […]

Read more...

Resizing a WPF control while maintaining a specific aspect ratio

published on Monday, October 15, 2012 by akzent

When you are developing a Windows Presentation Foundation (WPF) application you have a lot of options to layout your controls automatically. Builtin panels like the Grid, the DockPanel or the StackPanel allows for flexible layouts. There is also the Viewbox decorator control which scales it child while (optionally) preserving its aspect ratio. The disadvantage of […]

Read more...

Making Cross-Domain Calls in SignalR

published on Friday, March 30, 2012 by akzent

I saw this stack overflow post today on how to use SignalR across domains: http://stackoverflow.com/questions/9751157/signalr-accross-domains Since I wanted to try out SignalR anyway I thought it would be a nice way to get started and see if I can solve the problem and write a small tutorial on how to do it. The first step […]

Read more...

Creating an URL to a WebAPI ApiController inside an ASP.NET MVC View

published on Tuesday, March 27, 2012 by akzent

Introduction Today I was trying to add some dynamic content to my new IT consulting website. My website is based on ASP.NET MVC, but I needed to load some dynamic content in one part of the page and I thought I would try out the new ASP.NET WebAPI framework for this. Problem Creating the ApiController […]

Read more...

Akzente.IT – New web site online!

published on Thursday, March 22, 2012 by akzent

My new web site at akzente.IT is online! You will find some more information about me and my projects there. My goals for the web page were twofold. First of all I wanted to have a nice virtual “business card” – a place where I can present myself to potential employers with a list of […]

Read more...

Generate Entity-Framework DDL-Script for SQLite

published on Sunday, April 17, 2011 by akzent

By default the Entity Framework designer for Visual Studio only generates DDL Scripts for Microsoft SQL Server (CE). However you can change the template file (.tt) which is used to generate the SQL statements. Just click on empty space in the designer and take a look in the property sheet window. The default template is […]

Read more...

Allowing cross-domain access from Silverlight to a standalone WCF-Service

published on Saturday, March 12, 2011 by akzent

Introduction Silverlight by default only let’s you access services which come from the same domain as the domain that served the Silverlight control. This guards against some types of security vulnerabilities. A service can however opt-in to allow calls from Silverlight controls hosted on other domains. To do this a service has to provide a […]

Read more...

Increasing the maximum item count of a feed in the Windows Feeds Engine

published on Monday, September 14, 2009 by akzent

This post mainly serves as a reminder for myself, because after each reinstall of Windows I have to search for this all over again and it is not very easy to find. By default the Windows Feeds Engine stores only a limited amount of items per feed (200). You can only increase this limit up […]

Read more...

Hello world!

published on Friday, July 7, 2006 by akzent

Hey, my name is Thomas Krause and I will blog some random thoughts here about C#, programming in general and some other technology related stuff. My native language is german, but my plan is to blog mainly in englisch, so just forgive me for my grammar mistakes and don’t hesistate to correct me.

Read more...