I have a web application and I'm using repository * and Unit Of Work .
In some examples I saw that after performing some change operation on the bank we should call the Dispose() method.
Instantiated UnitOfWork :
priv...
I've created the entire Identity structure to work with INT instead of GUID. Using DataBase First and included in the database, with a create script, the Identity tables modified (just changed AspNetUsers).
but every time I call:
userManage...
How do I write data to a file and then retrieve it?
I have an enrollment system. Start a folder in Windows and within it I generate the registrations sequentially. I finish and go home and the next day, I will generate new set of registrati...
I would like some help! I made a class to send e-mails in my application, where reports will be generated to be sent in PDF and XML format, but the e-mail is being sent with the path of the files in the body of the e-mail. and in my code there i...
I have the class Cliente which has a IList<Produto> and the produto class has a ClienteId (which is the FK) and a Cliente Cliente { get; set; } attribute. How do I access the Nome attribute of C...
I am creating a simple Form that has 3 TextBoxes and 3 buttons and I want to save the information entered in Textboxes in a table.
I have already created querys all within a class acessoBD , but I can not acc...
I have a problem, every time I check in visual studio lists these files:
I created a file (.tfignore) to try to ignore them but it did not work:
\packages
\obj
\bin
\_design\.sass-cache
\_design\scss
What am I doing wrong?
Does...
I am putting together a form where some fields may or may not be repeated, for example:
Course 1:
Course [input text]
Institution [input text]
Completion year [input text]
Course 2:
Course [inpu...
I am retrieving the information from the database and checking if the GIF and Image fields are null or not to show the user the best option in View Edit.
Anyway, here's the code where I make this check:
<div class="col-xs-12 col-md-4 col...
I have always used GetKeyState() to know if the user is pressing a key, but I see that many people use GetAsyncKeyState() more. With this I got the following doubts:
What's the difference between the 2?
When should I use e...