Questions tagged as 'c#'

0
answers

Is there a difference between using the "FromForm", "BindProperty" and only parameters in the method?

When I use the FromForm and BindProperty attributes, or even only parameters in the method, I get the same result, both get the values that were sent from a form. Is there any difference between using one or the other? Some Web API ex...
asked by 24.04.2018 / 16:43
1
answer

How do I confirm the email using Sendgrid?

In my application when the user registers, an email has to be sent to him to confirm his account. I did everything here so something is wrong, could anyone help me? Initially I created a class called ServicoEmail: namespace Ebase.EmissorNFeW...
asked by 24.04.2018 / 14:57
0
answers

Is it possible to run a Windows executable stored in memory?

I have an executable that is not a .NET Framework assembly stored in byte[] , and I want to run it without creating a dedicated file for security reasons. The reason for not wanting to create a temporary file, storing the bytes and th...
asked by 26.04.2018 / 00:56
0
answers

Is it possible to filter objects inside a bucket through StorageClass?

Is it possible through the Amazon SDK to filter S3 objects through StorageClass? Currently I use the ListObjects method ( doc reference ) and I pass the ListObjectsRequest object ( doc reference ) and not there is a parameter t...
asked by 25.04.2018 / 16:14
0
answers

Blank data Stimulsoft

I have a report made in .Net using the Stimulsoft report generator. I have a report working perfectly, from it I made a copy by changing only the name, using the same selects and data source, but this second report does not contain the data, it...
asked by 25.04.2018 / 15:43
0
answers

Making the NAVmesh agent go to the nearest object

I am currently unable to get the object to go to the nearest object in Unity 3D. The agent goes to all objects and destroys them effectively, but I want him to travel to the nearest object. How can I do this knowing the object is destroyed?    ...
asked by 30.04.2018 / 15:36
0
answers

Save value of a variable inside a controller to use in method executed in another DLL

I need to save some information in User Login and use this information in another DLL. EX: Projeto.Web Projeto.Domain.dll When the user logs in to the Project.Web controller UserController, I need to save the project that the user...
asked by 17.04.2018 / 18:16
1
answer

Best way to ensure query isolation

I have the following scenario: A table in SQL Server that contains records of processes that can be run across multiple services ( Windows Services in C # ). Something like: CREATE TABLE Processo ( Id INT IDENTITY NOT NULL,...
asked by 18.04.2018 / 19:00
0
answers

Error converting null integer [duplicate]

I'm doing a conversion of a int value: int.Parse(detalhe.GANO_ID_ATIV.ToString()) But you're giving me an error A cadeia de caracteres de entrada não estava em um formato correto. What could be causing?     
asked by 18.04.2018 / 20:05
2
answers

What component can I use as a table in C #?

[RESOLVED] I get two information in the database, table products: ID and name. I need to show the user the ID and the name of all the products registered. The problem is that the listBox is just a list, it does not work like a table. Does anyone...
asked by 16.04.2018 / 12:47