The required anti-forgery form field __RequestVerificationToken is not present
Im getting this error<b> Exception Details: </b>System.Web.Mvc.HttpAntiForgeryException: The required anti-forgery form field "__RequestVerificationToken" is not...
View ArticleUser Authentication in web.config
<?xml version="1.0" encoding="utf-8"?><!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433...
View ArticleAsp.net identity 2.x cross domain
Hi all is it identity support cross domain ? client : http://www.abc.com webapi server : http://www.xyz.com server already enable cross domain var cors = new EnableCorsAttribute("*", "*", "*");...
View ArticleWhy does windows warn on solution files that are emailed to my PC?
Suppose someone sends me his asp.net project via email to my PC. I unzip it, and try to compile it, and get a warning from Visual Studio that the solution did not originate on my PC, and might run a...
View ArticleHelp me complete Login to active directory:
Hi, please advise am I on the right track for LDAP querying?I have implemented the code from Chris Schiffhauer http://www.schiffhauer.com/mvc-5-and-active-directory-authentication/ but i am not sure on...
View ArticleASP.NET Impersonation with Windows Auth Works in DEV but not PROD
Ok, I have to admit I am a little bit confused here so maybe one of you can help me. What I'm doing in my app is capturing the windows username and using that to personalize the app plus if an error...
View ArticleAugmenting membership user creation functionality
Dear All,As its well known that membership create user functionality lacks a lot of user details that someone might need to store. I am presenting my work around it and I need your expert opinion, ( I...
View ArticleActive Directory Groups and Roles with AD FS Single Sign On
Hello,This is my first site in VS and a newbie to any type of code. I have created a site where SSO is enabled and working as expected. The user is redirected from my project URL to the SSO login and...
View ArticlePrevent direct access of css image and javascript files
HiI have developed application in ASP.NET MVC and deployed the same application on AZURE Web APP.In the application there are three different folders with relevant files such as-...
View ArticleWSAT Security Tab Error
Can't access the security tab of WSAT. I get the following error.There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient...
View Articlehow deactivate "Error executing child request" in web.config
hihow deactivate "Error executing child request" in web.configthis ERROR happens when Execute Page or Transfer Page in ASP.NET
View ArticleMedium Trust Level application
One of my web based application on .net was developed on full trust level environment for dedicated server hosting.Now, I have to move my application on shared hosting who does not provide the full...
View ArticleReplacement for LdapFilterEncode
Hi,currently we are using Microsoft.Security.Application.Encoder.LdapFilterEncode but now we want to move to some alternative as AntiXSS library is deprecated by microsoft.Thanks,
View ArticleTwo Factor Authentication
Hello.I have created a Website on Microsoft Visual Studio 2017. They Web app is just to demonstrate to somebody so there isn't a need to publish it on Azure.I am using MVS's original template of...
View ArticleExternal login error ASP Identity C#
I have a standard ASP web app using standard ASP Identity. I cannot seem to authenticate with facebook I keep getting this error:URL Blocked: This redirect failed because the redirect URI is not...
View ArticleHow to authenticate user with username & password using ADFS 3.0 or LDAP...
Dear All, I'd the latest project which communicates ADFS/LDAP remote server to authenticate username and password of Domain users. During the authorization, need to get all information about the...
View ArticleWhich field should I use to isolate logged in user's records?
Environment .Net 4.5.2 in VS 2015I'm using the Web Forms template with Individual User Accounts for authentication.So if I want to make sure a user is presented with only her records when logged in,...
View ArticleMVC/Word press SSO
I have an existing site that has implemented user management, and I am standing up a wordpress site for forums. I need Single Sign On (SSO) between the two sites. Researching WordPress it appears that...
View ArticleHow do I customize ASP.NET Identity for my requirement
I need to perform authentication for my MVC application. The database has been defined but without any User schema. My requirement is to use only theUser and Role table.Being new to ASP.NET Identity,...
View Article