I've created database wih Application Services objects as described on official website. But when I want to add new user ( using Membership.AddUSer(...)
) default local ASPNETDB.mdf database is created and user data is stored there. I've added connection string to webconfig file and configured database as shown in mentioned tutorial, but it's still not working. Where I can configure membership provider to store data in my production database?
Thanks in advance.
Look at membership section in web.config and set parameter connectionStringName for AspNetSqlMembershipProvider to name of your connection string name.