Home All Groups Group Topic Archive Search About

What is the database "standard" in 2.0?

Author
12 Jan 2006 9:54 PM
VB Programmer
If you want to store custom tables in ASP.NET 2.0, such as Products,
Companies, Shopping Carts, etc... where is the standard place to put the
tables?  I want to link it to the user/membership tables. BUT, is it "ok" or
the standard practice to go ahead and use the ASPNETDB.mdf to store your own
tables?

Author
13 Jan 2006 12:26 AM
Steve C. Orr
For small web sites the solution you've specified is fine.
Larger web sites will likely have their own database, in which case the
membership table either remain in a separate database or the SQL scripts are
run to include the tables in the site's main database.

--
I hope this helps,
Steve C. Orr
MCSD, MVP
http://Steve.Orr.net



Show quoteHide quote
"VB Programmer" wrote:

> If you want to store custom tables in ASP.NET 2.0, such as Products,
> Companies, Shopping Carts, etc... where is the standard place to put the
> tables?  I want to link it to the user/membership tables. BUT, is it "ok" or
> the standard practice to go ahead and use the ASPNETDB.mdf to store your own
> tables?
>
>
>
>
Are all your drivers up to date? click for free checkup

Author
13 Jan 2006 3:06 AM
VB Programmer
Excellent response!

Now, if I deploy a ASPNETDB.mdf with custom tables, etc..., if I LATER add a
table, or field, etc...  what is the best way to update the database without
losting current data?  Is Enterprise Manager the tool I can use?  If so,
what password do I use to get into the ASPNETDB.mdf?  I tried with 'sa' (no
password) with no success.

(I have MSDN Universal account so might have access to other tools you
recommend.)

Thanks!
Robert

Show quoteHide quote
"Steve C. Orr" <St***@Orr.net> wrote in message
news:2AC76A85-C1B3-40C9-8056-4294C6101277@microsoft.com...
> For small web sites the solution you've specified is fine.
> Larger web sites will likely have their own database, in which case the
> membership table either remain in a separate database or the SQL scripts
> are
> run to include the tables in the site's main database.
>
> --
> I hope this helps,
> Steve C. Orr
> MCSD, MVP
> http://Steve.Orr.net
>
>
>
> "VB Programmer" wrote:
>
>> If you want to store custom tables in ASP.NET 2.0, such as Products,
>> Companies, Shopping Carts, etc... where is the standard place to put the
>> tables?  I want to link it to the user/membership tables. BUT, is it "ok"
>> or
>> the standard practice to go ahead and use the ASPNETDB.mdf to store your
>> own
>> tables?
>>
>>
>>
>>
Author
13 Jan 2006 6:27 AM
Steve C. Orr [MVP, MCSD]
Check this out:
http://www.microsoft.com/downloads/details.aspx?FamilyID=c039a798-c57a-419e-acbc-2a332cb7f959&displaylang=en

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"VB Programmer" <d***@emailme.com> wrote in message
news:eAeUe5%23FGHA.644@TK2MSFTNGP09.phx.gbl...
> Excellent response!
>
> Now, if I deploy a ASPNETDB.mdf with custom tables, etc..., if I LATER add
> a table, or field, etc...  what is the best way to update the database
> without losting current data?  Is Enterprise Manager the tool I can use?
> If so, what password do I use to get into the ASPNETDB.mdf?  I tried with
> 'sa' (no password) with no success.
>
> (I have MSDN Universal account so might have access to other tools you
> recommend.)
>
> Thanks!
> Robert
>
> "Steve C. Orr" <St***@Orr.net> wrote in message
> news:2AC76A85-C1B3-40C9-8056-4294C6101277@microsoft.com...
>> For small web sites the solution you've specified is fine.
>> Larger web sites will likely have their own database, in which case the
>> membership table either remain in a separate database or the SQL scripts
>> are
>> run to include the tables in the site's main database.
>>
>> --
>> I hope this helps,
>> Steve C. Orr
>> MCSD, MVP
>> http://Steve.Orr.net
>>
>>
>>
>> "VB Programmer" wrote:
>>
>>> If you want to store custom tables in ASP.NET 2.0, such as Products,
>>> Companies, Shopping Carts, etc... where is the standard place to put the
>>> tables?  I want to link it to the user/membership tables. BUT, is it
>>> "ok" or
>>> the standard practice to go ahead and use the ASPNETDB.mdf to store your
>>> own
>>> tables?
>>>
>>>
>>>
>>>
>
>
Author
13 Jan 2006 1:30 PM
VB Programmer
Thanks once again Steve!

Show quoteHide quote
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OLgX3pAGGHA.3064@TK2MSFTNGP10.phx.gbl...
> Check this out:
> http://www.microsoft.com/downloads/details.aspx?FamilyID=c039a798-c57a-419e-acbc-2a332cb7f959&displaylang=en
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "VB Programmer" <d***@emailme.com> wrote in message
> news:eAeUe5%23FGHA.644@TK2MSFTNGP09.phx.gbl...
>> Excellent response!
>>
>> Now, if I deploy a ASPNETDB.mdf with custom tables, etc..., if I LATER
>> add a table, or field, etc...  what is the best way to update the
>> database without losting current data?  Is Enterprise Manager the tool I
>> can use? If so, what password do I use to get into the ASPNETDB.mdf?  I
>> tried with 'sa' (no password) with no success.
>>
>> (I have MSDN Universal account so might have access to other tools you
>> recommend.)
>>
>> Thanks!
>> Robert
>>
>> "Steve C. Orr" <St***@Orr.net> wrote in message
>> news:2AC76A85-C1B3-40C9-8056-4294C6101277@microsoft.com...
>>> For small web sites the solution you've specified is fine.
>>> Larger web sites will likely have their own database, in which case the
>>> membership table either remain in a separate database or the SQL scripts
>>> are
>>> run to include the tables in the site's main database.
>>>
>>> --
>>> I hope this helps,
>>> Steve C. Orr
>>> MCSD, MVP
>>> http://Steve.Orr.net
>>>
>>>
>>>
>>> "VB Programmer" wrote:
>>>
>>>> If you want to store custom tables in ASP.NET 2.0, such as Products,
>>>> Companies, Shopping Carts, etc... where is the standard place to put
>>>> the
>>>> tables?  I want to link it to the user/membership tables. BUT, is it
>>>> "ok" or
>>>> the standard practice to go ahead and use the ASPNETDB.mdf to store
>>>> your own
>>>> tables?
>>>>
>>>>
>>>>
>>>>
>>
>>
>
>
Author
13 Jan 2006 1:39 PM
VB Programmer
I don't know which username was selected by default.  I never remember
selecting one and have already uploaded the ASPNETDB.MDF to the site here:
http://www.MySite.com/App_data/aspnetdb.mdf

How would I connect to it?

Thanks.

Show quoteHide quote
"VB Programmer" <d***@emailme.com> wrote in message
news:eD1NHWEGGHA.1032@TK2MSFTNGP11.phx.gbl...
> Thanks once again Steve!
>
> "Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
> news:OLgX3pAGGHA.3064@TK2MSFTNGP10.phx.gbl...
>> Check this out:
>> http://www.microsoft.com/downloads/details.aspx?FamilyID=c039a798-c57a-419e-acbc-2a332cb7f959&displaylang=en
>>
>> --
>> I hope this helps,
>> Steve C. Orr, MCSD, MVP
>> http://SteveOrr.net
>>
>>
>> "VB Programmer" <d***@emailme.com> wrote in message
>> news:eAeUe5%23FGHA.644@TK2MSFTNGP09.phx.gbl...
>>> Excellent response!
>>>
>>> Now, if I deploy a ASPNETDB.mdf with custom tables, etc..., if I LATER
>>> add a table, or field, etc...  what is the best way to update the
>>> database without losting current data?  Is Enterprise Manager the tool I
>>> can use? If so, what password do I use to get into the ASPNETDB.mdf?  I
>>> tried with 'sa' (no password) with no success.
>>>
>>> (I have MSDN Universal account so might have access to other tools you
>>> recommend.)
>>>
>>> Thanks!
>>> Robert
>>>
>>> "Steve C. Orr" <St***@Orr.net> wrote in message
>>> news:2AC76A85-C1B3-40C9-8056-4294C6101277@microsoft.com...
>>>> For small web sites the solution you've specified is fine.
>>>> Larger web sites will likely have their own database, in which case the
>>>> membership table either remain in a separate database or the SQL
>>>> scripts are
>>>> run to include the tables in the site's main database.
>>>>
>>>> --
>>>> I hope this helps,
>>>> Steve C. Orr
>>>> MCSD, MVP
>>>> http://Steve.Orr.net
>>>>
>>>>
>>>>
>>>> "VB Programmer" wrote:
>>>>
>>>>> If you want to store custom tables in ASP.NET 2.0, such as Products,
>>>>> Companies, Shopping Carts, etc... where is the standard place to put
>>>>> the
>>>>> tables?  I want to link it to the user/membership tables. BUT, is it
>>>>> "ok" or
>>>>> the standard practice to go ahead and use the ASPNETDB.mdf to store
>>>>> your own
>>>>> tables?
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>>
>
>

Bookmark and Share