sabaisabai
duende identity server
Hey guys I have setup duende identity server which gives me jwt token and I have react-vite application that I want to login register and store the token. I'm not sure what is best approach here?
1. Can I add my duende API to auth0?
2. Is there any easy way to login and store my token in cookies?
I'm a little confused here about how to achieve that
1 replies
❔ blazor wasm 6 databases
Hello guys I have a project
in blazor and each dbcontext database in a different class library (repository pattern) I have to make simple queries based on variable which indicates what database to choose.
My plan is just simply put in each class library the same repository with interface and almost same implementation of the methods.
Then in my service get all repositories from 6db I can distinguish them by proper syntax in using and do switch statement...
I guess this is not optimal as I'm repeating myself should I maybe make abstract class? Or write generic method which gonna take different database and query them?
10 replies
❔ SQL query
Hey guys I have column Date which sometimes have int sometimes strings and sometimes dates
In format --2022-01-26 this indicates when last time the column was updated
So if I have dates
--2022-04-04
--2016-04-04
And I input date
2018 I want to get 2016
2023 I want to get only 2022 as latest
2015 nothing because it wasnt updated yet having hard time with this to work properly
40 replies
❔ Excell send to API
This is my first job and they have some class that creates an Excel file and instead saving it I want to send it to API I'm not sure how I should transform excel to Json without using errplus or other libraries. Is it okay to just send it as a excell how would I approach that?
9 replies