Click here to Skip to main content
15,887,596 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: dotnet core web api : generate sub-webs for users Pin
raddevus21-Apr-18 8:35
mvaraddevus21-Apr-18 8:35 
GeneralRe: dotnet core web api : generate sub-webs for users Pin
raddevus21-Apr-18 11:31
mvaraddevus21-Apr-18 11:31 
GeneralRe: dotnet core web api : generate sub-webs for users Pin
RickZeeland21-Apr-18 20:01
mveRickZeeland21-Apr-18 20:01 
GeneralRe: dotnet core web api : generate sub-webs for users Pin
raddevus22-Apr-18 3:24
mvaraddevus22-Apr-18 3:24 
GeneralRe: dotnet core web api : generate sub-webs for users Pin
RickZeeland22-Apr-18 3:44
mveRickZeeland22-Apr-18 3:44 
GeneralRe: dotnet core web api : generate sub-webs for users Pin
englebart26-Apr-18 1:53
professionalenglebart26-Apr-18 1:53 
GeneralRe: dotnet core web api : generate sub-webs for users Pin
raddevus26-Apr-18 2:04
mvaraddevus26-Apr-18 2:04 
GeneralRe: dotnet core web api : generate sub-webs for users Pin
Marc Clifton2-May-18 12:43
mvaMarc Clifton2-May-18 12:43 
While interesting, it just occurred to me:

var newUrl = "http://" +

Creating sub-webs for users won't work if you use https unless you use a wildcard cert, and I think (as an example) LetsEncrypt only supports 100 subdomains? Still it would be possible to create the cert on the fly using LetEncrypt. Hmmm...interesting...might be an interesting but off the beaten path article. Just up my alley! Smile | :)
Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: dotnet core web api : generate sub-webs for users Pin
raddevus3-May-18 1:31
mvaraddevus3-May-18 1:31 
GeneralWell - its not private any more... Pin
Duncan Edwards Jones9-Apr-18 23:47
professionalDuncan Edwards Jones9-Apr-18 23:47 
GeneralRe: Well - its not private any more... Pin
charlieg10-Apr-18 0:58
charlieg10-Apr-18 0:58 
GeneralRe: Well - its not private any more... Pin
Jon McKee10-Apr-18 17:42
professionalJon McKee10-Apr-18 17:42 
GeneralRe: Well - its not private any more... Pin
Ravi Bhavnani11-Apr-18 5:08
professionalRavi Bhavnani11-Apr-18 5:08 
GeneralRe: Well - its not private any more... Pin
Brisingr Aerowing11-Apr-18 12:44
professionalBrisingr Aerowing11-Apr-18 12:44 
GeneralWhy use the correct exception type? Pin
Chris Maunder23-Mar-18 14:13
cofounderChris Maunder23-Mar-18 14:13 
AnswerRe: Why use the correct exception type? Pin
Peter_in_278023-Mar-18 14:49
professionalPeter_in_278023-Mar-18 14:49 
GeneralRe: Why use the correct exception type? Pin
Chris Maunder23-Mar-18 23:14
cofounderChris Maunder23-Mar-18 23:14 
GeneralRe: Why use the correct exception type? Pin
raddevus26-Mar-18 9:07
mvaraddevus26-Mar-18 9:07 
GeneralRe: Why use the correct exception type? Pin
Mycroft Holmes26-Mar-18 14:30
professionalMycroft Holmes26-Mar-18 14:30 
JokeRe: Why use the correct exception type? Pin
raddevus27-Mar-18 2:23
mvaraddevus27-Mar-18 2:23 
GeneralRe: Why use the correct exception type? Pin
Bruce Patin29-Mar-18 3:44
Bruce Patin29-Mar-18 3:44 
GeneralRe: Why use the correct exception type? Pin
littleGreenDude3-Apr-18 10:13
littleGreenDude3-Apr-18 10:13 
GeneralRe: Why use the correct exception type? Pin
Dr.Walt Fair, PE12-Apr-18 9:40
professionalDr.Walt Fair, PE12-Apr-18 9:40 
GeneralRe: Why use the correct exception type? Pin
GuyThiebaut25-Mar-18 8:00
professionalGuyThiebaut25-Mar-18 8:00 
GeneralRe: Why use the correct exception type? Pin
phil.o23-Mar-18 15:41
professionalphil.o23-Mar-18 15:41 

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.