Specifically, I need to validate the incoming X.509 security certificate against a database to allow access to my web service. In order to do this, I need to get a copy of the certificate sent from the client. I think I know how to do that, if I can figure out how to get access to the http Request object -- an intrinsic ASP.NET object.
I found the following code that describes how to create a component that will do this, and how to load it in the code-behind for the Page Load event on an aspx page. That's great, I learned a lot from the article, but it still doesn't address my problem -- there is no web page, so no page load event.
HOW TO: Access ASP.NET Intrinsic Objects from .NET Components by Using Visual C# .NET http://support.microsoft.com/kb/810928
I am using C# and .NET 3.5, but I am not using the advanced coding features of C# (lambdas, extension methods, etc). I just haven't put in the time to learn how to use them yet...
Any tips, pointers, sample code would be much appreciated. Thanks, Dave