Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 29th, 2013, 03:40 PM
Friend of Wrox
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default ASP.NET configuration

I was working back through the section in your book on Security, specifically using forms authentication part as a refresher and I have gotten stuck on the concept of the fact that when you use a web site administration tool to create roles and users you end up creating a separate User Instance Database, that is detached from the main database as WSAT tool automatically creates a App.Data folder with an ASPNETDB.mdf file in it in your project explorer. I currently have an application that uses two databases one for the production information and the other for the ASPNETDB.mdf security database. Now the application has to work with two separate databases. Is that a wise choice for a production application? If not then how do you meld the User Instance Database instance with the main database that sits somewhere else outside of the App.Data folder of your web site? Did I miss a step here? Do you need to do this before you deploy to your production server? Can you DTS in SQL Server to meld the two together?

Thanks
:-)

Last edited by vbboyd; October 29th, 2013 at 03:43 PM..
 
Old October 29th, 2013, 03:52 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

If you want to merge existing database, DTS (or SSIS nowadays) is indeed to merge the data. Alternatively, you can use the publishing wizard to export the data.

The last few pages of Appendix B show you how to reconfigure the application to make use of the merged database.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with using ASP.NET Configuration (Chapter 19 Configuring Security: Ex 13) TJinWI BOOK: Beginning Visual C# 2012 2 April 17th, 2014 11:48 AM
Can not access ASP.NET Configuration Tool TashaAT ASP.NET 2.0 Professional 1 November 2nd, 2009 10:22 AM
asp.net 2.0 configuration problem becky ASP.NET 2.0 Basics 2 September 15th, 2006 06:35 AM
ASP.NET Configuration Wizard - How does it work? VictorVictor BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 March 10th, 2006 07:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.