Questions tagged as 'c#'

0
answers

How to capture the value of the body (stream) of a request without deleting it?

I am trying to capture the body of a request in an authorization class (AuthorizationHandler), however because this body is a Stream, after reading its contents the next post request can not be executed because the stream has already been read a...
asked by 24.07.2017 / 15:47
0
answers

Is there a tool for doing black box testing in C #?

I know that Java has the sikuli IDE. Does C # have a similar tool?     
asked by 16.07.2017 / 19:59
1
answer

Message when it exceeds FileUpload size

I'm trying to put a message to when it exceeds the size of the file in FileUpload, I've already packed it inside the web config, however it always returns me the following error:    Maximum request length exceeded. I saw this example on t...
asked by 14.07.2017 / 20:22
1
answer

C # - I can not map HERIT with the Entity Framework Core - Code First?

I am not able to map the Person and Client classes ( Table Per Type ( TPT ) using Entity Framework Core ), which Client inherits from Person. How do I do it? public class Pessoa { public int PessoaId { get; set; } }...
asked by 25.07.2017 / 23:14
0
answers

How to connect to the PostgreSql database using Xamarim

To create a Mobile application using the PostgreSql database, but not able to open the connection: My code: public class PgSql { private string connString = "Server=192.168.1.5;Port=5432;User ID=postgres;Password=Kalisba987;Database=Lot...
asked by 25.07.2017 / 21:09
0
answers

Xamarin forms - Selecting and displaying images

I'm developing an application in Xamarin forms and I'm needing a feature where the user can choose an image from the gallery and that image can be displayed in an Image control in the application. I'm working with MediaPlugin and I've also tri...
asked by 25.07.2017 / 13:13
1
answer

How can I catch an 'Exception' from 'CircuitBreaker' to generate a log?

I'm trying to capture through Action onBreak, but apparently it never throws the exception on the screen. using Polly; using System; using System.Collections.Generic; namespace CircuitBreakingPolly { public class Program { pub...
asked by 12.07.2017 / 20:29
0
answers

Project not found when trying to install Entity through NuGet

The drop-down list where all my solution projects are or should be listed is coming in blank. What should I do to list the projects there? I already gave a rebuild and still remains empty. The list is Default Project of Package Manage...
asked by 07.07.2017 / 14:11
0
answers

Change screen position

How can I set position, width, and height in full-screen coordinates with C # forms application? In my search I only found methods to change the position of the application window and change the resolution.     
asked by 07.07.2017 / 20:34
1
answer

Error in the encryption program c #

Hello, I'm trying to run my program done in C # with Windows Application, but it's giving a compilation error that I can not solve. Thanks to whoever can help me! Thankful ! (The error is happening in void Decode method) using System; using Sy...
asked by 12.07.2017 / 16:48