dreadfullydistinct
dreadfullydistinct
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
$close
20 replies
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
Close
20 replies
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
There’s a slash command
20 replies
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
Idk
20 replies
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
$solve
20 replies
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
^ that too, when I’ve deployed stuff like Grafana I’ve had to specify a domain in the config, so I assume they might be doing something like this for their redirects
20 replies
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
But I don’t know if that’s the ideal way to do it, I’ve not seen it being done elsewhere 😅
20 replies
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
This is required to be set for all HTTP requests and iirc shouldnt be messed up by a reverse proxy
20 replies
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
Ah ok, when I’ve done this before I just grabbed the Host header from the request (via HttpContext.Request.Host)
20 replies
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
Or are you asking about how to get the domain?
20 replies
CC#
Created by Luca | LeCarbonator on 11/13/2024 in #help
✅ Is it possible to access a Controller's URI at runtime?
You can use reflection to get at the routing attribute, but that could be quite nasty
20 replies
CC#
Created by dreadfullydistinct on 9/4/2024 in #help
✅ Covariant return type properties
Thanks
4 replies
CC#
Created by dreadfullydistinct on 9/4/2024 in #help
✅ Covariant return type properties
I see makes sense that it doesn’t support boxing
4 replies
CC#
Created by dreadfullydistinct on 9/4/2024 in #help
✅ Covariant return type properties
Compiles if I do C and D or object and string - is it a restriction on value types?
4 replies
CC#
Created by SleepWellPupper on 8/17/2024 in #help
UI behavior specification language/tool
Not really the same thing but just sprung to mind when you were talking about specifications and testing. In particular, the Gherkin syntax is probably preferable to a TS object for describing a spec, in my opinion
4 replies
CC#
Created by SleepWellPupper on 8/17/2024 in #help
UI behavior specification language/tool
Have you come across Cucumber? It only does the first half which i.e. serves as a testing tool based on behaviour specs which you write in Gherkin syntax (‘Given I’, ‘When ‘I, ‘Then’) https://github.com/cucumber/cucumber-js
4 replies
CC#
Created by The Fog from Human Resources on 7/22/2024 in #help
Question about GraphQL
It's definitely the top choice for graphql without a question though
25 replies
CC#
Created by The Fog from Human Resources on 7/22/2024 in #help
Question about GraphQL
It's a really good library but the documentation is often lacking that one bit of info you really need (or is 2 versions behind, with the up-to-date stuff being in a YT video
25 replies
CC#
Created by The Fog from Human Resources on 7/22/2024 in #help
Question about GraphQL
you could spend a lifetime helping everyone on the hotchocolate slack
25 replies
CC#
Created by Anton on 7/8/2024 in #help
MSBuild make it NOT copy a dependency to the output path
I didn’t know about ReferenceOutputAssembly=false, maybe that’s the way
16 replies