Customizing Registration form in Visual Studio 2013 using Asp.net Identity...
Hi All,I am using Visual Studio 2013 and I am trying to extend the default registration logic in order to add a Name and a Last Name.I am using a web form project and the only documentation I can find...
View ArticleAccess roles in nested group
I want to see if the current user is in the group "B_Group" (which this Group is in the Group "A_Group").I used the code below:if(Roles.IsUserInRole(@"A_Group\B_Group"))but it does not find the user...
View ArticleCan you decrypt an encrypted password
Hi,For most of my recent web applications I have used ASP Membership and found it works quite well. Was looking at examples where you can implement your own security. The thing I like about ASP...
View ArticleExtending ApplicationUser and switching existing entries' types
Hello, guys! I got stuck with this problem and I don't know how to solve it:My application allows players to sign up, so I have an class Player defined as[Table("Players")] public class Player :...
View ArticleIssue with profiles
Back again with another question for your learned ones. I am having trouble implementing a profile system for my project. I have successfully implemented authentication, roles and membership, however...
View Articlea Small problem in redirect authenticated user from login page
Hi,in my web project, I've directed authenticated users with membership method.but now I want do it manually. but I have roles yet. when I want redirect authenticated user to his profile app use...
View ArticleGenerateEmailConfirmationTokenAsync throws No IUserTokenProvider is registered.
There are examples that use this:string code = await UserManager.GenerateEmailConfirmationTokenAsync(user);But that throws an error:System.NotSupportedException: No IUserTokenProvider is...
View ArticleDifference between Encryption and Hashing
Dear,I am going through the differences between Encryption and Hashing and i got confused for the following,(1) is Md5 and sha1 are Encryption algorithms or Hashing algorithms(are they reversible)?(2)...
View ArticleUpdate ASPNETDB schema for ASP.NET Identity
Is there a tool to update the ASPNETDB schema to work with the current version of ASP.NET Identity?I have used the "Schema Comparison" tool to generate an update script, but is that really what I...
View ArticleLogout an external login
HiAsp.net, MVC 5, C#I am using external social logins like facebook, google etc to login to my application which currently works fine. But when I click on log off the app doesnt actually logs off from...
View ArticleAsp.net identity with existing web forms web site using vs 2012
I would like to implement the new adp.net identity with an existing web forms web site. The site was built with vs 2012and I would like to keep it this way. I see most tutorials are with Mvc and 2013...
View ArticleHidden Fields in HTML Forms
In my current MVC application, I am building forms in mostly standard HTML. In my controllers when the user updates a record I am currently passing back a hidden field with IDs relevant to the user, or...
View ArticleHosting UserControl in IE
Hi,I've an ASP site that delivers html code. One of the delivered html pages host a UserControl inside an OBJECT tagThe UserControl (UC) is supposed to display an image. However, the UC is drawn, but...
View ArticleIdentifying an object using guids
Really new to development, I've built an application where I handle all the user registration, so the user doesn't actually get to register themselves..I do it for them and then give them the login...
View Articlehow to decode html content with js on html file
vs express 2012 asp.net.4 web.formsi got an html fragment that i encodeURIComponent( Microsoft.Security.Application.Encoder.CssEncode...
View ArticleAsp.net Identity - Showing the FirstName instead of username at loggedin users
Hi All,just a quick question. Do you have any documentation to share or to point me to if I want to show to a logged-in user his or her name instead of his or her username?I am using visual studio 2013...
View ArticleASP.NET Identity 2.x - Issue with google authentication
I am having an issue with the Google OAuth middleware.Context: VS2013 Update 2, created brand new ASP.NET Web Project using MVC with Individual accounts.This brought in the following versions of the...
View ArticleAdd Role to User after they Register
I am trying to add a role to a user when they register in my MVC 5 project. I tried adding in RoleStore, RoleManager, UserStore, and UserManager as seen in the code below, but when I register I get an...
View ArticleSingle Sign-On from Multiple Sites
My organization has separate .net sites for our Intranet and Extranet. Both are secured with SSL and .net forms authentication. We have a separate site for some shared documents and images that both...
View Article