MonsterID HttpHandler - Done

31. Juli 2007 20:11 von crazy-weasel - Blog, Programmierung

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. smiley

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. winkMads distributes his blog engine under the Ms-PL, so I thought I will use this license too..

Comments on implementation etc are welcome.. smiley

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.. smiley

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

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

Ähnliche Beiträge

Kommentare

 Mads Kristensen

Mads Kristensen

01.08.2007 01:23

Wauw, that looks awesome and is damn cool. Just checked out the demo page and it just works. Nice code and good work. Is it ok if I use it in BlogEngine.NET?

 Alexander Schuc

Alexander Schuc

01.08.2007 09:23


Hi.. thank you..

Sure.. would be cool to find it in the next BlogEngine.NET release.. :-)

 Andreas Gohr

Andreas Gohr

02.08.2007 01:16

Great! I added it to the "noteworthy implementations" list at http://www.splitbrain.org/projects/monsterid

 Alexander Schuc

Alexander Schuc

02.08.2007 02:07

Nice, thanks.. :-)

Domenic

Domenic us

05.08.2007 15:56

This is excellent, thank you!

Al Nyveldt

Al Nyveldt us

06.08.2007 01:36

That is very cool. Thanks for doing it.

PS. I love the blog theme as well. I just wish I could read the rest of your site easily. smiley

Alexander Schuc

Alexander Schuc at

06.08.2007 01:53

Hehe..

Nice that you like the theme..
The rest of the blog isnt so interesting wink

trackback

OffBeatMammal

07.08.2007 07:30

Trackback from OffBeatMammal

What have these monsters all got in common?

mk2

mk2 cn

08.08.2007 20:55

Nice, I'm a manster.....Wowowowowowo

trackback

MK2

08.08.2007 21:14

Trackback from MK2

MansterID 和 asp.net HttpHandler for MansterID

Marcus

Marcus de

14.08.2007 17:07

Absolut cool! smiley

Allerdings ändert sich das Monster in der Demo jedes mal wenn man die Groß/Kleinschreibung der Adresse ändert.. also baum@bauM.org kriegt einen anderen Avatar als Baum@baum.org und oder bAum@baum.org.. so kann ja jeder so lange rumprobieren, bis er das Monster seiner Wahl hat, während die Adresse dieselbe bleibt.

Andererseits ist das wohl besser, als die Leute zu zwingen, sich so lange neue Email-Adressen zu registrieren, bis sie eine mit einem schönen Monster haben. :D

Alexander Schuc

Alexander Schuc at

14.08.2007 17:19


Benutze hier im Blog eh den angegebenen Name, und nicht die E-Mail Adresse. (Damit diese nicht preisgegeben wird..)

pingback

mhinze.com

21.08.2007 18:22

Pingback from mhinze.com

11 Links Today (2007-08-21)

pingback

jesscoburn.com

04.10.2007 18:39

Pingback from jesscoburn.com

What kind of monster are you? Using MonsterID comments in your wordpress blog

andrew

andrew pl

25.10.2007 02:02

cool

Kommentar schreiben


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live Vorschau

12.05.2008 02:30