Questions tagged [uwp]

The Universal Windows Platform is a common platform for all devices running Windows 10. The UWP is separated into device families like PC, Mobile, IoT and many more. The UWP allows you to use common code for all device families.

Filter by
Sorted by
Tagged with
3
votes
0answers
362 views

TCP client reading socket asynchronously

I'm relatively new to .Net/UWP networking and have been trying to make sense of the APIs. I'd like to implement a TCP client that is capable of reading and sending messages independently (there is no ...
5
votes
1answer
810 views

Deflating a Stream using System.IO.Compression

I receive messages from a MessageWebSocket connection frequently, which are compressed with zlib. The following code decompresses them to a stream which can be read ...
4
votes
0answers
50 views

Coordination function

This function started very clean but I had to add requirements: Added a Stopwatch to only update the caller periodically. I guess that responsibility could be ...
2
votes
2answers
82 views

Limit and merge saving operations

Use case: I want to automatically save data in the storage when a property of an object that implements INotifyPropertyChanged changes. Therefore I subscribe to the PropertyChanged event and call a ...
3
votes
0answers
719 views

List nearby bluetooth devices as well as devices in the database

I made a list of all nearby printer devices (that match the same name in the database) as well as all printer devices from the database. They are separated in the list by "--". I am able to get the ...
1
vote
1answer
120 views

Speed up text layout UWP

I created a control that loads text, with richtextblock and richtextblockoverflow. The control is not very fast indeed what I would like to speed up is the LoadText method. It's possible to do it? ...
2
votes
3answers
232 views

Custom CalendarPicker control

I have a calendar view that is slow in uploading. The part that slows down the calendarview should be in the CalendarPageViewModel.cs. But I do not know how to improve it because it's a loop for. ...
3
votes
1answer
990 views

MVVM Calling command by name from CommandBindings

For example I have this property in my ViewModel. ...
2
votes
1answer
283 views

Applying EF core in Universal Windows Apps using a large database

I am building my UWP app and really stuck in the architecture. For the past few days, I have been reading MVVM, Entity Framework, SQLite, Code First, etc and I am confused how I will implement ...
1
vote
0answers
426 views

Creating dynamic Hamburger Menu with Template10

I'm creating a UWP application and I use Template10 for displaying a Hamburger Menu (HM). What I'd like is to have a submenu open when I click on a menu button. I created the Hamburger Menu in ...
6
votes
1answer
960 views

Checkers Board Editor

I created a board editor for my Checkers game. This allows the user to create any board position and copy the FEN string representing that board, which can then be used to create a game from that ...
1
vote
1answer
63 views

Transitioning a NavigationPane to use MVVM

A friend of mine asked for help with his UWP app. Me being a .NET developer with an okay amount of WPF experience decided I could give a hand as well as give some good tips and tricks. After a few ...
5
votes
2answers
187 views

Proper separation of concerns for stateful logger

This is a code review for a set of loggers following this question. The project is a universal windows application targeting Windows Phone. There are concerns over the tight coupling between the ...
11
votes
2answers
584 views

English Draughts

The basic UI for my checkers app is complete, so the next step is to come here for review. I have not built my Facade over my F# game library, so some of the type usages are a little strange; this ...
3
votes
4answers
120 views

Optimizing algorithm of analyzing incoming data

I've been making an app, which gets data from external device (via bluetooth) and displays received data. I'm still pretty new to programming and I'm struggling to finish this app. I wrote some code, ...
1
vote
1answer
1k views

Displaying picture collections from a user's picture library

Currently, I have been digging up my old codes. One of the applications I worked on was an Image editing phone app that displays a collection of random pictures from a user's picture, which I limited ...
6
votes
1answer
59 views

Constructing entities from API with foreign keys

I'm loading three kinds of entities from an API (in csv format unfortunately). While the first two are fine, the third has foreign keys to both of them. What I'm currently doing is constructing the ...
2
votes
1answer
160 views

Save/Load GridView layout using SettingsService

I am able to save my GridView layout by storing a string representation of the items in the ...
6
votes
1answer
1k views

UWP scan for music files

I am implementing a music player for Windows 10, and I am in a bit of a pickle at the library phase. I am scanning for all the files in a music library (plus optional folders the user selects) and I ...