Click here to Skip to main content
15,502,221 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP .NET sql database network connection string Pin
Steve Naidamast16-Aug-20 8:44
professionalSteve Naidamast16-Aug-20 8:44 
QuestionIndividual Accounts in webapi project vs2017 Pin
ganesh.dks28-Jul-20 22:44
ganesh.dks28-Jul-20 22:44 
QuestionUsing Authorize(Roles) in my API controller Pin
jkirkerx20-Jul-20 7:36
professionaljkirkerx20-Jul-20 7:36 
AnswerRe: Using Authorize(Roles) in my API controller Pin
jkirkerx21-Jul-20 7:01
professionaljkirkerx21-Jul-20 7:01 
AnswerWell after another failed day to figure it out ... Pin
jkirkerx21-Jul-20 13:53
professionaljkirkerx21-Jul-20 13:53 
AnswerThink I figured it out Pin
jkirkerx22-Jul-20 13:51
professionaljkirkerx22-Jul-20 13:51 
AnswerHead scratcher here Pin
jkirkerx23-Jul-20 11:33
professionaljkirkerx23-Jul-20 11:33 
AnswerDid the rewrite on both the server and client side, works great now Pin
jkirkerx27-Jul-20 8:48
professionaljkirkerx27-Jul-20 8:48 
So there was really nothing wrong with my code, or my design. It wasn't like a block of code was going to fix everything.

I have everything working now, except for new ideas such as a 15 minute token expiration that just keeps refreshing. So I need to read up on how to refresh tokens, but I've made preparation for it in my token claims and storage system.

What it boils down to is that I took a simple example of how to integrate Angular V5 with .Net Core 2.0 designed like learning how to walk and modified it to be like Amazon and it crashed. I tried to take a simple example of authenticating a user and took it to handle multiple authenticated user roles with multiple systems such as Google SignIn, Admin SignIn, Customer SignIn.

I can now see the progress made on .Net Core 3.2, in which what I wanted to do with .Net Core 2.2 has been realized. I remember Asp.Net Microsoft.Identity and how it was this huge Auth system with all the bells and whistles, but you had to use it there way or no way. So I created a hack of it in a smaller package size. With .Net Core 3.2, it's alacarte now, and I can choose the components I want to use to create my Auth system, very nice. I can package anything I want inside the Jwt Token and use it to also hold info like the user name, email address without having to go to the database to get it.

Basically .Net Core and Angular has really matured and seems to be spot on now in terms of building a huge web app that is fast, reliable and durable. So I'm not going to post any code or lead anyone down the rabbit hole here. My issue simply just needed a complete rethink of what I had already implemented and just do a complete fresh redesign of my Auth system.

Frustrated at first and didn't want to change, very happy today and embraced the new changes.
I feel very confident that I have a great Auth system now that is very secure.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

QuestionUpgrading from .Net Core 2.2 to 3.1, SSL and Docker .net core images Pin
jkirkerx17-Jul-20 8:20
professionaljkirkerx17-Jul-20 8:20 
AnswerRe: Upgrading from .Net Core 2.2 to 3.1, SSL and Docker .net core images Pin
jkirkerx17-Jul-20 12:31
professionaljkirkerx17-Jul-20 12:31 
GeneralRe: Upgrading from .Net Core 2.2 to 3.1, SSL and Docker .net core images Pin
jkirkerx17-Jul-20 12:46
professionaljkirkerx17-Jul-20 12:46 
GeneralRe: Upgrading from .Net Core 2.2 to 3.1, SSL and Docker .net core images Pin
jkirkerx17-Jul-20 13:36
professionaljkirkerx17-Jul-20 13:36 
QuestionGenerating unique user ID Pin
Otekpo Emmanuel7-Jul-20 8:29
Otekpo Emmanuel7-Jul-20 8:29 
AnswerRe: Generating unique user ID Pin
Richard Deeming7-Jul-20 8:47
mveRichard Deeming7-Jul-20 8:47 
GeneralRe: Generating unique user ID Pin
Otekpo Emmanuel8-Jul-20 4:06
Otekpo Emmanuel8-Jul-20 4:06 
GeneralRe: Generating unique user ID Pin
Richard Deeming8-Jul-20 4:42
mveRichard Deeming8-Jul-20 4:42 
GeneralRe: Generating unique user ID Pin
Mycroft Holmes8-Jul-20 13:46
professionalMycroft Holmes8-Jul-20 13:46 
AnswerRe: Generating unique user ID Pin
David Mujica10-Jul-20 3:47
David Mujica10-Jul-20 3:47 
GeneralRe: Generating unique user ID Pin
jkirkerx13-Jul-20 12:25
professionaljkirkerx13-Jul-20 12:25 
GeneralRe: Generating unique user ID Pin
DerekT-P17-Jul-20 11:44
professionalDerekT-P17-Jul-20 11:44 
QuestionMessage Removed Pin
7-Jul-20 0:46
umeshamin7-Jul-20 0:46 
AnswerMessage Removed Pin
13-Jul-20 12:39
professionaljkirkerx13-Jul-20 12:39 
Questionpls help Pin
Member 148797912-Jul-20 22:44
Member 148797912-Jul-20 22:44 
SuggestionRe: pls help Pin
Richard MacCutchan2-Jul-20 22:48
mveRichard MacCutchan2-Jul-20 22:48 
GeneralRe: pls help Pin
ZurdoDev6-Jul-20 9:10
professionalZurdoDev6-Jul-20 9:10 

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.