Questions tagged as 'asp.net-mvc'

1
answer

How to change and maintain mapping of classes and properties using ADO.net

When using a database I have tables and columns with names like: - tb_user usu_id usu_name usu_data_nasc - tb_product pro_id pro_name pro_desc_resumida pro_desc_completa When you use ADO.NET Entity Data Model - &g...
asked by 07.06.2017 / 13:40
1
answer

What causes the "Unknown renderer type" error in Google charts?

Hello, I'm doing a program to generate graphics and started to appear this error in some, but the strange thing is, graphics are generated from some selected checkboxes, so when you select a certain amount of checkbox, another amount wrong, could...
asked by 07.06.2017 / 15:37
1
answer

View encoding

I'm having trouble setting the page encoding I've made in ASP.NET Core (keeps appearing ? in accented letters). In the old MVC you made the configuration in the web.config project, but now that file does not exist, and I have no idea h...
asked by 29.05.2017 / 06:24
1
answer

HOW TO MAKE A GetAsync in an ASP.NET API passing an object as a parameter?

I would like to know how to send an object as a parameter to an API made in ASP.NET and return data by it? I understand that the simple method of a Get is: HttpClient cliente = new HttpClient(); string url = "http://localhost:50501/api/val...
asked by 03.06.2017 / 01:17
1
answer

Table within View

I'm putting a table inside the Edit view. Edit View (Contract) @if (Model.ContratoParcela.Any()) { <table class="table parcela-lista"> @foreach (var parcela in Model.ContratoParcela) { <tr>...
asked by 26.04.2017 / 03:50
1
answer

Error saving entity framework

I have a very basic problem, but I must be short of coffee to understand what is happening. I have an entity like this: public class Client : BaseEntity<Client> { [Required] public string CorporateName { get; set; } // V...
asked by 20.04.2017 / 00:29
1
answer

Error when restoring external application bank asp.net mvc

I am trying to restore a SQL database that I created in a provider that does not have the WebDeploy option. And my goal is to initialize a database using ASP.NET MVC with EntityFramework . Well, when setting the server and...
asked by 17.05.2017 / 01:59
1
answer

Google Consent Screen Does Not Open

I made an application that has the function of backing up to Google Drive, but it does not work when I put it on some server, it works only in localhost . What happens is that it does not open the consent screen on the servers, it follo...
asked by 30.03.2017 / 19:30
1
answer

Unsolicited Time Truncation

I have a model to write a time used in a task: public TarefaHoraPendente() { HorasAcumuladas = new TimeSpan(0, 0, 0); Pausada = false; } public int ID { get; set; } [Required(ErrorMessage = "Este campo é obrig...
asked by 07.04.2017 / 15:32
1
answer

The getPreventDefault () method should no longer be used. Instead, use defaultPrevented - BrowserLink

I get this error on all pages when browserlink is enabled:    The getPreventDefault () method should no longer be used. Instead, use defaultPrevented. browserLink: 37: 40278 Here is the image: Unchecking Browser Link , the...
asked by 20.02.2017 / 19:36