Philip Rieck

Phil in .net

3 impossible things before breakfast...

Okay, I love web modules in asp.net. Here's the new "impossible" thing I did. (I told people I would clean up this code and make an article, but life happens)

With very little effort, I have created a web module to allow someone to mirror a web session. What does that mean? Well, If you mirror my session, then each time I am served up a new page, you get an exact copy of the HTML sent to you. That easy.

It has two clients - a web client, and a winforms client (embedded IE control). The web client is served up by a handler in the code you can get above, and the winforms client (also included) communicates via .net remoting events.

Now, two disclaimers:
  1. The project was a fun exercise, not production code. It's not even done, although it is fully functional. For instance, security wasn't completed. The headers aren't sent (so it won't work with my quick and dirty gzip module), and so on.
  2. It doesn't really need a remoting client - that kind of gets in the way of the rest of the source. But I wanted to try it, and it was my exercise.


It was a very fun project, and quite easy. I love asp.net. I love .net remoting. Man, could I be working with technology that's any cooler? The best thing is, there's a great community to go to for help with asp.net (like ScottGu, Nikhil Kothari, even DatagridGirl, heck, I could list asp.net resources all day..) And a community for help with remoting (Like Ingo Rammer's site on Remoting), and even great resources on .net from the experts on the CLR themselves. Anyone out there not love what they do?

So, one more http module to create that I always wanted in ASP, but couldn't do...

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)