Click here to Skip to main content
15,506,209 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
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 
Good evening everyone, I want to know the best way to generate unique user ID even when number of registered users are more than two million.

The current way am using to achieve this is by initiating an ID i.e 2083928937 for instance, then checking Database if this ID exists. If it does, then I will increment it by 1 then make a search again for the incremented value until no match is found and the unfound ID will be used.

But am having the feeling that this will cause database issue or even slow down the site as the code have to iterate several times when the site start to have more users.

So, please what is the best way to achieve this?
www.emmason247.com.ng

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 
AnswerRe: pls help Pin
David Mujica6-Jul-20 8:27
David Mujica6-Jul-20 8:27 
JokeRe: pls help Pin
DerekT-P7-Jul-20 3:18
professionalDerekT-P7-Jul-20 3:18 
QuestionAngular service error http 400 using .Net core api to accept json, escaped quotes crashing api Pin
jkirkerx29-Jun-20 13:48
professionaljkirkerx29-Jun-20 13:48 
AnswerRe: Angular service error http 400 using .Net core api to accept json, escaped quotes crashing api Pin
Richard Deeming30-Jun-20 0:42
mveRichard Deeming30-Jun-20 0:42 
GeneralRe: Angular service error http 400 using .Net core api to accept json, escaped quotes crashing api Pin
jkirkerx30-Jun-20 7:06
professionaljkirkerx30-Jun-20 7:06 

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.