Questions tagged as 'c#'

0
answers

Consume SOAP with another REST service (Asp.Net Core 2.0)

This is my first post in Stack Español (SoEsp) This is my interface and classes of my soap service Interface [ServiceContract] public interface IOptOutService { [OperationContract] [WebInvoke] void PostOptOut(OptOutEntity client...
asked by 22.06.2018 / 13:31
1
answer

Access attributes from a class arraylist c #

I have to create a menu where one of its options sets the value of the attribute of a class, that class already has its objects instantiated and saved in an arraylist. The question is how do I access that attribute? class Producto { public...
asked by 19.06.2018 / 00:07
0
answers

Web API in WPF with odata

I have a desktop application in WFP, I want to consume the Odata Service (TripPin) Web API, and show some data in a listview! if you can help me make the connection to odata and be able to bring the data to my ListView I would appreciate it    ...
asked by 19.06.2018 / 01:39
0
answers

toggle checkbox with ajax

I have a web application with mvc where I have a toggle button to change the status (on / off) but I do not want to reload the entire page once the status is changed, also for some reason the data I need from the view for the controller do not p...
asked by 19.06.2018 / 15:34
0
answers

How to update datagrid?

Good morning, I want my datagrid to be updated automatically, I have tried with this line of code;    this.almacenTableAdapter.Fill (this.almacenDataSet.almacen); but I have not been able to do it, the tabs without windows forms, I do the...
asked by 18.06.2018 / 21:09
0
answers

Can you customize the error message of a property of type int?

I have the following model public class UpdateViewModel { [DataType(DataType.PhoneNumber, ErrorMessage = "El campo teléfono particular debe ser un número")] [Required(ErrorMessage = "El campo teléfono particular es obligatorio")] [...
asked by 25.06.2018 / 15:06
0
answers

Msbuild does not recognize version 15.0

Hi, I'm trying to use a project but it's a more updated version. Try installing the new msbuild but keep showing me.    Msbuild does not recognize version 15.0 Would not there be some easy way to solve this project error? Try convertin...
asked by 17.06.2018 / 15:22
0
answers

How to join several pdf in 1 single

I have the following problem, I am trying to join several pdf files in 1, I have a pdf url list and the idea is to mix them in one. I try this: The string list has: http://dlls.medezweb.com/resources/432714927725926.pdf http://dlls.medez...
asked by 21.06.2018 / 21:24
0
answers

model ApplicationUser does not appear in the 'Model class' list

When I try to create a new controller using a 'Controller with view and using Entity Framework' this particular model does not appear inside, which makes me wonder: why would not a class appear in this list? Please help me with this My dat...
asked by 22.06.2018 / 00:15
1
answer

Replace pdf 'in use' in iframe javascript c #

I have a web application that shows a pdf file in an iframe the pdf that I show in the iframe I look for them in a specific route, I show it to the user so he can decide if he wants to substitute another one or not. If you want to replace...
asked by 20.06.2018 / 11:15