Questions tagged as 'asp.net-core'

2
answers

What is ASP.Net vNext? What is the correct name?

Okay, I know that ASP.Net vNext is the new version of ASP.Net being released by Microsoft in 2015 and it brings great changes changing how we work various things. This vNext name was used as the working name. Initially I had the idea that thi...
asked by 26.02.2015 / 14:08
1
answer

Is .NET Core stable enough for production?

Is .NET Core Stable and Reliable to Be Used in Production Environments for Commercial Websites?     
asked by 21.02.2017 / 22:47
1
answer

How was the relationship between Web Api and Asp.NET MVC in Asp.NET 5?

In ASP.NET 4.6 or lower there were differences between Web Api and Asp.Net MVC. controller , for example, can inherit from controller or ApiController . However, with the arrival of Asp.Net 5 , it will not have t...
asked by 23.02.2016 / 18:46
1
answer

How is the life cycle of an ASP.NET 5 application?

This is a question I've always had (including in earlier versions of ASP.NET), but I'll ask here in the context of ASP.NET 5. The question is: when building an application with ASP.NET 5 we coded a Startup class that is responsible for se...
asked by 26.02.2015 / 03:41
1
answer

Dependency injection in .Net Web API project 2

I'm involved in a project that is developing a .Net Web API 2 Fw 4.51 application (with a view to future migration to .Net Core , which is an 'aggravating'), Fluent NHibernate e PostgreSQL , and we're choosing a IoC con...
asked by 27.08.2016 / 12:55
1
answer

ReportViewer MVC Core

I'm working on a project using ASP.NET MVC Core. I have installed all the dependencies required for the use, but it is not able to be used in my application. However, if I create a new MVC5 application it is enabled and installed. Has anyo...
asked by 18.04.2017 / 20:47
1
answer

How to set up languages in Asp.net Core

I'm setting up AddLocalization    So the problem is that Resources is in a separate class library of the project and I do not know how to configure it. services.AddLocalization(options => options.ResourcesPath = "Resources");     
asked by 01.09.2018 / 23:42
0
answers

How to use OAuth in ASP.NET 5?

In versions prior to ASP.NET 5, there was a middleware called "OAuth Authorization Server Middleware" that allowed adding an OAuth server to the pipeline and configuring token generation. The middleware was easy to use, worked well, and gave acc...
asked by 05.06.2015 / 14:35
2
answers

When to use try catch in layered application?

Let's say I have my layers Controller Business Repository So it is necessary to create this block in the 3 layers or create only in controller ? If I do this does it guarantee that any code that is made inside it will be thrown at...
asked by 22.11.2018 / 17:01
1
answer

Error converting varchar value to integer

When performing the following UPDATE through my API (.NET Core): UPDATE Aula SET WHATEVER = WHATEVER WHERE ID_AULA = @examID Code: string query = builder .AppendLine("UPDATE Aula") .AppendLine("SET WHATEVER = WHATEVER")...
asked by 10.05.2018 / 18:47