I'm making a simple insert of a user class, it's taking almost 10 seconds to save the information. So I tried to find other solutions to solve my performance problem and found Dapper .
My question is there any way to use the two...
Hello,
I'm passing some problems on the server and with the application developed in MVC ...
I checked that the site was restarting the application pool alone, so I went into Event Viweer and realized that the application is experiencing S...
I'm building PDF's, and I need to print a string with special characters. For this I am constructing the string as follows (using iTextSharp ):
PdfPCell teste = new PdfPCell(new Phrase("<O meu texto> '\u20ac'", fontetexto));
Now...
I have string with the page's HTML, is there any way to save it as an image? Render the entire page as an image, and if possible, store it in MemoryStream .
I'm using the following code in a Class.
public Int16 Endereco = 0x7302;
byte[] Data = BitConverter.GetBytes(Endereco);
Array.Reverse(Data);
[...]
I would like to receive the value for the Endereco variable of a String...
I'm using a component and need to load it with HTML snippet that comes in a variable. For that I created this JQuery:
$(document).ready(function(){
$('.mentions-kinder').html('@HttpUtility.HtmlDecode(Model.FormulaRecover)');
});
But eve...
I have the following JSON :
{"TicketID":["116","114","112","108","107","104","102"]}
When I try to deserialize to string[] I get the error:
Server Error in Application '/'.
No constructor without parameters
was...
I'm using WebForms. It has a certain part of this application where I send, through Ajax, a base64 string, which is the code of an image.
I'm used to using PHP and I use the base64_encode and base64_decode functions to do the ba...
How to put the string 22012018 which is a date in the American format to save to the database?
The code below returns me the value:
2018-22-01
That is, YEAR-DAY-MONTH
The right one would be MONDAY-DAY
EstFData = Path.GetFileNam...