Jorge Morales
Jorge Morales
CC#
Created by Arsenic on 11/17/2024 in #help
Nuget packages
i found the same when using version 17.12 of Visual Studio, regardless of whether my projects are .NET 8 or .NET 9, it can be configured to be less annoying though, according to the documentation: https://learn.microsoft.com/en-us/nuget/concepts/auditing-packages
3 replies
CC#
Created by Gipper on 12/11/2023 in #help
ASP.NET MVC struggling with putting foreign keys into Db from Model
It happens to me that I need more context when dealing with EF Core code
30 replies
CC#
Created by Gipper on 12/11/2023 in #help
ASP.NET MVC struggling with putting foreign keys into Db from Model
If you have the code in GitHub or in any public repo, it would good to see and reproduce the error better
30 replies
CC#
Created by Gipper on 12/11/2023 in #help
ASP.NET MVC struggling with putting foreign keys into Db from Model
Hi, I would say it has something to do with how the other end of the foreign key relationship is implemented in Utilizador (or Utilizadores). If you want to implement a parent child relationship between the two, I think the child is SolicitacaoAdesao and Utilizador is the parent, right?
30 replies
CC#
Created by waler on 12/4/2023 in #help
Help with Multithreading
Maybe I'm wrong, as I don't have enough information besides your code snippet, but I guess it has something to do with i
38 replies
CC#
Created by waler on 12/4/2023 in #help
Help with Multithreading
Hi, I think it's because i = 4 after the for loop is done. Besides, inside of each ThreadStart you have a reference to i, which the first thread is going to use and, because i is 4, then you get the exception you saw. You would have to rewrite your code inside of ThreadStart to not depend on i
38 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
I'm just guessing at this time, sorry
36 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
not really, looks like the SpeechRecognizer class comes from a library and it is expecting to find something and fails?
36 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
if you have git enabled, you can undo your changes and apply this, to create an instance of the class
36 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
I agree, I think you have to review the basics of C#, so you can make the proper changes for your code
36 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
that's an easier approach I think
36 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
because from a static method you can only access another static members in the class
36 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
apart from that, the Result property has to be static as well
36 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
because your first screenshot showed it was public
36 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
it means the access level is restrictive, did you change the method to be private?
36 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
or convert the method to be static
36 replies
CC#
Created by itgel9462 on 2/4/2023 in #help
❔ Calling async method
You need to create an object of AzureAPI so you can call the method
36 replies