Questions tagged as 'asp.net-mvc'

1
answer

How do I use an existing database in an ASP.NET MVC C # and Identity application?

I need to authenticate users. So I created my database with all my business rules, made the connection to the ASP.NET MVC application, and started programming. Now, when I was doing the part of user I noticed that there are two connection...
asked by 12.10.2016 / 13:55
1
answer

id3 display album image in mp3 file using c # mvc razor

I'm building an application in C # and ASP.NET MVC and Razor that reads data from mp3 files, but I can not display the album image. I have tried several libraries available, extracted all the information but the album cover art, I believe it is...
asked by 20.09.2016 / 02:34
1
answer

Pre-filled model returns null in HttpPost

I'm building a page in the ASP.NET project where I have a model that contains 2 lists, which I fill in one initially in the get and then go to the View where I fill in another list, but when I receive this object, it returns me with all data in...
asked by 12.09.2016 / 22:58
0
answers

datepicker loses formatting and mouse icons

Personal I'm implementing the Datepicker with date and time (default pt-br) I'm using the component that is in this link: link Reading the manual I used Nuget to install the components Install-Package Bootstrap.v3.Datetimepicker I c...
asked by 20.01.2017 / 21:30
0
answers

How to configure OwinContext Authentication in SimpleInjector 3.3.2?

In my current application I use SimpleInjector 3.2.0 with a configuration similar to this: var container = new Container(); container.Options.DefaultScopedLifestyle = new WebRequestLifestyle(); container.Register<IUserStore<Usuario>&...
asked by 26.01.2017 / 22:44
0
answers

MVC - Display messages from the controller

Within my MVC application we have several situations in which, depending on the business rules of the function, several messages should be displayed to the user. We are currently using the Jquery "Toastr" library to display messages to the us...
asked by 10.10.2016 / 15:25
1
answer

Doubt with Time asp.net mvc

I have timer that I'm testing and it returns me an error:    An exception of type 'System.Web.HttpException' occurred in System.Web.dll but was not handled in user code       Additional information: Response is not available in this c...
asked by 05.10.2016 / 22:10
1
answer

Configure MVC route

Within the Controller folder of my MVC project I have created a subfolder called registers, which contains a controller called Cadasters (the registration module home page) and the other controllers on each page. Within the view folder, I hav...
asked by 20.07.2016 / 20:42
1
answer

RazorPDF2 - The document has no pages

I'm trying to use RazorPDF2 to generate the PDF of a view . I put a breakpoint in both the controller and the view and both are running without any error, however after finishing execution always returns the error: / p>    The documen...
asked by 28.04.2016 / 13:43
0
answers

Default for using logs

I have a project organized as follows: 1. Web (ASP.NET MVC) 2. Application 3. Domain 4. Infra.Data 5. Infra.Log (NLog) 6. Infra.IoC The project references are as follows: - Web --> Application - Web --> Domain - Application --> D...
asked by 04.11.2016 / 21:28