PC Review


Reply
Thread Tools Rate Thread

Deploying 2.0 app on a Service Provider .. Membership Provider

 
 
sloan
Guest
Posts: n/a
 
      2nd Jun 2006

Are there any "gotchas" on deploying the default Membership Provider
(aspnetdb) to a hosting provider?

I'm about to do it.

And how does one get to the "auto configurer" .. that allows you to setup
roles/users .....?

Can I do these steps:

To create a membership user
1.. On the Website menu, click ASP.NET Configuration.

2.. Select the Security tab, click the link to Use the security Setup
Wizard to configure security step by step, and then click Next.

3.. Proceed to Step 2 of the wizard and select the From the Internet
option.

The wizard displays a page where you can select the authentication method
that your Web site will use. This option specifies that your application
will use Forms authentication, where users will log in to the application
using a login page that you will create later in this walkthrough.

4.. Click Next.

The wizard displays a message stating that user information will be stored
using Advanced provider settings. By default, membership information is
stored in a Microsoft SQL Server Express database file in the App_Data
folder of your Web site.



Can this be done remotely .. and to a hosting company's site? (probably,
but i'm asking anyways, thanks)








 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      2nd Jun 2006
sloan,
See this recent article for details on how to set up the providers, as well
as how to configure the providers programmatically:

http://www.eggheadcafe.com/articles/20060529.asp


Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"sloan" wrote:

>
> Are there any "gotchas" on deploying the default Membership Provider
> (aspnetdb) to a hosting provider?
>
> I'm about to do it.
>
> And how does one get to the "auto configurer" .. that allows you to setup
> roles/users .....?
>
> Can I do these steps:
>
> To create a membership user
> 1.. On the Website menu, click ASP.NET Configuration.
>
> 2.. Select the Security tab, click the link to Use the security Setup
> Wizard to configure security step by step, and then click Next.
>
> 3.. Proceed to Step 2 of the wizard and select the From the Internet
> option.
>
> The wizard displays a page where you can select the authentication method
> that your Web site will use. This option specifies that your application
> will use Forms authentication, where users will log in to the application
> using a login page that you will create later in this walkthrough.
>
> 4.. Click Next.
>
> The wizard displays a message stating that user information will be stored
> using Advanced provider settings. By default, membership information is
> stored in a Microsoft SQL Server Express database file in the App_Data
> folder of your Web site.
>
>
>
> Can this be done remotely .. and to a hosting company's site? (probably,
> but i'm asking anyways, thanks)
>
>
>
>
>
>
>
>
>

 
Reply With Quote
 
 
 
 
sloan
Guest
Posts: n/a
 
      2nd Jun 2006
Sweet!

Yeah, you're right...

//quote
3) Do it programmatically: Make a "Setup.aspx" page that uses the
System.Web.Management utility method:

Management.SqlServices.Install("server", "USERNAME", "PASSWORD",
"databasename", SqlFeatures.All)

This does everything that ASPNET_REGSQL does. You'd think they would make it
more obvious that you can do this, given the large number of sites that are
hosted by commercial shared hosting companies, but no, they decided to push
ASPNET_REGSQL as if everybody everywhere automatically has access to it.



That should be the more "advertised' method.



Thanks Peter!






"Peter Bromberg [C# MVP]" <(E-Mail Removed)> wrote in message
news:51ECCFA5-4954-4CDE-B654-(E-Mail Removed)...
> sloan,
> See this recent article for details on how to set up the providers, as

well
> as how to configure the providers programmatically:
>
> http://www.eggheadcafe.com/articles/20060529.asp
>
>
> Peter
>
> --
> Co-founder, Eggheadcafe.com developer portal:
> http://www.eggheadcafe.com
> UnBlog:
> http://petesbloggerama.blogspot.com
>
>
>
>
> "sloan" wrote:
>
> >
> > Are there any "gotchas" on deploying the default Membership Provider
> > (aspnetdb) to a hosting provider?
> >
> > I'm about to do it.
> >
> > And how does one get to the "auto configurer" .. that allows you to

setup
> > roles/users .....?
> >
> > Can I do these steps:
> >
> > To create a membership user
> > 1.. On the Website menu, click ASP.NET Configuration.
> >
> > 2.. Select the Security tab, click the link to Use the security Setup
> > Wizard to configure security step by step, and then click Next.
> >
> > 3.. Proceed to Step 2 of the wizard and select the From the Internet
> > option.
> >
> > The wizard displays a page where you can select the authentication

method
> > that your Web site will use. This option specifies that your application
> > will use Forms authentication, where users will log in to the

application
> > using a login page that you will create later in this walkthrough.
> >
> > 4.. Click Next.
> >
> > The wizard displays a message stating that user information will be

stored
> > using Advanced provider settings. By default, membership information is
> > stored in a Microsoft SQL Server Express database file in the App_Data
> > folder of your Web site.
> >
> >
> >
> > Can this be done remotely .. and to a hosting company's site?

(probably,
> > but i'm asking anyways, thanks)
> >
> >
> >
> >
> >
> >
> >
> >
> >



 
Reply With Quote
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      3rd Jun 2006
You're welcome!

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"sloan" wrote:

> Sweet!
>
> Yeah, you're right...
>
> //quote
> 3) Do it programmatically: Make a "Setup.aspx" page that uses the
> System.Web.Management utility method:
>
> Management.SqlServices.Install("server", "USERNAME", "PASSWORD",
> "databasename", SqlFeatures.All)
>
> This does everything that ASPNET_REGSQL does. You'd think they would make it
> more obvious that you can do this, given the large number of sites that are
> hosted by commercial shared hosting companies, but no, they decided to push
> ASPNET_REGSQL as if everybody everywhere automatically has access to it.
>
>
>
> That should be the more "advertised' method.
>
>
>
> Thanks Peter!
>
>
>
>
>
>
> "Peter Bromberg [C# MVP]" <(E-Mail Removed)> wrote in message
> news:51ECCFA5-4954-4CDE-B654-(E-Mail Removed)...
> > sloan,
> > See this recent article for details on how to set up the providers, as

> well
> > as how to configure the providers programmatically:
> >
> > http://www.eggheadcafe.com/articles/20060529.asp
> >
> >
> > Peter
> >
> > --
> > Co-founder, Eggheadcafe.com developer portal:
> > http://www.eggheadcafe.com
> > UnBlog:
> > http://petesbloggerama.blogspot.com
> >
> >
> >
> >
> > "sloan" wrote:
> >
> > >
> > > Are there any "gotchas" on deploying the default Membership Provider
> > > (aspnetdb) to a hosting provider?
> > >
> > > I'm about to do it.
> > >
> > > And how does one get to the "auto configurer" .. that allows you to

> setup
> > > roles/users .....?
> > >
> > > Can I do these steps:
> > >
> > > To create a membership user
> > > 1.. On the Website menu, click ASP.NET Configuration.
> > >
> > > 2.. Select the Security tab, click the link to Use the security Setup
> > > Wizard to configure security step by step, and then click Next.
> > >
> > > 3.. Proceed to Step 2 of the wizard and select the From the Internet
> > > option.
> > >
> > > The wizard displays a page where you can select the authentication

> method
> > > that your Web site will use. This option specifies that your application
> > > will use Forms authentication, where users will log in to the

> application
> > > using a login page that you will create later in this walkthrough.
> > >
> > > 4.. Click Next.
> > >
> > > The wizard displays a message stating that user information will be

> stored
> > > using Advanced provider settings. By default, membership information is
> > > stored in a Microsoft SQL Server Express database file in the App_Data
> > > folder of your Web site.
> > >
> > >
> > >
> > > Can this be done remotely .. and to a hosting company's site?

> (probably,
> > > but i'm asking anyways, thanks)
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >

>
>
>

 
Reply With Quote
 
sloan
Guest
Posts: n/a
 
      3rd Jun 2006

Peter,

I ran your example .. .and got it up and running just fine.

(one small issue was that the tables were Create Table [Articles] .. .
instead of Create Table dbo.Articles ........ which causes a few issues
until I addressed it)
(I'm at the mercy of my hosting provider on that one)

The setup screen you had worked perfectly, and I saw all the tables get
created in the db.

http://comps.reasolns.com/deploytest...bAdminTool.gif

Take a look at that gif... That's where I'm still unclear on whether or not
you can use that functionality somewhere besides the development
environment.

Thanks for any input.


Sloan

http://comps.reasolns.com/deploytest/ is where I got your demo site working.




"Peter Bromberg [C# MVP]" <(E-Mail Removed)> wrote in message
news:51ECCFA5-4954-4CDE-B654-(E-Mail Removed)...
> sloan,
> See this recent article for details on how to set up the providers, as

well
> as how to configure the providers programmatically:
>
> http://www.eggheadcafe.com/articles/20060529.asp
>
>
> Peter
>
> --
> Co-founder, Eggheadcafe.com developer portal:
> http://www.eggheadcafe.com
> UnBlog:
> http://petesbloggerama.blogspot.com
>
>
>
>
> "sloan" wrote:
>
> >
> > Are there any "gotchas" on deploying the default Membership Provider
> > (aspnetdb) to a hosting provider?
> >
> > I'm about to do it.
> >
> > And how does one get to the "auto configurer" .. that allows you to

setup
> > roles/users .....?
> >
> > Can I do these steps:
> >
> > To create a membership user
> > 1.. On the Website menu, click ASP.NET Configuration.
> >
> > 2.. Select the Security tab, click the link to Use the security Setup
> > Wizard to configure security step by step, and then click Next.
> >
> > 3.. Proceed to Step 2 of the wizard and select the From the Internet
> > option.
> >
> > The wizard displays a page where you can select the authentication

method
> > that your Web site will use. This option specifies that your application
> > will use Forms authentication, where users will log in to the

application
> > using a login page that you will create later in this walkthrough.
> >
> > 4.. Click Next.
> >
> > The wizard displays a message stating that user information will be

stored
> > using Advanced provider settings. By default, membership information is
> > stored in a Microsoft SQL Server Express database file in the App_Data
> > folder of your Web site.
> >
> >
> >
> > Can this be done remotely .. and to a hosting company's site?

(probably,
> > but i'm asking anyways, thanks)
> >
> >
> >
> >
> >
> >
> >
> >
> >



 
Reply With Quote
 
sloan
Guest
Posts: n/a
 
      4th Jun 2006
http://www.code101.com/Code101/Displ...le.aspx?cid=86

The mention of
http://localhost/MyWebSite/Webadmin.axd

is what is throwing me off.

Was that just a beta thing?



"sloan" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>
> Peter,
>
> I ran your example .. .and got it up and running just fine.
>
> (one small issue was that the tables were Create Table [Articles] .. .
> instead of Create Table dbo.Articles ........ which causes a few issues
> until I addressed it)
> (I'm at the mercy of my hosting provider on that one)
>
> The setup screen you had worked perfectly, and I saw all the tables get
> created in the db.
>
> http://comps.reasolns.com/deploytest...bAdminTool.gif
>
> Take a look at that gif... That's where I'm still unclear on whether or

not
> you can use that functionality somewhere besides the development
> environment.
>
> Thanks for any input.
>
>
> Sloan
>
> http://comps.reasolns.com/deploytest/ is where I got your demo site

working.
>
>
>
>
> "Peter Bromberg [C# MVP]" <(E-Mail Removed)> wrote in message
> news:51ECCFA5-4954-4CDE-B654-(E-Mail Removed)...
> > sloan,
> > See this recent article for details on how to set up the providers, as

> well
> > as how to configure the providers programmatically:
> >
> > http://www.eggheadcafe.com/articles/20060529.asp
> >
> >
> > Peter
> >
> > --
> > Co-founder, Eggheadcafe.com developer portal:
> > http://www.eggheadcafe.com
> > UnBlog:
> > http://petesbloggerama.blogspot.com
> >
> >
> >
> >
> > "sloan" wrote:
> >
> > >
> > > Are there any "gotchas" on deploying the default Membership Provider
> > > (aspnetdb) to a hosting provider?
> > >
> > > I'm about to do it.
> > >
> > > And how does one get to the "auto configurer" .. that allows you to

> setup
> > > roles/users .....?
> > >
> > > Can I do these steps:
> > >
> > > To create a membership user
> > > 1.. On the Website menu, click ASP.NET Configuration.
> > >
> > > 2.. Select the Security tab, click the link to Use the security

Setup
> > > Wizard to configure security step by step, and then click Next.
> > >
> > > 3.. Proceed to Step 2 of the wizard and select the From the Internet
> > > option.
> > >
> > > The wizard displays a page where you can select the authentication

> method
> > > that your Web site will use. This option specifies that your

application
> > > will use Forms authentication, where users will log in to the

> application
> > > using a login page that you will create later in this walkthrough.
> > >
> > > 4.. Click Next.
> > >
> > > The wizard displays a message stating that user information will be

> stored
> > > using Advanced provider settings. By default, membership information

is
> > > stored in a Microsoft SQL Server Express database file in the App_Data
> > > folder of your Web site.
> > >
> > >
> > >
> > > Can this be done remotely .. and to a hosting company's site?

> (probably,
> > > but i'm asking anyways, thanks)
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What do I type in the POP box and the SMPT box so I can send and receive emails. My service provider is my service provider is insightbb.com Jerry Oswald Windows Vista Mail 3 16th Jan 2010 07:32 PM
Membership or Role Provider // Provider Model // Factories .. How does MS do it? sloan Microsoft ASP .NET 1 3rd Jul 2007 09:17 PM
membership / role provider in a web service? Smokey Grindle Microsoft ASP .NET 3 8th May 2007 02:52 AM
Custom Membership Provider using Web Service ShepherdWeb Microsoft ASP .NET 0 10th Jan 2007 11:16 PM
Deploying VWD Express App to IIS using SQL Express w/ Membership i =?Utf-8?B?Q2FybCBNLg==?= Microsoft ASP .NET 3 20th Mar 2006 02:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:25 AM.