Posts by Jéssica Nathany • 29 points
7 posts
-
1
votes1
answer471
viewsA: C# - How to clear the "cache" of Visual Studio 2017 without having to close and reopen the program?
To clear the Visual Studio cache, go to the path below: C:\Users\SeuUsuario\AppData\Local\Temp\Temporary ASP.NET Files or by the enforceable: %Temp%\Temporary ASP.NET Files…
-
0
votes2
answers105
viewsA: Moq function in controller test
The Moq framework aims to simulate the database so you don’t necessarily need access to the database to test your business rules. Therefore, it does not make much sense to use Moq in this list. What…
-
-1
votes2
answers57
viewsA: Consume a JSON result (beginner)
In this example below I am deserializing the json in a string string result = Jsonconvert.Deserializeobject(result);
-
1
votes1
answer74
viewsA: differentiate between upper and lower case letters
you’ve tried it here ? suaString.ToUpper()); Or if you prefer to ignore lower case ex: var texto.Equals("Minha string", StringComparison.InvariantCultureIgnoreCase)…
-
1
votes3
answers86
viewsA: Deserializeobject Json
Another example using a json in a directory var diretorioJson = "@C:/JsonApi"; if (!Directory.Exists(diretorioJson)) Directory.CreateDirectory(diretorioJson); var arquivos =…
-
0
votes1
answer65
viewsA: Catching errors in Messagehandler
Hello, I would do something like that, see if it helps you public class ResponseHandler : DelegatingHandler { private static readonly ILog _logger = LogManager.GetLogger(typeof(ResponseHandler));…
-
0
votes1
answer33
viewsA: How to create a Controller for the Applicationuser
I would separate this Applitionuser class from the Loginviewmodel class. Create separate files and then add an Applitionusercontroller controller and use this Loginviewmodel to pass the values in…