Questions tagged as 'asp.net-mvc'

1
answer

ASP MVC 4 and WebService

I have a WebService with all the methods I need to make the system work, and I also have a ASP NET MVC 4 page. I have already made the reference in the services references of the WebService. I am trying to use a webservice method which re...
asked by 10.04.2014 / 02:22
1
answer

Use Identity in an Asp.Net MVC 5 application with Web Api and vice versa

When I create a project Asp.Net MVC with Individual User Accounts I can enter the application in this way: var result = await SignInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, shouldLockout: false);...
asked by 10.09.2014 / 14:53
3
answers

jQuery highcharts multiline

I have an MVC application and would like to clarify some doubts on how to implement a chart with the database data. I'm using jQuery to get the values from the database, but I did not understand how to grab these values and generate a graph usin...
asked by 14.02.2014 / 14:24
1
answer

Session in database

Thinking about the scalability of applications developed in asp.net-mvc , I looked into alternatives for not using "session in memory". I saw that it is possible to save the session data to the database and use SQL Server as the state server...
asked by 14.02.2014 / 00:49
1
answer

Open modal popup in another .cshtml file

File.cshtml is found as follows: <html> <head></head> <body> <!-- Nesta div pretendo abrir minha popup --> <div id="popup"></div> <!-- Com este link pretendo acionar a abertura da popup...
asked by 17.10.2014 / 14:18
0
answers

Server can not attach a header after the HTTP headers have been sent

Good morning, I have the following code that I use to compress the controllers using GZip . I log in to the system normally, but if I try to change the company, the following error is displayed:    Server can not attach a header a...
asked by 27.12.2018 / 11:46
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

Additional configuration to reference .NET 4.0?

Today when I tried to publish a new version of my application, the following error appeared:    Error 26 Mixed mode assembly is built against version 'v2.0.50727' of   the runtime and can not be loaded in the 4.0 runtime without additional   ...
asked by 15.12.2014 / 15:50
2
answers

Security Exception in UOL Host

I developed an ASP.NET MVC application that runs perfectly on the spot. When I upload it to UOL Host, when I access the page (www.manuelaibi.com.br) I get the error Security Exception ... It's important to note that I have already changed...
asked by 14.09.2018 / 14:50
1
answer

How to create an index for the fields of a viewmodel to be added dynamically

I am creating some fields dynamically in asp.net core mvc to register a contact. For this, I use a partialview. Within a div I'll add each row of fields as the user clicks the Add New Contact button. Through a FOR, I control the index of a...
asked by 06.09.2018 / 01:22