我正在使用一个ASP.NET应用程序,该应用程序使用AspNetSqlMembershipProvider进行身份验证机制。
我正在将应用程序转移到云应用程序,以便在Windows Azure上部署它。
我是否必须更改我使用的身份验证机制或AspNetSqlMembershipProvider将正常工作?
I am working on an ASP.NET application that uses the AspNetSqlMembershipProvider for the authentication mechanism.
I am transferring the application to a cloud application in order to deploy it on windows azure.
Do I have to change the authentication mechanism that I use or will the AspNetSqlMembershipProvider will work normally?
最满意答案
出于部署原因,您无需更改身份验证机制。 只需使本地机器数据库脚本在sql azure数据库上运行即可。 一切都应该与您在本地开发机器上进行身份验证时的工作方式相同。
检查这些链接以了解有关sql身份验证或数据库脚本等的部署:
尝试将Asp.Net Memebership数据库部署到SQL Azure 更新的ASP.net脚本用于Microsoft SQL Azure
安装脚本后,只需更改webconfig中通过数据库提供身份验证的连接字符串。
<connectionStrings> <add name="LocalSqlServer" connectionString="you azure connection string" providerName="Provider..." /> </connectionStrings>You have no need to change the Authentication Mechanism for the reason of deployment. Just make the local machine database scripts to run on the sql azure database. Everything should be work same as you are doing authentication on local development machine.
Check these links to know regarding this deployment of sql authentication or database script etc:
Trying to deploy Asp.Net Memebership database to SQL Azure Updated ASP.net scripts for use with Microsoft SQL Azure
After installing the scripts, just change the connection string in the webconfig that provide the authentication through database.
<connectionStrings> <add name="LocalSqlServer" connectionString="you azure connection string" providerName="Provider..." /> </connectionStrings>windows azure AspNetSqlMembershipProvider(windows azure AspNetSqlMembershipProvider)我正在使用一个ASP.NET应用程序,该应用程序使用AspNetSqlMembershipProvider进行身份验证机制。
我正在将应用程序转移到云应用程序,以便在Windows Azure上部署它。
我是否必须更改我使用的身份验证机制或AspNetSqlMembershipProvider将正常工作?
I am working on an ASP.NET application that uses the AspNetSqlMembershipProvider for the authentication mechanism.
I am transferring the application to a cloud application in order to deploy it on windows azure.
Do I have to change the authentication mechanism that I use or will the AspNetSqlMembershipProvider will work normally?
最满意答案
出于部署原因,您无需更改身份验证机制。 只需使本地机器数据库脚本在sql azure数据库上运行即可。 一切都应该与您在本地开发机器上进行身份验证时的工作方式相同。
检查这些链接以了解有关sql身份验证或数据库脚本等的部署:
尝试将Asp.Net Memebership数据库部署到SQL Azure 更新的ASP.net脚本用于Microsoft SQL Azure
安装脚本后,只需更改webconfig中通过数据库提供身份验证的连接字符串。
<connectionStrings> <add name="LocalSqlServer" connectionString="you azure connection string" providerName="Provider..." /> </connectionStrings>You have no need to change the Authentication Mechanism for the reason of deployment. Just make the local machine database scripts to run on the sql azure database. Everything should be work same as you are doing authentication on local development machine.
Check these links to know regarding this deployment of sql authentication or database script etc:
Trying to deploy Asp.Net Memebership database to SQL Azure Updated ASP.net scripts for use with Microsoft SQL Azure
After installing the scripts, just change the connection string in the webconfig that provide the authentication through database.
<connectionStrings> <add name="LocalSqlServer" connectionString="you azure connection string" providerName="Provider..." /> </connectionStrings>
发布评论