Thank you for your feedback.
1. Main question:
I agree that restoring and saving the window size could also be done in the Presentation layer. This way you would save some lines of code.
The reason why I did it in the Application layer is that I didn’t want the Presentation layer to know how and where these settings are going to be saved.
I believe both approaches are valid.
2. Question: InitializeCultures?
The code in PresentationService.InitializeCultures() is a workaround for a major WPF localization
design issue. WPF Binding uses always “en-US” for formatting values.
The following line overwrites the default value of the Language property which is used by the Binding.
See also the LocalizationSample and its documentation.
3. XML Comments for sample projects
I will think about it.