Posts by Jaedson Barbosa • 139 points
7 posts
-
1
votes1
answer184
viewsA: UWP Desktop and database
In this case, I recommend the study of the Entity Framework Core, which can use Sqlite databases and whose mapping is fully automatic in simpler scenarios, where each "child" table has only one…
-
1
votes1
answer47
viewsA: How does C# run in the universal app?
The compilation of a UWP can be done using native code creation, which causes great performance in the app, but the build time increases significantly, only being recommended to create the final…
-
0
votes0
answers62
viewsQ: One control - multiple properties
I have a Combobox and it has as itemssource a struct with some properties, and I have a viewModel that has some properties of this struct, i wonder if there is a way to make the combobox set the…
-
1
votes4
answers144
viewsA: Problems initializing a type within a LINQ query
Create an explicit static converter in your Forumdto class that converts the Forum to Forumdto and in your select statement use it. It would also be interesting to replace a good part of the methods…
-
1
votes1
answer61
viewsA: How to resize an image using UWP?
You can use this function. public async Task ResizeImage(byte[] imageData, int reqWidth, int reqHeight, int quality) { var memStream = new MemoryStream(imageData); IRandomAccessStream imageStream =…
-
2
votes1
answer134
viewsQ: Create a background server
It is quite simple, this code works, but only once, after the first time it is started no other request is answered, as if after it runs once the Streamsocketlistener stops. public void…
-
4
votes0
answers139
viewsQ: How to get the highlight color of Windows?
How I access the user-defined Windows 10 highlight color.…