Posts by bunomonteiro • 154 points
6 posts
-
2
votes1
answer625
viewsA: Javascript - Soma e Group By em Array
I implemented a solution with 'Vanilla JS' (pure Javascript :p ). Follows: //Classe de agrupamento function Foo(){ // data source this.data = []; // retorna um array de objetos agrupados por…
-
3
votes2
answers525
viewsA: Path null parameter
The problem is that your default route expects an "id" parameter and not an "information" parameter". In the action, change the parameter name to "id" or change its path so that it receives an…
-
3
votes1
answer5562
viewsA: Displaying message in a view through the C# MVC Controller
There are some ways. I implemented a very simple solution and you can access it through this .net fiddle For limitations of the tool I did not use inheritance, which I strongly recommend the use.…
-
0
votes2
answers2059
viewsA: Upload Image Asp net MVC
No way to recover files in input file. But there are some 'contouring solutions'. One of the solutions is the use of Ajax 'simulation'. Q: Why Ajax Simulation? A: Simple, Ajax does not support…
-
1
votes1
answer275
viewsA: Check the size of`Sessions` on the server
No problem using objects in the session, actually recommended. C# is object oriented (remember?). The use of individual keys in the session will depend on the data to be stored, ie, should make use…
-
1
votes3
answers861
viewsA: Time Count For Move (Threads)
Well, I’ve created a few classes to make it easier to understand. Comments will help you understand the flow. using System; using System.Threading; namespace Pt.Stackoverflow { class Program {…