Questions tagged as 'asp.net-mvc'

0
answers

Error 500.19 - Internal Server Error - requestFiltering

I have an application that lets you upload with large files. I have already uploaded my site in the hosting, I try to navigate the main page and I get error: Detailed Error Information: Module RequestFilteringModule Notificatio...
asked by 23.11.2018 / 15:08
1
answer

Submit of the form inside a modal view me redirects to the view page

I have an MVC project. A View Home / Index loads View Users / Create as a bootstrap modal. However, my <input type="submit" /> redirects me to the Users / Create view address. I wanted the application to remain in the View Ho...
asked by 01.10.2018 / 15:39
0
answers

Returning View from error after calling a pop up Modal

Hello, I have a problem with the front end of my application. I have the following method to return errors: public class ErrorController : Controller { //Erro 500 Servidor public ActionResult Index() {...
asked by 21.09.2018 / 16:17
2
answers

Dynamic Fields for Controller - ASP.NET MVC

I have this JavaScript which creates new fields for me when I need it and it makes the call to create JSON . This counter within the adicionarCampos() function is required for something else regardless of what I need, even...
asked by 15.10.2018 / 17:16
0
answers

Link not accessible in IIS

I'm doing an application in C # using the MVC standard. It uses a Google FireBase database. Running this application through the Visual Studio debugger works normally, but when you try to publish it to localhost , through the IIS manager, the...
asked by 05.09.2018 / 22:14
0
answers

Save photo in MVC

I'm trying to save a photo to the database by following this link , but it is not working. Here is the HTML code: <div class="form-group"> <label asp-for="Foto" class="control-label"></label>...
asked by 17.09.2018 / 21:33
0
answers

Format cell size in .csv files

Gero esse csv public ActionResult geraExcel() { List<vwFinancingReportViewModel> lista = new List<vwFinancingReportViewModel>(); lista = dadosPlanilha(); StringBuilder sb = new StringBui...
asked by 18.09.2018 / 19:35
0
answers

Controller access problem [closed]

ApiController [Produces("application/json")] [Route("api/[controller]")] public class ClienteController : Controller { private IClienteRepository _ClienteRepository; public ClienteController(IClienteRepository clienteRepository)...
asked by 21.08.2018 / 16:44
1
answer

DataBase First approach with Lazy Loading disabled?

I'm going to start a project and the Sql Server database already exists so I'll take the Database First approach as an example of this article Entity Framework Tutorial . Home I will create the .emdx file and import the respective ta...
asked by 29.09.2018 / 23:59
1
answer

How do I pass a View value to the Controller in ASP.NET core?

I want to move from View <table style="width:100%"> <tr> <th>Serviço</th> <th>Data</th> <th>Feito</th> </tr> @{ foreach (var item in ViewBag.servico) { <tr> &l...
asked by 14.09.2018 / 00:25