31. Juli 2007 20:11
von crazy-weasel

MonsterID HttpHandler - Done

English reader? Stay tuned, just a short german intro.. the rest of this posting is written in english (more or less.. Wink ).

So, ich mach hier kurz mal eine deutsche Einleitung, der Rest des Postings wird in Englisch gehalten sein, weil vielleicht ein paar Leute vorbei schauen werden die kein Deutsch können. Wink

Mad Kristensens wrote a nice blog entry about cool projects that don't exist, and one of those projects is an ASP.net HttpHandler implementation of MonsterID. (look here, and here)

So I tried it, and voila here it is. =)

Just copy MonsterID.cs into your App_Code folder, the MonsterID folder into App_Data, register the HttpHandler in your web.config (or just use the MonsterID.ashx file provided) and use it like that:

<img src="MonsterID.ashx?seed=[whatyoulike]&size=[size]" />

Me:

Download MonsterID ASP.net HttpHandler

He said it should be Open Source. So let it be. Wink Mads distributes his blog engine under the Ms-PL, so I thought I will use this license too..

Comments on implementation etc are welcome.. Smile

I hope it's good enough and free of errors,..

Foor a quick look at your monster I will provide a demo page soon..

Edit
Demo page online.. Smile

Edit - 01.08.07
Added little security fix. (size limit.. Wink)

Edit - 03.08.07
Changed the call of Random.Next - Limit was too low..

Bewertung: 5.0 von 1 Benutzern

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (15) | Kommentar RSSRSS comment feed
 
 
 
 

 

  Country flag

biuquote
  • Kommentar
  • Live Vorschau
Loading



 
Clicky Web Analytics