Can Forms Authentication, Role Management and Data for the WinForm application all work from a single SQL database?
With reference to this Question: Can Forms Authentication, Role Management and Data for the website all work from a single SQL database?, I require a single Database but for WinForm applications. I need Roles and User Management and I'm upgrading a legacy application so Users Table preexists and has some data. I'll need to imp开发者_运维百科ort that data.
Environment: Windows 7 Pro 64-bit, SQL Server 2008 EE, Visual Studio 2010, C#, .NET 4.0, and Windows Forms
Yes, it is completely possible. All you need to do is run the script to register the required tables in your database.
This is easy to do using the ASP.NET SQL Server Registration Tool
The other data tables do not have to follow any specific schema and will not conflict with your ASP.NET tables unless you introduce some problematic data table relationships.
精彩评论