FoxySnake
FoxySnake
CC#
Created by FoxySnake on 1/14/2024 in #help
Foreign Key between Models with ef
ok i change a bit the logic like you said and it work well, ty
16 replies
CC#
Created by FoxySnake on 1/14/2024 in #help
Foreign Key between Models with ef
ok mb
16 replies
CC#
Created by FoxySnake on 1/14/2024 in #help
Foreign Key between Models with ef
that forgive me to create package with a custom id in my db
16 replies
CC#
Created by FoxySnake on 1/14/2024 in #help
Foreign Key between Models with ef
The TebexId is the Id of the package I retrieved of an other application. but I can't set it to the primary key because of the "IDENTITY_INSERT" that are enabled
16 replies
CC#
Created by FoxySnake on 1/14/2024 in #help
Foreign Key between Models with ef
ok ty, will try it
16 replies
CC#
Created by FoxySnake on 1/14/2024 in #help
Foreign Key between Models with ef
It's been a year i didn't touch to a .Net API so maybe my thoughts are wrong.
16 replies
CC#
Created by FoxySnake on 1/14/2024 in #help
Foreign Key between Models with ef
what I'm trying to do is to link the table Package to the table UserPackages like that, when I take my User, I can retrieve also their packages. Like this User user = await _userRepository.Query().Include(x => x.Packages).ThenInclude(x => x.Package);
16 replies
CC#
Created by FoxySnake on 10/2/2023 in #help
❔ Can't get Cookies Response from .net api
Ok I will check this. Maybe I just doesn't know the middleware for this thing. Tu for the help
11 replies
CC#
Created by FoxySnake on 10/2/2023 in #help
❔ Can't get Cookies Response from .net api
Yes but how the front part of my website is supposed to know if the user who had connection before the closure is supposed to be logged or not ?
11 replies
CC#
Created by FoxySnake on 10/2/2023 in #help
❔ Can't get Cookies Response from .net api
Cause I have an angular application for the front of my website and the cookie give by Identity can't be catch with javascript so I need to catch it after the successfull login and add him to the response to store it on my localstorage. The principal reason I wan't to do that is to make the website remeber the user connected after his closure by storing it on the localstorage. Like that I when the user has check the "Remember Me", the website already know the user even after his closure until the user disconnect by himself
11 replies