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 August 22nd, 2013, 10:45 PM
Authorized User
 
Join Date: Aug 2013
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default Imar I need your help

I have both beg asp.net 4 and 4.5 but in 4.5 you combined the two databases into one, which is a better approach the coupling or the separation?? Is it about security or what?? Please give me the pros and cons...
Thx
 
Old August 23rd, 2013, 03:57 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

I usualyl merge them as it will make things a lot easier to manage. In addition, it's easier to join data on the membership tables so you can link other data to members in the database.

In the 4 book I merged the two as well, in Appendix B. However, .NET 4.5, with the new membership providers made this a lot easier, so that's why I discussed it in the book and not in an appendix.

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!
 
Old August 23rd, 2013, 04:10 PM
Authorized User
 
Join Date: Aug 2013
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks imar

but which approach is more profesional and better for future expansion, and isnt it as easy as uploading two databases instead of one or is it alot of work??
 
Old August 23rd, 2013, 04:16 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Like I said, I would merge them as it gives you more control. Neither is more professional than the other, but my merging you have less to worry about (less databases to backup, easier deployment, fewer accounts to manage, and so on). In addition, you get more flexibility as you can more easily join related data.

I would only use a separate membership database if I had multiple web applications using the same membership database. In that case, a dedicated database would make a lot of sense.

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
Sys is undefined - Imar Imar Help me!! irProject BOOK: Beginning ASP.NET 4 : in C# and VB 3 March 1st, 2012 07:47 AM
Help needed please Imar leemark2k3 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 June 2nd, 2010 03:15 AM
Imar! help me shankhan Dreamweaver (all versions) 1 March 20th, 2005 05:45 PM
Imar - Please look at this larry Javascript How-To 4 July 8th, 2004 12:28 PM
To Imar: Re: Sub Main shadowpug VB.NET 2002/2003 Basics 1 July 26th, 2003 02:54 PM





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