ASP.Net set Membership.Provider programatically -


I want to know whether to set the default subscription provider (subscription provider) through a configuration file via code Impossible .

This is not a direct approach to your question. Instead, implement a custom subscription provider, and use the example class to inject the desire class (for example) when running

For example,

  Public override subscription user gateuser (string username, bool user ifline) {var user = IoC.Resolve & lt; IUserService & gt; (). GetUserByU name (user name, userIsOnline); }    

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -