Posts by Gabriel Braga • 53 points
9 posts
-
0
votes1
answer39
viewsA: How to put returned Web Service data into Json (GET) for an array or variable in c#
You need to deserialize the _dateResponse for a class that is compatible with this return. For example: public class DataResponse { public IList<Member> Members { get; set; } } public class…
-
0
votes1
answer20
viewsA: Appsettings session is not read when running on Docker Container
As said by @Ricardo Pontual, the problem was even by the case sensitive (which is considered in linux). I went through the entire code and found the difference in an appsettings call. var builder =…
-
0
votes1
answer20
viewsQ: Appsettings session is not read when running on Docker Container
Refer to Docker-Compose reading of Appsettings. When I run through Docker-Compose, I can’t load the file appsettings. That’s why, only when run by Docker-Compose it does not find the Appsettings…
-
1
votes1
answer35
viewsA: Pure C chained list error
You just declared the pointer new_element, missing to allocate memory to this pointer. novo_elemento = (lista*) malloc(sizeof(lista));
-
0
votes2
answers210
viewsA: Error trying to access ASP NET MVC page C#: "HTTP 404. The Resource you are Looking for (or one of its dependencies) could have been Removed"
Starting from what you said you never get into this method Redirecionarpaginadepesquisa, check its default route and the call for this action is correct, normally the default action is set with…
-
0
votes2
answers35
viewsA: How do I align a <ul> vertically?
Hello, given! I suppose you’re writing a pure css ''. Here’s how to do it very simply. <style> ul.nav-list li.nav-li{ display: block; float: left; width: 25%; } </style> And if you want…
-
0
votes1
answer34
viewsA: Login authorization
Your UPDATE does not have WHERE. This affects all table records. "UPDATE pdv_historico SET sangria = sangria" You should check according to your logic, and pass the appropriate ID (or other field)…
c#answered Gabriel Braga 53 -
0
votes1
answer62
viewsA: String to Json data conversion for Collections in mongodb
I imagine what you have explained is that this string is returned within a field of the consulted object. That said, I’ve prepared this little example for you to try. Similar issue #470437 class…
-
1
votes1
answer247
viewsA: Async/await generates a new thread?
The short answer is: The use of await generates a state machine that contains Awaitunsafeoncomplete, this method does not maintain the execution context. EDIT: It is worth mentioning that the use of…