I had previously mentioned that, in my preparation of my future book, I would be posting excerpts on my blog for the world to see. The topic of my book is centered around Software Engineers, and the ideals of a Ronin Software Engineer.
I was playing with Amazon Web Services (AWS) over the weekend, trying out a few things including Amazon S3 for file storage. Unfortunately I could not find a quick and easy way to upload an image and retrieve its URL in single call in the AWS SDK…so I got creative
Continue reading “Uploading a file and getting back its URL with AWS”
Here’s a quick example on how to set and handle timeout on a spawned thread. I hope this helps!
Continue reading “Handling timeout with ThreadPool and ManualResentEvent”
A long time ago, I blogged about using KnockoutJS with ASP.NET MVC. While it was nice and all, this time around I decided to switch it up a bit with Coffeescript
Continue reading “Using Coffeescript with KnockoutJS”
In theses past weeks, I’ve been playing around with NancyFx – a simple web framework a la Ruby Sinatra. So far it has been a joy to use. While I still love ASP.NET MVC, I find myself a bit more appreciative each day of the simplicity of Nancy.
One of the thing that I had set out to do was to build a simple registration module using Forms Authentication for a sample app, and to verify that the authentication worked by trying to access a secured module.
It’s been a long time since I last played with Scala. Being a .Net Samurai, I tend to have a love/hate relationship with the JVM. As I had a couple of hours to kill today, I figured I might as well refresh my Scala knowledge by working on the Coffeeshop problem with Akka.
Continue reading “Playing the Barista with Scala”
At my current job, I had to implement a Scheduling system for our banking clients. The requirement was for it to be pluggable, i.e. it should be able to pickup schedulable items/tasks that their developers or our support team would give it. It had to be secure, and it had to be able to handle long running tasks.
My solution for this was to use Quartz.NET as my Scheduling engine, which I encapsulated inside a windows Service. To access it, my web application would make calls to WCF service hosted inside the Windows Service, which used a UserNamePasswordValidator to prevent unauthorized access to the service. The remaining requirement to meet was that of the schedulable tasks. The solution: MEF.