Skip to main content

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
4 votes
1 answer
630 views

Configuring NavigationService and NavigationView in one place

Context The main goal located a configuration NavigationService and NavigationView in one place. In order to minimalization a ...
Viewed's user avatar
  • 294
3 votes
0 answers
1k 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 ...
trzy's user avatar
  • 31
5 votes
1 answer
2k 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 ...
user2950509's user avatar
4 votes
0 answers
64 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 ...
user875234's user avatar
2 votes
2 answers
87 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 ...
HIG Dev's user avatar
  • 23
3 votes
0 answers
971 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 ...
Euridice01's user avatar
1 vote
1 answer
154 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? ...
Tibrus's user avatar
  • 11
2 votes
3 answers
291 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. ...
LightGreen's user avatar
3 votes
1 answer
2k views

MVVM Calling command by name from CommandBindings

For example I have this property in my ViewModel. ...
Aram Kocharyan's user avatar
2 votes
1 answer
334 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 ...
Gibs's user avatar
  • 123
6 votes
1 answer
1k 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 ...
user avatar
1 vote
1 answer
78 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 ...
Robert Snyder's user avatar
5 votes
2 answers
269 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 ...
Francisco Aguilera's user avatar
12 votes
2 answers
696 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 ...
user avatar
3 votes
4 answers
137 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, ...
Loreno's user avatar
  • 143
1 vote
1 answer
2k 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 ...
Tolani's user avatar
  • 2,463
6 votes
1 answer
65 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 ...
dnanon's user avatar
  • 193
2 votes
1 answer
186 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 ...
dub stylee's user avatar
6 votes
1 answer
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 ...
Darksody's user avatar
  • 161