Questions tagged as 'asp.net-mvc'

2
answers

Keep records of synchronized tables between two different databases

We are performing a system migration, where some restructurings will be made in the current bank in a new bank. Basically I will have two banks BancoVelho and BancoNovo , having to keep the two updated according to the mapping of th...
asked by 22.04.2016 / 21:22
2
answers

Only parameterless constructors and initializers are supported in LINQ to Entities - Asp.Net MVC

I'm developing an application that manages courses. The student, when entering the inscription screen and clicking on the "enrollment" button, is associated to a course, that is, is enrolled. So far so good, only when I try to check if he is alr...
asked by 06.06.2015 / 18:17
1
answer

Difference in formatting content in TextArea and Notepad

I have an ASP.NET MVC application where I display in a text area a content that is in the database. @Html.TextArea("Avisos", Model.Avisos, new { @class = "form-control", rows = 50, style = "max-width:none", @readonly = "" }) The display is...
asked by 01.06.2016 / 20:58
1
answer

How to publish site made in Visual Studio?

I created a site in MVC in Visual Studio 2017. I want to know how to generate the necessary files for the website to work and in what folder I should include them.     
asked by 20.06.2017 / 02:46
1
answer

Working with Currency (decimal)

I'm working on a project where I had to use decimal for Currency field. As the American standard and different from the Brazilian soon had some difficulties. I found some examples of how to deal with it, but I did not get much succe...
asked by 08.11.2014 / 03:18
1
answer

ASP.NET MVC Scaffolding for any table

Does anyone know of a way I can automatically CRUD for my bank tables using MVC? I have 5 tables and would like to automatically generate SinglePage apps for them, without having to generate multiple views/controllers . Th...
asked by 19.12.2016 / 15:37
1
answer

Generate Danfe from NFe XML [closed]

I'm developing a ASP.NET MVC application with C# and need to transform XML of NF-e to Danfe in PDF , does anyone know any component for this?     
asked by 27.01.2016 / 11:00
1
answer

Error executing test project

I added a test project in my solution to test the methods of my MVC application. I created a base class, for the other classes with tests to inherit from it, which contains the creation of the context ( IdentityDbContext ). In the c...
asked by 19.11.2015 / 14:25
1
answer

Result of JSON on a table

Good afternoon, And I put a search field, and once the search is done, a table with the found users pops up. The part of the query I was able to do, but now I'm not getting popular (actually I have no idea how does, I researched but anyway I...
asked by 12.11.2015 / 22:33
3
answers

Access content from another project in the same Solution

The case is as follows: I have a Solution with two Projects, one Administrative and the other a WebSite, both using C # and MVC4. In the first project I save images and files in a Documents folder, and when accessing the WebSite I wo...
asked by 24.08.2015 / 20:04