Display a nice maintenance page for public visitors during deploy in IIS app_offline is a nice and efficient solution for taking an IIS website offline and displaying a message during deploy. However it has some drawbacks, you cannot visit the site yourself, […]
Raspberry Pi to netduino serial communication The Raspberry Pi and Netduino both got their strenghts, but what if they can talk to each other? I did a small proof of concept and got them to do […]
Writing a custom authentication userservice for Roadkill Wiki Here’s how I did it: Create a new class library project. Add a reference to Roadkill.Core.dll and System.Web Create your service as a class that implements Roadkill.Core.Security.UserServiceBase. I found is […]
.Net c# recipes This is just a page where I will add snipplets of .Net c# code that I use now and then. POST data to an URL and read results using WebClient […]
Fixing the transparent ios7 status bar for phonegap and jquery mobile Update 2014-04-24: Using Phongap 3.4.0 this seems to have changed into a plugin. So here’s how to fix it: In config.xml add: <gap:plugin name=”com.phonegap.plugin.statusbar” version=”1.1.0″ /> <preference name=”StatusBarOverlaysWebView” value=”false” /> […]
Emulating hardware with Netduino One incredibly funky thing you can do with the Netduino is to emulate hardware really simple using interfaces and linked files.
Consuming JSON/REST web services with .Net I allways find consuming JSON/REST web services using .Net cumbersome (at least without 3rd part libraries). Not sure why, maybe I’m doing it all wrong. Anyway, here’s a method I […]
Handy .Net CacheUtil Found this handly little .Net cache util that I created once and realized it’s quite nice. It uses generics and Func delegates to solve common caching needs nicely. Instead of […]
Set up log4net for a .Net project One of the things you should always do when setting up a .Net web project is to add the logging suite log4net. I know I do, and every time I’m […]