Questions tagged as 'asp.net-mvc'

1
answer

Entity Framework Code First. How to generate two banks from two projects, with the second project using classes from the first

Speak up! I have a question regarding Entity Framework 6. I have two projects A and B, A being a shared core. It has some classes like Parents, State, City, Address etc. In project B, I have some classes like Candidate, Vacancy etc....
asked by 04.07.2016 / 19:00
1
answer

How to configure angular routes with asp.Net Mvc

I created a controller that calls the Index.cshtml and within Index.cshtml contains the <ng-view> directive that should render index.html but does not work. Controller public class ClienteController : C...
asked by 05.07.2016 / 01:53
0
answers

Error in uploading a page in html

Good afternoon, I have a problem when I upload a html page to the server, I created this project in mvc5 c # and I use filezilla to upload things to the server when the part I made was a popup and when I click the button it goes to another page,...
asked by 07.07.2016 / 19:39
0
answers

How to write text and image together in mysql with asp.net mvc

I am creating a forum in my application and would like to know how to save image and text together in Mysql, as in the message field there will be a WYSIWYG editor so I will have to save both text and images, among others. What kind of field do...
asked by 03.06.2016 / 01:09
0
answers

How to make a screen in ASP.NET MVC, which relates the ID's of a same table

Well, I have little programming experience so I need help with this. I have a table named Person , and a table to create the relationship between itself PersonParceiro , relationship 1 to several. that is, the Person of Tbl PersonParceir...
asked by 17.10.2016 / 23:28
1
answer

Error generating E-mail Confirmation Token in Asp.MVC

I made an application that uses the Asp.Net MVC login system. I tried locally sending the token for email confirmation and it works perfectly, but when I went to Azure in WebApp in the free account for testing purposes I always get this error wh...
asked by 31.05.2016 / 14:49
0
answers

Error trying to insert data from a mixed table

I'm starting an MVC project and I'm having a problem that I can not fix. [Table("InfoGeralEmpresa")] public class InfoGeralEmpresa { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInC...
asked by 08.06.2016 / 23:11
3
answers

Save image to desktop with html2canvas

How do I save the image to the desktop or to some other folder on the user's machine? I took the very good example of how to generate the image and save it to a server folder here: Take print screen and save image automatically in C # I...
asked by 19.05.2016 / 19:42
0
answers

Post values in a Listbox without being selected

Is it possible to post the values of a Listbox without being selected? My ListBox: @Html.ListBoxFor(m => m.SelectedCatequistas, new MultiSelectList(ViewBag.SelectedCatequistas, "PessoaID", "Nome"), htmlAttributes: new...
asked by 17.05.2016 / 17:41
1
answer

List Entity Framework

I am creating action from Edit to edit the data of my models . What happens is that I use ViewModel to "join" several models into one. Okay, I can get data from models which are not List<> , ie models that are not a li...
asked by 09.06.2016 / 05:32