Click here to Skip to main content
15,889,216 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionEncrypting Parameter value from Right Click Source Code Pin
alok00007-Oct-13 0:13
alok00007-Oct-13 0:13 
QuestionHow to bind multiple rows from data table to single row in Gridview Pin
priyaahh6-Oct-13 23:14
priyaahh6-Oct-13 23:14 
Questionhow to increase performance Pin
antony beula6-Oct-13 21:36
antony beula6-Oct-13 21:36 
AnswerRe: how to increase performance Pin
thatraja6-Oct-13 22:54
professionalthatraja6-Oct-13 22:54 
AnswerRe: how to increase performance Pin
ais076-Oct-13 23:00
ais076-Oct-13 23:00 
SuggestionRe: how to increase performance Pin
Richard Deeming7-Oct-13 1:44
mveRichard Deeming7-Oct-13 1:44 
QuestionHow call secure web service using Jquery Pin
ais076-Oct-13 19:41
ais076-Oct-13 19:41 
QuestionPrincipalContext & UserPrincipal Pin
JD866-Oct-13 19:22
JD866-Oct-13 19:22 
I know there is tons on the web about things like remote powershell and UserPrincipal/PrincipalContext being slow but I cannot seem to find the answer to the problem Frown | :-(

Basically my login page authenticates the user against active directory. I am experiencing anywhere between 1-2 minutes on the first try. Each try after that seems to be faster.

What I am doing on authentication is this:

* I use PrincipalContext and call ValidateCredentials
* Using the same PrincipalContext I call UserPrincipal.FindByIdentity (using UserPrincipalName)
* I get the groups the user belongs to and send back to the calling method (using .GetGroups())
* I then create the forms authentication ticket and call Response.Redirect if the user authenticated

Is there a better way to achieve this upon login? I need to be able to authenticate the user and get the user's groups when they login.
QuestionHey Friends..plz help me out... Pin
Member 103122576-Oct-13 18:57
Member 103122576-Oct-13 18:57 
AnswerRe: Hey Friends..plz help me out... Pin
Member 103122576-Oct-13 18:59
Member 103122576-Oct-13 18:59 
AnswerRe: Hey Friends..plz help me out... Pin
Blikkies6-Oct-13 20:27
professionalBlikkies6-Oct-13 20:27 
AnswerRe: Hey Friends..plz help me out... Pin
ais076-Oct-13 20:39
ais076-Oct-13 20:39 
SuggestionRe: Hey Friends..plz help me out... Pin
Richard Deeming7-Oct-13 1:33
mveRichard Deeming7-Oct-13 1:33 
AnswerRe: Hey Friends..plz help me out... Pin
Richard Deeming7-Oct-13 1:38
mveRichard Deeming7-Oct-13 1:38 
AnswerRe: Hey Friends..plz help me out... Pin
blachsmith7-Oct-13 22:54
blachsmith7-Oct-13 22:54 
AnswerRe: Hey Friends..plz help me out... Pin
CIKolkataDeveloper10-Nov-13 22:40
CIKolkataDeveloper10-Nov-13 22:40 
QuestionEmbed an Image in a Datagrid Pin
JCotter4-Oct-13 2:48
JCotter4-Oct-13 2:48 
Question301 redirect on IIS. Redirect non-www to www Pin
jokertin924-Oct-13 1:47
jokertin924-Oct-13 1:47 
AnswerRe: 301 redirect on IIS. Redirect non-www to www Pin
Richard Deeming4-Oct-13 2:00
mveRichard Deeming4-Oct-13 2:00 
QuestionEnable / Disable Regular Expression Validator based on Dropdownlist selection Pin
priyaahh3-Oct-13 21:15
priyaahh3-Oct-13 21:15 
AnswerRe: Enable / Disable Regular Expression Validator based on Dropdownlist selection Pin
Blikkies3-Oct-13 22:02
professionalBlikkies3-Oct-13 22:02 
AnswerRe: Enable / Disable Regular Expression Validator based on Dropdownlist selection Pin
Ajay_Saini5-Oct-13 6:37
Ajay_Saini5-Oct-13 6:37 
AnswerRe: Enable / Disable Regular Expression Validator based on Dropdownlist selection Pin
www.Developerof.NET5-Oct-13 8:02
www.Developerof.NET5-Oct-13 8:02 
QuestionEntity Framework - NVarchar data type update issue Pin
Ganesan Marappan3-Oct-13 3:36
Ganesan Marappan3-Oct-13 3:36 
QuestionUse CMS (umbraco) or build from scratch Pin
dahund3-Oct-13 1:34
dahund3-Oct-13 1:34 

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.