Questions tagged as '.net-core'

1
answer

Using async with .NET Core and nHibernate

In the .NET Core I know that we have async and await to request async . So far so good, but many frameworks on the market are creating methods with the MetodoAsync() signature and have the method without being async M...
asked by 09.10.2017 / 13:33
1
answer

Use .NET Framework DLL in .NET Core

Can a .NET C # DLL compiled in .NET 4.6 be imported into a .NET Core program on Linux?     
asked by 17.12.2018 / 19:42
1
answer

How to print accent in a Console Application .NET Core project [closed]

using System; namespace MediaDoisNumeros { class Program { static void Main(string[] args) { Int16 numero1, numero2; Double media; Console.Write("Digite o numero 1 : "); n...
asked by 25.07.2017 / 01:43
1
answer

Return message along with UnauthorizedResult

I'm using .NET Core 2 to create a dependency that will be injected into an API. The idea is to create a middleware to control incoming requisitions and act on a set of business rules. It is worth pointing out that I can not change the API itse...
asked by 12.09.2017 / 16:43
1
answer

genericsT Dependency Injection

Good morning, friends. I ran into a difficulty and I can not get past it. I have 2 projects, a webapi and a standard class, both in dot net core. In my standard project, I'm working with Repository to abstract CRUD in mongoDB. Follow th...
asked by 19.10.2017 / 14:43
1
answer

FileHelpers .NET CORE 2.0

I'm migrating an application to .NET CORE 2.0 and the application used the FileHelpers library, I logged into the github of the library and found that it has not yet been migrated to .NET CORE ... I wonder if you can use this library in a .NET C...
asked by 15.06.2018 / 19:48
1
answer

.NET Core and Mono: development of applications for Linux

I've currently needed to develop desktop applications for Linux, and one of the requirements is that it would have to be using C # . And by researching / testing, I had two options: .NET Core or Mono . When I used Mono , I lost...
asked by 24.07.2018 / 14:14
1
answer

.NET Core auto executable

After creating my first .NET console application on Windows 10 with Visual Studio 2017 I copied it to my Linux - Ubuntu 16.04.3 LTS server (already with .NET Core installed). I successfully ran the command: Windows > dotnet minhaApp...
asked by 20.08.2017 / 00:18
1
answer

Write Telephone Array in the Database

I created a Clientes table and two from clients that are ClientesTelefone and ClientesEmail in my form I am generating email and phone fields dynamically, so I would like to know how I can receive and write these values in t...
asked by 18.09.2018 / 21:54
1
answer

.NET Core + Visual Studio Code - Structure organization

I have some doubts about developing applications in .NET Core using Visual Studio Code: How do I create a base project, such as a blank solution, same in Visual Studio? How to organize a .NET Core project that follows some or all of the DD...
asked by 29.11.2018 / 04:07