PC Review


Reply
Thread Tools Rate Thread

Authorization and Profile Application block question

 
 
will
Guest
Posts: n/a
 
      6th Feb 2004
Hi all. I'm trying to figure out the Authorization and Profile Application
Block. I'm trying to fold this block into my 3 tier'ed app.
I understand why I need the configuration setting "authorizationProviders", but
I would think it would go in the App.config in the middle app, which is a Class
Library project. Instead, I can only get the block to work when the
configuration settings are in the Web App tier, in web.config. Can anyone
explain this?
Specifically, even though the block code is in the middle app, when I call
Configuration.GetConfig("authorizationProviders")
it tries to get this from Web.config in the web app instead of looking in
App.config from the middle tier project.
Thanks for the help.
 
Reply With Quote
 
 
 
 
Spaliwal
Guest
Posts: n/a
 
      1st Mar 2004
No, this will work in any case. If ur writing some dlls (middle app)
then put the config stuff in dll.config

Regards
Pali

will <(E-Mail Removed)> wrote in message news:<7fTUb.16257$EW.6534@okepread02>...
> Hi all. I'm trying to figure out the Authorization and Profile Application
> Block. I'm trying to fold this block into my 3 tier'ed app.
> I understand why I need the configuration setting "authorizationProviders", but
> I would think it would go in the App.config in the middle app, which is a Class
> Library project. Instead, I can only get the block to work when the
> configuration settings are in the Web App tier, in web.config. Can anyone
> explain this?
> Specifically, even though the block code is in the middle app, when I call
> Configuration.GetConfig("authorizationProviders")
> it tries to get this from Web.config in the web app instead of looking in
> App.config from the middle tier project.
> Thanks for the help.

 
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
UIP Application Block Question Bryan Microsoft Dot NET 0 8th Sep 2005 03:02 PM
Authorization and Profile Block - database quickstart? Bryan Ax Microsoft ASP .NET 0 13th Apr 2004 03:30 PM
Authorization and Profile Application Block Bryan Ax Microsoft ASP .NET 0 30th Mar 2004 08:46 PM
Authorization Application Block =?Utf-8?B?VGVk?= Microsoft Dot NET 0 25th Mar 2004 03:21 PM
New MS Authorization and Profiler Application Block fits only for small applications and examples!! heikekrieg Microsoft Dot NET Framework 0 4th Feb 2004 10:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:48 PM.