Questions tagged as 'asp.net-mvc'

0
answers

asp.net mvc 5 create a collection of cookies

How can I create and recover a collection of cookies based on the same name of cookie or with different names? What I want to get to have would be something like this: httpCookie.Domain = "localhost"; httpCookie.Expires = Date...
asked by 09.05.2018 / 20:50
0
answers

Unique hardware id

I have an application in asp with c # they have a login which takes me to a responsive menu validating security through roles, but that is not the problem, it turns out that people who want validations need a table to keep the unique id of the d...
asked by 10.05.2018 / 03:39
0
answers

Add Writable computed observable to an object with Knockout JS

I'm trying to add a variable Writable computed observables to an object, I use it to add radio buttons to each row of a table with Knockout, I have this: JS var PageBackControls = { ApplyRecommended: ko.observable(true)...
asked by 09.05.2018 / 16:37
0
answers

how to get the value of a stored procedure

I have a question I am using stored procedures with oracle and take them to a web page in asp the question is that I have this stored procedure from which I get the login and password of the database. But I also want to bring a description th...
asked by 09.05.2018 / 18:45
1
answer

How to create relationships in EF Core from an entity model

how can I create relationships with EF code Client - > Customer registration PersonalInformation - > Personal information of the client Payment History - > Condo payment reports public class Client{ [Key] public int Id { ge...
asked by 07.05.2018 / 20:54
1
answer

AmbiguousMatchException in asp.net mvc 5 c #

I have trouble trying to send an id by url, the thing is that this id is being called from a partialview () and I would have to redirect it to another view, but it generates the following exception AmbiguousMatchException. Here's how I send t...
asked by 14.05.2018 / 07:21
1
answer

error in row path of a reader () inside another reader ()

I have this method where I try to place a while read() into another with a different command name to retrieve data from my database, but it generates an error that says    {"There is already an open DataReader associated with this Comm...
asked by 07.05.2018 / 04:32
1
answer

Why do I get this TaskCanceledException error when consuming an api per post?

I tell you that I am making an application in asp.net mvc 5 before which I am consuming an api by means of asynchronous methods Task<> . For this I have a method created with which I consume data through request post but it gives me...
asked by 07.05.2018 / 17:13
2
answers

How to return the value of an HttpPostedFileBase in a Post method of the MVC Controller C #

I have a model like the following: public class Model_ejemplo { public HttpPostedFileBase image { get; set; } } in my controller I receive my model with this property [HttpPost] public ActionResult index(Model_ejemplo Model) { Retur...
asked by 21.05.2018 / 15:55
0
answers

How should I do to open an application developed in .net when invoked by the local host ?.

I'm very new to the subject and I have the following situation. I have some sources that I can obtain from the web application which I must support. Validate the size of the .dll associated with the application (e.g. webappsam.dll) vs the .d...
asked by 10.05.2018 / 17:41