Posts by Bruno • 41 points
4 posts
-
0
votes3
answers1618
viewsA: How to group equal values with JSON
Hello. You can group objects simply using the library Underscorejs. Take the example: var data = [{ "Estado": "São Paulo", "OrderID": "Loja1-SP" }, { "Estado": "São Paulo", "OrderID": "Loja2-SP" },…
-
1
votes2
answers1026
viewsA: Record record in table at each user access
Friend, for this particular case, first I suggest you create a table specifically for this. Every time you perform an Update, database paging can get a bit "disorganized" and depending on the size…
-
2
votes2
answers744
viewsA: Deletion of related data - Entity Framework and C#
Alexandre, instead of using "Single", try using "Find". It would look like this for example: var endExcluido = Db.Enderecos.Find(endereco.EnderecoId); It will return null if it cannot find an item.…
-
1
votes0
answers117
viewsQ: Server Socket in Windows Azure, how to capture External Ip?
I developed an App Console, which creates an asynchronous Server Socket. A similar can be seen HERE. I also have a common Web App, which consumes the information entered in the database by the App…