bakk
bakk
CC#
Created by bakk on 7/13/2023 in #help
❔ Good way to make sure a user is allowed to do something based on context in ASP.NET?
Hmm might be a bit overkill for me, but good to know, thanks
9 replies
CC#
Created by bakk on 7/13/2023 in #help
❔ Good way to make sure a user is allowed to do something based on context in ASP.NET?
Hmm yeah that's kind of what I have in practice I guess, but I keep it with the database handling methods and have it return an IQueryable so the data it retrieved can be used for more things. This makes me more confident that it's going to work well, thanks
9 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
Ooh nice!
25 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
I'll have a look at that, thanks!
25 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
Aha I see
25 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
So how would I get information about the methods in a source generator
25 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
hm
25 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
and make it easy to then call them at runtime
25 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
Oh I was a bit unclear, I want to find and analyse them at source-generation
25 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
So I'm trying to generate some source code to do a bit more AOT
25 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
They basically make up the standard library for an interpreted language
25 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
during runtime
25 replies
CC#
Created by bakk on 11/9/2022 in #help
❔ Source code generator with reference to the main project
Well, currently I have a bunch of methods that I find and call using reflection
25 replies
CC#
Created by TOLOXI on 9/23/2022 in #help
how much does a programmer earn?
but still, the US has way higher wage inequality of course
38 replies
CC#
Created by TOLOXI on 9/23/2022 in #help
how much does a programmer earn?
I compared salaries before employer taxes and didn't see as huge of a difference anymore
38 replies
CC#
Created by TOLOXI on 9/23/2022 in #help
how much does a programmer earn?
do keep in mind you can't compare european salaries with american salaries just like that a lot of european countries have employer taxes, meaning the employer pays more than you actually see the employer of someone that makes 5k€ a month in sweden (average) would actually pay like 7-8k€ a month, and these extra thousands cover things like healthcare, pension and other things
38 replies
CC#
Created by bakk on 9/17/2022 in #help
Using dependency injection for internal classes inside a library
ahaa
18 replies
CC#
Created by bakk on 9/17/2022 in #help
Using dependency injection for internal classes inside a library
18 replies
CC#
Created by bakk on 9/17/2022 in #help
Using dependency injection for internal classes inside a library
even though the calls are inside a constructor in a class in the library itself
18 replies
CC#
Created by bakk on 9/17/2022 in #help
Using dependency injection for internal classes inside a library
At first let them be injected to the constructor of the parent class, but then i tried directly calling ActivatorUtilities as well but got the same error
18 replies