I’ve got a .NET 2.0 class library (web service) that I want to create settings for. However, when I try to create a settings file using the designer, I am unable to set the scope for the settings to User scope.
Does this have something to do with it being a web app? Is there any way I can store some settings easily? I need to store some values like an smtp host url.
That is what ASP.NET Profiles was meant to address. You can still use the Profile object as long as you don’t mind aspNetCompatibilityEnabled=”true” (if you are doing WCF). I think if you’re doing asmx web services, then Profile should be available.