Questions tagged as 'c#'

1
answer

How can I use WebBrowser in web forms asp.net c #?

I'm trying to use WebBrowser in ASP.NET C # My question and log on to a site using it using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Web; using System.Web.UI; using System.Web....
asked by 20.09.2016 / 03:13
0
answers

Using asymmetric encryption between Xamarin PCL Client and Web Api

I'm having a problem creating an asymmetric encryption between my client app using Xamarin Forms (PCL) and the server (Web Api). I did using symmetric and asked for me to modify. I already do everything via SSL, but still want asymmetric encrypt...
asked by 20.09.2016 / 16:40
0
answers

Code to receive file via POST

I'm doing a webAPI to receive files via post. The client will send via classic vb with the following code: Set content = CreateObject("MSXML2.XMLHTTP.6.0") content.Open "POST", url, False content.setRequestHeader "TOKEN", token content....
asked by 20.09.2016 / 14:34
1
answer

Task in await Task.WhenAll New transaction is not allowed because there are other threads running in the session

I'm doing a program Console , where basically it executes these 4 procedures Retrieves a IEnumerable<_Url> Parse these urls Inserts into Database Mark this _Url, as read (processed) so it does not process anymore...
asked by 10.10.2016 / 19:24
1
answer

ConnectionString different for different builds

I have two connection string, one when I'm developing that uses my local bank and another for when I deploy the application in Azure. I want the application to know which one to use depending on the type of build I do. What is the simplest wa...
asked by 13.08.2015 / 22:58
0
answers

How to return the value of an ID when selecting a record from an auto complete

Good afternoon. Reformulating my doubt. As I said I'm doing a sales site in asp.net. I tried to create a search engine, Google style and Facebook, which will filter the results. I discovered that in ASP.NET it would be very tricky, so I got the...
asked by 15.08.2016 / 19:40
2
answers

Multiple connections to devices using Sockets [closed]

I have a method that connects to a card reader via TCP / IP (ip, port) using Sockets. For the 1: 1 connection is working, but now I need to connect to more than one device simultaneously. Would I have to create a Thread for each connection, or w...
asked by 16.08.2016 / 21:11
0
answers

Load bank table per session system

I am developing an application, where one of the modules is the product register, and within that register, I have the fiscal part. In this fiscal part, I have to define an NCM, and consequently the IPI rate, so I created a table with NCM cod...
asked by 11.08.2016 / 04:30
1
answer

MOIP consume Json Web Api MVC

I need to use the Moip payments API as payment method of my system, how do I do the request via json ? Documentation Consultar cliente GET Por meio desta API é possível consultar as informações e detalhes de um cliente. ENDPOINT...
asked by 10.08.2016 / 18:13
0
answers

Client chat Can not read data from the transport connection:

Hello everyone it's the following I did a server tc pque already concludes, in the last days I have been doing the client but it is giving the following error    Can not read data from the transport connection: One   the lock operation was in...
asked by 12.08.2016 / 12:00