Questions tagged as 'asp.net-core'

0
answers

Model is not being fully validated

Good morning, I'm testing an application to add a client, but whenever I try to add the user, test the ViewModel to check if the information is consistent, but the program does not validate the whole ViewModel ignoring the end of it, Why is this...
asked by 19.09.2018 / 14:57
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

Errors with .NET Core version

I'm having a .NET version error. I have already installed the .NET Core 1.1.2 and .NET Core 2.0.0, but I have this error and I can not solve it. Error: It was not possible to find any compatible framework version The specified framework 'M...
asked by 18.08.2017 / 17:04
0
answers

Asp.Net MVC 5 vs Asp.Net MVC Core? [closed]

I see many talking about Asp.net Core. Is it worth migrating MVC5 to Core? Or should I continue with MVC5?     
asked by 04.08.2017 / 16:58
1
answer

Add Authentication in Asp.net Core project

I created an Asp.Net Core MVC project without authentication. With the project already in progress, I need to add the authentication part and wanted to be able to automatically generate all the files that would be generated if I had placed "I...
asked by 15.02.2017 / 19:27
1
answer

Join for linq c #

I have the following query in SQl Sevrer SELECT PT.id, P.nome AS Codigo, PT.topologiaid, TE.id AS TipoEntidadeId FROM [dbo].[propriedade] P INNER JOIN [dbo].[propriedadetopologia] PT ON P.id...
asked by 07.12.2018 / 22:13
1
answer

ASP.NET CORE Dependency Injection

I have a situation that I do not know how to solve it. I have the following scenario: I have an ASP.NET CORE WebAPI and a Class Library also in .NET CORE. Since the class library will be according to the Repository Pattern. So I came across a...
asked by 21.06.2018 / 04:08
1
answer

Projects with synchronous and asynchronous APIs

I'm developing a small project and I have two entities for now: Product and Customer The product API is asynchronous (with Task and async) and the client API is synchronous. I wonder if there is any problem in using these two approaches...
asked by 07.08.2018 / 13:46
2
answers

Save / Recover files with PDF extension

To save files with PDF extension in the database do you need to do the conversion to base 64 ? Or would you have some other way to save this type and your recovery for viewing? The code I have below, does the image conversion to base 64 ,...
asked by 10.04.2018 / 20:14
1
answer

Is it possible to apply CSS style in the method of sending e-mail?

I have the following method that sends a password recovery email to the user. I would like to know if it is possible to apply some type of CSS formatting in it, in order to make the email sent more attractive. Email Received: Code:publicv...
asked by 06.03.2018 / 15:29