Archive | C# RSS for this section

Scratching the Itch

A couple of weeks ago I found an article by Ryan Day about implementing the Nasdaq ITCH protocol in python. I was really excited about this because I had always thought the barriers to entry for writing a program relating to the stock market would be very high. Turns out writing an application for stock [...]

Continue Reading

FubuMVC: Redirect and Transfer

Note: As with everything in an open source project (and especially one which is pre-1.0), things may change. I’ll attempt to keep this article up to date or link to updated articles if things change with the usage of FubuContinuation. Sometimes instead of simply rendering a view from your action, I need to redirect the user to another [...]

Continue Reading

FubuMVC: One Model In, One Model Out

A pattern that’s regularly used with FubuMVC is the one model in, one model out pattern. This is also known as OMIOMO and, my personal favorite, the ”thunderdome” pattern. It took me a little while to understand why this pattern is in place and seems to be a gotcha when I come back to FubuMVC after [...]

Continue Reading

FubuMVC: Authorization

When it comes to authorization, FubuMVC is very powerful in letting you setup extremely customizable rules for deciding who has access to what. Luckily, Joshua Arnold was able to help me get these rules setup and I’d like to document the process for everyone else. In this post, I’ll be going over how to write [...]

Continue Reading

FubuMVC: Authentication

If you’re using FubuMVC and your site requires users to login, you’ll probably want to use the built in authentication facilities that FubuMVC provides. In this post, I’ll attempt to explain how this works. I’m going to write an authentication convention to block access to certain actions from unauthenticated users. Overview Come up with a [...]

Continue Reading

Working with Partials in FubuMVC

Today I was working on getting a partial view working properly in FubuMVC and started trying stumbling through it, very unsuccessfully. I ended up reaching out to Joshua Arnold for help with it. I’d like to share it with everyone that might be having trouble with them. The way we’re going to be doing our [...]

Continue Reading

AES/Rijndael Encryption

Looking for AES encryption using Adobe Flex? I get a lot of hits from people searching about how to use AES encryption in an Adobe Flex application. My experience with Adobe Flex has been fairly limited, however I have found this package which should allow you to introduce AES encryption into your application. Please check [...]

Continue Reading

Performance of Different Types of For Loops

In an old post I found online here the author asks how you would go about writing a simple for loop. I was bored tonight, so I wrote a simple program to time several different types of loops to confirm which is the fastest at iterating through a generic list, yes… that bored. My list [...]

Continue Reading

Project 2 — Complete

Finally, we’ve finished our second, and final, project for Projects 1.  Code freeze was tonight and we got it in.  I must say it’s probably the biggest piece of shit I’ve ever had the pleasure of working on, but it’s over.  Seriously, why not use objects in an object oriented programming language?  Classes, who needs [...]

Continue Reading

WoW

I’ve fallen victim to World of Warcraft. I think it can happen to anyone. I play on the Tichondrius (PVP) server. I’m a level 23 Gnome Warlock that goes by the name of Qwik. Look me up, give me some gold, I won’t turn it down. I just recently figured out about the battlegrounds. I [...]

Continue Reading