Questions tagged as 'asp.net-mvc'

0
answers

Doubt in the html.Dropdownlist powered by a ViewBag

I'm having the following problem: I need to send, instead of Id of ViewBag , Municipio , which is contained in ViewBag.Cidades . How do I change from Id to Municipio when I click Search to send the municipality...
asked by 29.11.2017 / 21:10
1
answer

authentication with FormsAuthenticationTicket

I need to persist the inclusions, changes, and deletions that users make on the system, every single move the user makes, so I created a Id in the tables of my BD to know which user is writing the data. I was using the Session , when...
asked by 05.12.2017 / 13:02
0
answers

Create thread for sending email?

I'm developing an ASP.Net MVC application and I want to create a thread to send emails every 30 seconds. I need this because my provider does not allow sending many emails at the most time, so I thought about creating a List<String>...
asked by 28.11.2017 / 14:03
0
answers

Ninject - System.MissingMethodException: No parameterless constructor was defined for this object

I have the error;    No parameterless constructor has been defined for this object.       Description: An unhandled exception occurred during the execution of the   current Web request. Examine the stack trace for   more information about th...
asked by 23.11.2017 / 14:16
1
answer

Change the database instance

I'm doing a project in MVC and my problem is that my database is automatically created in the "localdb" instance, but I wanted it to be created in my instance that I created in SQL Server. p> Is there a possibility to change this? And if it ex...
asked by 05.12.2017 / 17:43
2
answers

Configuring AnglesJS Routes with ASP.NET MVC

I'm having trouble performing angular routing with asp.net mvc. I configured my routing in the app.js and when I click on my links the pages are not being redirected correctly, only page that appears correctly is the Home.html, but after I cl...
asked by 22.11.2017 / 15:27
1
answer

How to pass bidirectional parameters to an AngularJS directive

I need the parameterID="{{autor.ID}} attribute that in the directive is parameterID: '@' to be updated as soon as it is changed, that is, I need the bind to be bidirectional, I have seen in several places saying to use parameter...
asked by 29.11.2017 / 01:51
1
answer

Missing Session after requisition

Well guys, I have a problem that I have not been able to solve until now. It only starts to occur after an ajax request , where I generate a document and return it to url in a json , to be fetched in javascript , be assigned to a link and b...
asked by 16.11.2017 / 13:16
1
answer

Error Treatments 404 and 500

Good afternoon, my question is as follows as I am still new to asp.net and on the DDD I still have some doubt that it is in which layer using the DDD standard I would implement the 404 and 500 error handling, if would be in the presentation laye...
asked by 30.11.2017 / 19:28
0
answers

The created object's ID does not appear to be available in form

I'm using Angular with TypeScript and Asp.Net MVC. I create an object and the MVC controller returns the object to me. I'm getting this object in TypeScript and the object ID automatically goes to the Form via Bind. When I call the submit...
asked by 08.11.2017 / 18:07