Sending emails problem()
Hi, Iam preparing a small interview email project in VS2015-Asp.net with c#. But the same project works well in Windows Forms. But when I try to send from WebForms its' giving error like " The SMTP...
View ArticleFormsAuthenticationTicket Error
I get below error while trying to open page, but error disappears once i clear my browser data. The error always occur when am already login and tries to lunch another application.if (authCookie !=...
View ArticleHow to get simple username in Google login to my ASP.Net Site
I have created a standard ASP.Net site using VS2017 template and add external login using Google and Microsoft. It was a success. When users first login this way, they will be asked to key in an Alias....
View ArticleSecure Password Recovery Method
What is the preferred method for securely recovering a user password? The password recovery control seems very insecure because it emails the password to the user. The only way i can think of is to...
View ArticleThis server accepts the RC4 cipher, which is weak. Grade capped to B. Any...
Hi Guys,I Ran a check on ssllabs site and got this:This server accepts the RC4 cipher, which is weak. Grade capped to B. Any idea how to fix this on my windows server 2003 iis 6 ?Thanks & Regards....
View ArticleThis server supports insecure cipher suites (see below for details). Grade...
Hi Guys,I Ran a check on ssllabs site and got this:- This server supports insecure cipher suites (see below for details). Grade set to F.- This server supports 512-bit export suites and might be...
View ArticleUnable to read the MachineKeySessionSecurityTokenHandler SessionSecurityToken...
In my project setup, i don't have an Identity Provider, instead, I use one of the cookie value set by our internal system for authentication and transform that values as Claims Identity.Once the Claims...
View ArticleFederatedAuthentication.SessionAuthenticationModule is Null always
I am trying to set the authentication cookie using the SessionAuthenticationModule by accessing it via FederatedAuthentication. However, the below code path always throws null on...
View ArticleUnable to login with special Characters like (,%,!
One of the users of our application have registered with the username (%943xsqqtr!He was able to register successfully, but when he logins with the above username, it throws error.In our application we...
View ArticleMayweather vs Mcgregor Live Fight Watch online Free
Mayweather, 40, will outperform kindred American Rocky Marciano's ideal record of 49 battles without annihilation should he conquerMayweather vs McGregor .In any case, Lewis disclosed to BBC Radio 5...
View ArticleOWIN OpenIdConnect - multiple OpenIdConnect authentication servers.
Is it possible to configure multiple OpenIDConnect servers in OWIN?In other words, is it possible to call this twice (with two different sets of input):app.UseOpenIdConnectAuthentication( new...
View ArticleOWIN Website Performance Testing
Hi, I am a newbie to Load testing and OWIN Authentication.Recently we converted our site to use OWIN authentication instead of Forms Authentication which broke our load test scripts.I ran load test...
View ArticleAuthorize attribute not working
I have an ASP.NET MVC (version 5.2.3) web application using Individual User Accounts and .NET Framework 4.5.1. For some reason the Authorize attribute on my controller classes no longer works. I can...
View ArticleHow to implement a simple REST service to create and then validate OAuth2 tokens
My .NET web application needs to allow access to a 3rd-party server for push notifications. I want to create, at a minimum, 2 REST methods. The first one will be called by the 3rd-party app every time...
View ArticleIs it possible to link ID's from different database to AspNetUsers?
Hi!I'm working on an ASP.NET MVC app and use a database which holds records of all our employees. Currently I'm trying to implement a time management system so they should be able to login to the app...
View ArticleIndividual User Registered Items in Database ASP.NET Core 2.0 Razor Pages
So I am looking at having multiple lists in my site I want the individual users to be able to create a delete items in these lists, but I only want them to be able to create and delete their own item,...
View ArticleHow to confirm that user is accessing the form for first time
Hi All,last week I had an interview. The interviewer asked me one question that How would you know that a user is accessing a form for first time?Or you can say that how will you confirm that the user...
View Articleasp.net web sites giving 401 in Chrome and not IE
I have sites on our development server that worked a week ago but now have stopped working on Chrome. All of these sites have Windows Authentication = True and Anonymous = False. I can get into every...
View Articleaspnetcore identity V2 ConfirmEmailAsync always fails
I just updated our .Net Core web application from V1.1 to V2.0. After making the necessary changes to accommodate namespace changes, etc., I started testing. Registration and Login via OAuth...
View ArticleDisplay error in ASP.NET MVC app rather than going to log in screen when user...
Is there a way to display an error (pop-up such as as Javascript Alert box) in an ASP.NET MVC 5 app rather than having the app just go to the login screen when a user doesn't have the proper...
View Article