Can I use ASP.NET Identity for this?
I have a question. I’m considering programming a web application using ASP.NET MVC 5 or ASP.NET MVC Core 2 which needs authentication/authorization.The application is for local branches of an...
View ArticleLogin page for only one page in Anonymous web application
Hello,I am creating a ASP.NET web form application in .Net framework 4.6. The code behind used is C#. I have multiple pages in the application, but according to the requirement, there will be one page...
View ArticleHow to Figure out how to make Authentication/Authorization claims/roles...
I found so many example but still not one answering my problem.ASPNET Core2Assuming I got 2 controllers (CompanyController, ClientController). Within each controller I got of course the Create, Read,...
View ArticleCan't log in, Membership.GetUser() doesn't find user - what do I do now?
Hello,I have a LightSwitch OOB application that has been working fine. I just deployed a new version (using FTP, so didn't touch the database), but when I try to log in, I get a message "The login...
View Articlehow i implement data filtring by user euthenticated
helloi have to build an layered master details application using asp.net mvc4 as presentation layeri used entity framework with odp.net 11g in data access layer and with repositoriesthe master table...
View ArticleWindows application - CACHE TOKEN for subsequent call
Hi All, Is it possible to cache token information in windows application or machine?I am using VS 2015, SQL and C#.In my windows application we are calling 4 different API's to get data based on the...
View ArticleMembership.GetUser() returns null
before addressing my main issue I want to understand something, after reading through many posts and questions I understood that Membership.GetUser() is made to be used with authenticated users only...
View ArticleIdentity 2 MySQL adding custom register Information
i try to get AspNet.Identity.MySQL to run with a MySQL storage Provider from the examlpe...
View ArticleASP.NET Identity with database-first approach
How do I make it work? I found a guide on how to use database-first approach with custom tables, but how do I do it with Identity and Roles tables? Using a database created by a different person is a...
View ArticleUploading Files to a Network Shared Folder
Hello,I am writing a single page application which allows users to browse and upload files to a file server.Code: '----- Clciking Upload Button '---- Protected Sub UploadDoc(sender As Object, e As...
View ArticleAuthentication without using Membership?
I'm new at this subject in fact if you asked me about it a few days ago I would've said nothing and know nothing so there are a few things I would like to understand and hopefully you guys will help...
View ArticleEncypting and decrypting passwords - store in database
Hello all, I am trying to figure out how to store a salted password in the database and when I do a call out to it pull that password in. I plan to use this instead of using AppSettings from...
View ArticleHow to Digitally Signed SOAP web services
Hi,Our application has lot of SOAP Web Services open. Number of client applications are implemented using SOAP APIs. One of our customer has asked to signed our APIs digitally.Our APIs are implemented...
View ArticleAuthorization with asp.net identity and web api
Hi,I've web api application which is being used by mobile client application. I am using asp.net identity and want to use authorization based on token. So I want 1. Generate token when user login on...
View ArticleUsing Asp.Net Identity With Asp.Net Web Api and MVC Application
Helloi have created api project with authentcatio type single user Account so Identity created in web api controller now what i want to know ishow to make mvc application users signed in after...
View ArticleUsing ASP.NET identify without forms authentication
For starters, the subject may not make sense. I'm new to web dev, so I'm trying to make sense of all the new technology / concepts.From what I understand about standard authentication in ASP.NET, it...
View ArticleAnonymous authentication using generic asp.net handler (*.ashx)
I have an asp.net webforms application that has windows authentication enabled. I need to enable anonymous authentication on a folder “Test” in the website which contains images . I did that by...
View Articlerole upon registration using microsoft sql server 2014
Hi good day to all,kindly ask if you have sample program with role upon registration using mvc 5 , I am using VS213 , thank you.
View ArticleHow to authenticate using external provider once application is in production?
Hi,I have read and watched some videos from Adam Tuliper and Jeremy foster for Asp.net identity.In external authentication I got to know that we need secret key and secret id which we put in...
View Articlehttpverb Trace
Hi All,I want to test HTTP VERB "trace" is disabled at application level. for this i set below code in webconfig <verbs allowUnlisted="true"> <add verb="Trace" allowed="false" />Now How can...
View Article