There are sample codes on the net for OpenId Client but none for OpenId Server. Do you know some ?
I know about dotnetopenAuth but there seem to be no tut on how to use as OpenId Provider. I don’t even know if it can do that. Maybe it can just be used to create openid consumer app.
You mean like dotnetopenAuth?
There are lots of other implementations for other languages which can be found here (OpenID wiki).