Most voted ".net-core" questions
. NET Core is a general-purpose open source development platform maintained by Microsoft and the. NET community on Github. It is a cross-platform (compatible with Windows, macOS, and Linux) that can be used in device development, cloud, and Iot applications.
Learn more…160 questions
Sort by count of
-
-1
votes0
answers19
viewsTwo Foreign Keys of the Same Class C#
I am starting learning in EF Core and I am putting together a "little project" to follow the course. Okay, that’s enough to find the first difficulty. I need to create and link two classes where the…
-
-1
votes1
answer61
viewsError in dependencies
Hello, I’m starting to develop a web application with . Net CORE. have installed the . Net Core SDK 2.2.103 and when I open my project, I have some errors in the dependencies as shown below: This is…
-
-1
votes1
answer406
viewsOne-to-Many EF Core
I have 2 classes, Topic and Users. Basically a user can have several topics but the topic can only have one user (creator). When trying to create a Migration, the following error occurred: Unable to…
-
-1
votes1
answer801
viewsThe specified framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found
Hello I have the following app on . net: I’m trying to dockerize the project. I have the following dockerfile: And the Docker-Compose.yml: And my version of dotnet is 3.1: When I execute the command…
-
-1
votes1
answer44
viewsC# deserializar Enum that does not exist
I have a class that has as attribute an Enum, for example the class below: public enum Model { Volvo = 1, Ferrari = 2, Gurgel = 3 } public class Car { public Model model { get; private set; } public…
-
-1
votes1
answer54
viewsSystem.NullReferenceException. How to include fields from another table?
Friends, I had a table Pessoa that contained a lot of user information. I decided to create a table Aluno to separate the information. My tables are like this: Person: Cod, Nome, Email, Senha Pupil:…
-
-2
votes1
answer73
viewsReturn data from the Customer
Good morning Personal, I would like to create a function, which returns the requested client, and its data, which are in 3 different tables Clientes, ClientesTelephone, ClientesEmail, I can add the…
-
-2
votes1
answer819
viewsBoletos.Net com . NET Core(v2.0) C#
I am trying to use Boletosnet to generate a boleto and later a PDF of it, but when I try to use any method of the library, an error is shown "Reference to type "Control" declares that it is set in…
-
-3
votes1
answer151
viewsHow to pass a url variable in web api that contains / or a question mark?
I am developing an api in . net core and noticed that in the url if I want to pass for example https://localhost:44365/api/values/test=?/ or https://localhost:44365/api/values/test=// An error…
-
-4
votes2
answers281
viewsWhat is the correct syntax to use C# object orientation using . NET Core?
I have to familiarize myself with the implementation of object-oriented code in C#development. However, the materials I’m learning assume that I have Windows environment and Visual Studio installed…