Questions tagged as 'c#'

1
answer

Rijndael encoding with base 64 in C #

I'm doing a Rijndael encryption and I imagine I'm close to finishing it, but when decrypting I get the error:    Invalid length of data to be decrypted. using System.Text; using static Array; class EncoderRijndael { public static Ri...
asked by 06.07.2017 / 22:03
2
answers

HttpClient how to make a request every 1 second

How can I make a request via HttpClient every 1 second? The server that I send the requests drills the request if it is one after the other with a response: "RequestBlocked" What I wanted was this: I had 2 requests made, however he would m...
asked by 01.08.2017 / 03:29
1
answer

JavaScript Parameters Passing to [Webmethod] C #

I would like to know how to pass parameters from a JavaScript call to an ASMX WebService Method without having to define a name for the parameters. Example: $scope.testar = () =>{ filtros ={ id:1, funcionalidade:02...
asked by 31.07.2017 / 15:17
0
answers

Is it possible to "debug" my application inside the server?

I have an ASP.NET application in C #, and I do some debugs (obvious) in Visual Studio, however I always have problem with directories, because the Godaddy directory for example is different from the localhost directory, and I need do some testin...
asked by 31.07.2017 / 18:15
0
answers

How to make the enemy turn to the player? [closed]

Hello, I'm developing a game where the enemy follows the player to try to capture it. But he follows the player on his back, face back, or sideways. Is there any way for the enemy to follow the player facing him? void Awake () { player =...
asked by 18.07.2017 / 03:48
0
answers

SimpleBrowser - Click a button on a Web page

Good morning, I'm trying to upload a file online and send this file loaded after clicking the button. All this using the SimpleBrowser. However, in no way can I click this button, I believe that something from the site itself is preventing th...
asked by 01.08.2017 / 17:27
0
answers

RavenDB - How to query words by ignoring the accent

I need to do a person name query by ignoring the accent. Ex: In my document I have a record with the name "Letícia". If I consult for "leticia" the result comes empty. The behavior I need is to find the person even though the query is without...
asked by 18.07.2017 / 19:01
0
answers

Creating Collections from Azure Cosmos DB

Well I was creating a Poc with Generic Interface for manipulation of my data, but I had difficulties doing with WebApi MVC, I did with good old MVC. But for all JSON issues, I think I lose a lot if I do not work with REST. Could you help me?...
asked by 18.07.2017 / 15:44
1
answer

Error closing serial port in C #

I'm new to C #. I made a program, which is continuously reading the serial port data and showing in a textBox. So far, everything works fine. The problem occurs when I try to close the port, it gives the following error    The I / O operat...
asked by 30.06.2017 / 18:10
3
answers

Problem mapping entities related to Fluent API

I'm starting with EF and I'm having trouble mapping the relationship between my entities. 1. Entities There are two entities in the project that I'm using to practice the subject. These are: User Soccer team A user has a unique so...
asked by 30.06.2017 / 21:27