artem
artem
CC#
Created by artem on 1/23/2025 in #help
✅ How do you log and trace requests in big production applications?
Gotta start from there ig
27 replies
CC#
Created by artem on 1/23/2025 in #help
✅ How do you log and trace requests in big production applications?
Ty for the info. It'll take some time)
27 replies
CC#
Created by artem on 1/23/2025 in #help
✅ How do you log and trace requests in big production applications?
This is basic logging (debug, console) and logger providers. Already know how to do that. I'm looking for smth that collects a lot of logs from different microservices, lets you quickly search for specific values, trace request through different microservices
27 replies
CC#
Created by artem on 5/18/2023 in #help
❔ Any UI testing tool for MAUI?
Publishing is a pain as well... It's not complicated, just not done yet.
7 replies
CC#
Created by artem on 5/18/2023 in #help
❔ Any UI testing tool for MAUI?
Not that good. It's a bit buggy and hard to automate (at least with my nunit/nuke stack)
7 replies
CC#
Created by artem on 4/23/2023 in #help
Is it ok to leave `NotImplementedException` if method doesn't suppose to be used?
ok, thank you
3 replies
CC#
Created by artem on 3/8/2023 in #help
How can I work around this exception?
public IQueryable<T> Select<T>()
{
if (!typeof(T).IsSubclassOf(typeof(IRealmObject)))
throw new TypeAccessException($"{typeof(T).Name} is not a subclass of {typeof(IRealmObject).Name}");

return realm?.All<IRealmObject>().OfType<T>();
}
public IQueryable<T> Select<T>()
{
if (!typeof(T).IsSubclassOf(typeof(IRealmObject)))
throw new TypeAccessException($"{typeof(T).Name} is not a subclass of {typeof(IRealmObject).Name}");

return realm?.All<IRealmObject>().OfType<T>();
}
At least it works this way
10 replies
CC#
Created by artem on 3/8/2023 in #help
How can I work around this exception?
like cast it
10 replies
CC#
Created by artem on 3/8/2023 in #help
How can I work around this exception?
can't I show that T is acceptable Type somehow else?
10 replies
CC#
Created by artem on 3/8/2023 in #help
How can I work around this exception?
Note: I cannot just write where T : IRealmObject, because it will broke interface implementation
10 replies