Click here to Skip to main content
15,892,797 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How do I check if the application pool is running in 32 or 64-bits? Pin
Pete O'Hanlon9-Feb-12 23:35
mvePete O'Hanlon9-Feb-12 23:35 
GeneralRe: How do I check if the application pool is running in 32 or 64-bits? Pin
Jörgen Andersson9-Feb-12 23:43
professionalJörgen Andersson9-Feb-12 23:43 
QuestionArchitecture help Pin
Ramkumar_S9-Feb-12 16:52
Ramkumar_S9-Feb-12 16:52 
AnswerRe: Architecture help Pin
Abhinav S9-Feb-12 20:37
Abhinav S9-Feb-12 20:37 
AnswerRe: Architecture help Pin
farogh haider14-Feb-12 0:56
farogh haider14-Feb-12 0:56 
QuestionIsUserInRole too slow - ASP.NET Pin
sharp_k9-Feb-12 3:17
sharp_k9-Feb-12 3:17 
AnswerRe: IsUserInRole too slow - ASP.NET Pin
OriginalGriff9-Feb-12 3:44
mveOriginalGriff9-Feb-12 3:44 
AnswerRe: IsUserInRole too slow - ASP.NET Pin
DaveAuld9-Feb-12 4:09
professionalDaveAuld9-Feb-12 4:09 
Are you trying to determine if the current logged in user is in a role, i.e. for customising a page view?

Have you tried using User.IsInRole against Roles.IsUserInRole?

Don't know what you are doing, but the User. method should not need to iterate the entire user list (unless the inner working of the membership provides end up doing the same thing).
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn

Folding Stats: Team CodeProject


GeneralRe: IsUserInRole too slow - ASP.NET Pin
sharp_k9-Feb-12 5:04
sharp_k9-Feb-12 5:04 
GeneralRe: IsUserInRole too slow - ASP.NET Pin
DaveAuld9-Feb-12 6:38
professionalDaveAuld9-Feb-12 6:38 
GeneralRe: IsUserInRole too slow - ASP.NET Pin
sharp_k9-Feb-12 7:05
sharp_k9-Feb-12 7:05 
GeneralRe: IsUserInRole too slow - ASP.NET Pin
sharp_k9-Feb-12 7:11
sharp_k9-Feb-12 7:11 
GeneralRe: IsUserInRole too slow - ASP.NET Pin
DaveAuld9-Feb-12 7:53
professionalDaveAuld9-Feb-12 7:53 
Generalanswers inside Pin
sharp_k9-Feb-12 8:29
sharp_k9-Feb-12 8:29 
QuestionAbout Gridview Pin
Amit_9-Feb-12 1:56
Amit_9-Feb-12 1:56 
AnswerRe: About Gridview Pin
Abhinav S9-Feb-12 20:38
Abhinav S9-Feb-12 20:38 
QuestionHow to secure a .ASHX-Request? Pin
softwarejaeger8-Feb-12 1:25
softwarejaeger8-Feb-12 1:25 
QuestionWCF Service Pin
Satish_S8-Feb-12 1:22
Satish_S8-Feb-12 1:22 
AnswerRe: WCF Service Pin
Wes Aday8-Feb-12 3:05
professionalWes Aday8-Feb-12 3:05 
Questionweb mobile application Pin
tek 20097-Feb-12 22:45
tek 20097-Feb-12 22:45 
AnswerRe: web mobile application Pin
David Mujica8-Feb-12 3:33
David Mujica8-Feb-12 3:33 
GeneralRe: web mobile application Pin
tek 20098-Feb-12 7:30
tek 20098-Feb-12 7:30 
GeneralRe: web mobile application Pin
Bernhard Hiller8-Feb-12 20:42
Bernhard Hiller8-Feb-12 20:42 
GeneralRe: web mobile application Pin
tek 20099-Feb-12 0:26
tek 20099-Feb-12 0:26 
QuestionjQuery Autocomplete Failed Pin
awedaonline7-Feb-12 20:20
awedaonline7-Feb-12 20:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.