Is it appropriate to use the .NET Uri class to handle OpenId identifiers in my code? Or am I better off just using a string?
EDIT: The reason for my question is that I want to know the best data type to use for OpenId identifiers in the domain and persistence layers of my application. I'm using DotNetOpenAuth at the web presentation layer, so it makes sense to use the DotNetOpenAuth Identifier
class there.
At the lower tiers of my application, I'd like to limit dependencies on external libraries and datatypes if possible. So I was wondering whether System.Uri was up to the job.