Click here to Skip to main content
14,635,472 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer12-May-20 4:57
professionalDaniel Pfeffer12-May-20 4:57 
GeneralRe: Thought of the Day Pin
DRHuff12-May-20 5:05
MemberDRHuff12-May-20 5:05 
GeneralRe: Thought of the Day Pin
ZurdoDev12-May-20 5:13
mveZurdoDev12-May-20 5:13 
GeneralRe: Thought of the Day Pin
Member 798912212-May-20 5:37
MemberMember 798912212-May-20 5:37 
GeneralRe: Thought of the Day Pin
W Balboos, GHB12-May-20 6:01
mveW Balboos, GHB12-May-20 6:01 
GeneralRe: Thought of the Day Pin
jeron112-May-20 6:11
Memberjeron112-May-20 6:11 
GeneralRe: Thought of the Day Pin
lopatir12-May-20 7:06
Memberlopatir12-May-20 7:06 
RantMickeysoft, y u do dis!? Pin
Sander Rossel12-May-20 2:22
professionalSander Rossel12-May-20 2:22 
I'm creating a new ASP.NET Core 3.1 Razor Pages application with individual user authentication using an in-app store (so SQL Server, as opposed to (Azure) AD).
The cool part is that Microsoft gives you a complete out-of-the-box register, login and profile solution, complete with 2FA and external authentication (OAuth 2.0).
It's all hidden inside some package so it doesn't clutter your solution either, although you have the option to scaffold each page individually if you like.
Really great, kudos to Microsoft, except...

IT'S ALL IN ELEPHANTING ENGLISH! Mad | :mad:
I've searched for a way to localize the default pages, but I can't find a proper solution.
When I scaffold the pages they have hard-coded strings in the HTML as well as the C# code.
Also, you really can't beat logic like this (if some string that the user is going to read starts with "Error"):
var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success";
I've scaffolded all pages and I'm replacing all hard-coded strings with resource file references Sigh | :sigh:
It's quite a lot, so it keeps me off the streets and working for my money.

Still better than doing it all myself, but if you're going to offer this as one of the biggest companies on the planet, at least think about such stuff Sigh | :sigh:

JokeRe: Mickeysoft, y u do dis!? PinPopular
Daniel Pfeffer12-May-20 2:39
professionalDaniel Pfeffer12-May-20 2:39 
GeneralRe: Mickeysoft, y u do dis!? Pin
OriginalGriff12-May-20 2:49
mveOriginalGriff12-May-20 2:49 
GeneralRe: Mickeysoft, y u do dis!? Pin
Daniel Pfeffer12-May-20 4:11
professionalDaniel Pfeffer12-May-20 4:11 
GeneralRe: Mickeysoft, y u do dis!? Pin
Mycroft Holmes12-May-20 11:16
professionalMycroft Holmes12-May-20 11:16 
JokeRe: Mickeysoft, y u do dis!? Pin
DJ van Wyk12-May-20 20:42
professionalDJ van Wyk12-May-20 20:42 
GeneralRe: Mickeysoft, y u do dis!? Pin
RickZeeland12-May-20 3:28
mveRickZeeland12-May-20 3:28 
GeneralRe: Mickeysoft, y u do dis!? Pin
Greg Utas12-May-20 3:34
professionalGreg Utas12-May-20 3:34 
GeneralRe: Mickeysoft, y u do dis!? ... with apologies to real internationals PinPopular
Richard MacCutchan12-May-20 2:47
mveRichard MacCutchan12-May-20 2:47 
GeneralRe: Mickeysoft, y u do dis!? ... with apologies to real internationals Pin
W Balboos, GHB12-May-20 2:53
mveW Balboos, GHB12-May-20 2:53 
GeneralRe: Mickeysoft, y u do dis!? ... with apologies to real internationals Pin
Richard MacCutchan12-May-20 3:40
mveRichard MacCutchan12-May-20 3:40 
GeneralRe: Mickeysoft, y u do dis!? ... with apologies to real internationals Pin
Greg Utas12-May-20 3:30
professionalGreg Utas12-May-20 3:30 
GeneralRe: Mickeysoft, y u do dis!? ... with apologies to real internationals Pin
Richard MacCutchan12-May-20 3:40
mveRichard MacCutchan12-May-20 3:40 
GeneralRe: Mickeysoft, y u do dis!? ... with apologies to real internationals Pin
Sander Rossel12-May-20 4:46
professionalSander Rossel12-May-20 4:46 
GeneralRe: Mickeysoft, y u do dis!? ... with apologies to real internationals Pin
Richard MacCutchan12-May-20 5:32
mveRichard MacCutchan12-May-20 5:32 
GeneralRe: Mickeysoft, y u do dis!? Pin
fd975012-May-20 6:18
professionalfd975012-May-20 6:18 
QuestionRe: Mickeysoft, y u do dis!? Pin
ZurdoDev12-May-20 8:22
mveZurdoDev12-May-20 8:22 
AnswerRe: Mickeysoft, y u do dis!? Pin
Nelek12-May-20 11:12
protectorNelek12-May-20 11:12 

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.