NancyFX + CORS

Every once in a while you need to have access to a json api from another domain. Thankfully there’s a mechanism to allow this. This Mechanism is called CORS So before any JSON request is allowed a Options requst will be sent to the corresponding ressource and expects a „Access-Control-Allow-Origin“ header to be present. There can…

C# Export Data as XLSX

As I needed to export some data to an xlsx (Excel 2007+) file.I first used the Microsoft OpenXML library called DocumentFormat.OpenXML. At first it looked good but it had some major performance issued while using the object oriented style. I switched over to the OpenXMLWriter (SAX) but this introduced another class of problems like corrupted…

Angular & Copy to Clipboard

I had to implement a copy to clipboard functionality for our Control Panel which lists Orders. Since I’m a total enemy of flash I pursued a solution suitable for my needs and here it is. This is based on http://stackoverflow.com/questions/400212/how-do-i-copy-to-the-clipboard-in-javascript but I removed most of the styling and simply put the textarea outside of the viewport….

Angular and i18n

Well it has been a long while again, but I’ve been crazy busy at work. I worked on a couple of interesting Single Page Applications written with Angular and I really like it because the Framework is so simple to use and very well documented with a crapload of nice plugins and extensions from the…

Hell, It’s time again!

Well it’s a long time since I last postet something here. Sadly i’ve been very busy with work and afterwards just coded for about an hour before going to sleep. So what’s going on you might ask. Ive startet a rewrite of an unfinished project called AMVScore back then. The project startet because a friend…