Click here to Skip to main content
14,240,210 members

.NET Framework

 
GeneralRe: “Collection was modified; enumeration operation might not execute” inside System.Data.TypedTableBase<> Pin
Gerry Schmitz10-Apr-19 5:39
mveGerry Schmitz10-Apr-19 5:39 
GeneralRe: “Collection was modified; enumeration operation might not execute” inside System.Data.TypedTableBase<> Pin
David A. Gray3-May-19 7:33
groupDavid A. Gray3-May-19 7:33 
GeneralRe: “Collection was modified; enumeration operation might not execute” inside System.Data.TypedTableBase<> Pin
Gerry Schmitz3-May-19 8:48
mveGerry Schmitz3-May-19 8:48 
Questionregarding the cryptarithmatic code in your website Pin
Member 141248901-Apr-19 4:32
memberMember 141248901-Apr-19 4:32 
AnswerRe: regarding the cryptarithmatic code in your website Pin
Richard MacCutchan1-Apr-19 4:42
protectorRichard MacCutchan1-Apr-19 4:42 
QuestionIs there any way to initialize or set values for this declaration as inline statement private IList<MockData<OnlineRegistration, OnlineRegistration, OnlineRegistration>> _registerMocks; Pin
simpledeveloper28-Mar-19 7:18
membersimpledeveloper28-Mar-19 7:18 
AnswerRe: Is there any way to initialize or set values for this declaration as inline statement private IList<MockData<OnlineRegistration, OnlineRegistration, OnlineRegistration>> _registerMocks; Pin
Eddy Vluggen29-Mar-19 2:33
mveEddy Vluggen29-Mar-19 2:33 
QuestionASP.Net 4.5 to ASP.Net core 2.0.1 migration issue of Authentication Pin
geetha naidu24-Mar-19 11:38
membergeetha naidu24-Mar-19 11:38 
Hello Developers, I am new to ASP.Net core 2.0.1, i studied the architecture of Authentication and identification in core framework,i facing some problems during migration, please help. In the Startup.cs file, I am using this piecce of code in ConfigureServices method
app.use(async (context, next) =>
            {
// When the user is already authenticated, check if the session is still alive, if not, log him out.
//do something
await context.Authentication.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
                    await context.Authentication.ChallengeAsync(CookieAuthenticationDefaults.AuthenticationScheme);
//OR 
 await next.Invoke();
}


Now in core, i dont know how to handle these 2 functions for logout

I get NULLREFERENCE Exception
var projectId = context?.Session?.GetInt("Project_Id");
when page is refershed after a while.

Please help me to resolve these issue.
Geetha


modified 25-Mar-19 4:36am.

AnswerRe: Data Science with Python environment setup Pin
Gerry Schmitz8-Mar-19 9:23
mveGerry Schmitz8-Mar-19 9:23 
GeneralRe: Data Science with Python environment setup Pin
Richard MacCutchan8-Mar-19 22:10
protectorRichard MacCutchan8-Mar-19 22:10 
GeneralRe: Data Science with Python environment setup Pin
Gerry Schmitz9-Mar-19 3:04
mveGerry Schmitz9-Mar-19 3:04 
QuestionWPF DataGridComboBoxColumn Binding Issue Pin
Saved By Grace28-Feb-19 4:47
memberSaved By Grace28-Feb-19 4:47 
AnswerRe: WPF DataGridComboBoxColumn Binding Issue Pin
Gerry Schmitz28-Feb-19 10:59
mveGerry Schmitz28-Feb-19 10:59 
AnswerRe: WPF DataGridComboBoxColumn Binding Issue Pin
Saved By Grace28-Feb-19 15:06
memberSaved By Grace28-Feb-19 15:06 
GeneralRe: WPF DataGridComboBoxColumn Binding Issue Pin
Saved By Grace1-Mar-19 9:11
memberSaved By Grace1-Mar-19 9:11 
SuggestionRe: WPF DataGridComboBoxColumn Binding Issue Pin
FLYFLU20-Mar-19 15:30
memberFLYFLU20-Mar-19 15:30 
QuestionCOM Interop with latest .NET Framework Pin
JackMisani19-Feb-19 0:19
memberJackMisani19-Feb-19 0:19 
AnswerRe: COM Interop with latest .NET Framework Pin
Gerry Schmitz19-Feb-19 5:54
mveGerry Schmitz19-Feb-19 5:54 
GeneralRe: COM Interop with latest .NET Framework Pin
JackMisani19-Feb-19 6:29
memberJackMisani19-Feb-19 6:29 
QuestionMSIL: Are there practical uses for writing MSIL code that can't be done in C# Pin
nrnoble18-Feb-19 0:29
membernrnoble18-Feb-19 0:29 
AnswerRe: MSIL: Are there practical uses for writing MSIL code that can't be done in C# Pin
Richard Deeming18-Feb-19 1:19
mveRichard Deeming18-Feb-19 1:19 
QuestionTask based asyn Pin
anilkumar198612-Feb-19 18:50
memberanilkumar198612-Feb-19 18:50 
AnswerRe: Task based asyn Pin
Wastedtalent12-Feb-19 21:21
professionalWastedtalent12-Feb-19 21:21 
GeneralRe: Task based asyn Pin
anilkumar198612-Feb-19 21:37
memberanilkumar198612-Feb-19 21:37 
GeneralRe: Task based asyn Pin
Wastedtalent12-Feb-19 21:48
professionalWastedtalent12-Feb-19 21:48 

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.