Showing posts with label c#. Show all posts
Showing posts with label c#. Show all posts

Thursday, July 12, 2007

XML Digital Signiture in C#

Why is using DS so hard? No, I'm not talking about the Nintendo DS either.

There's almost nothing online about using this in C#, and the other doc is showing you how to do this in WSE which is what I'm trying to avoid. I've signed the request and sent it, but am trying to validate the response.

Nightmare.

Thursday, May 31, 2007

Filter/Dispatcher pattern for URI handling in .Net

I put together an interesting component of an application recently. It didn't get used in the end, but I liked it none the less. Using the HttpModules in the web.config I was able to get it to act as a filter pattern, intercepting all web requests through the web server. Then using a custom configuration I was able to implement a dispatcher pattern to configurable classes. This resulted in a web site that could catch any requests and process regardless if that page actually existed. It's a nice way to think about implementing a REST friendly web site.