As part of the move to support VS2022, it would be good to review what's actually generated as making any substantial changes in the future will become much more difficult in terms of maintaining backward compatibility.
This is a list for my own reference and items below may or may not make it into the Microsoft version. Any feedback, comments, or suggestions are welcome. Points created here will likely become separate issues on the Microsoft repo.
The C++ templates are out of scope for discussion here as I'm not able to provide suitably informed comments.
Changes to consider:
As part of the move to support VS2022, it would be good to review what's actually generated as making any substantial changes in the future will become much more difficult in terms of maintaining backward compatibility.
This is a list for my own reference and items below may or may not make it into the Microsoft version. Any feedback, comments, or suggestions are welcome. Points created here will likely become separate issues on the Microsoft repo.
The C++ templates are out of scope for discussion here as I'm not able to provide suitably informed comments.
Changes to consider:
IPageService(& use) is it really needed? Should the config go with the other DI config?developer TODOs" need better explainingLauncher.LaunchUriAsyncfailing (an error?) or returning false;WTS.ProjectConfig.xmlinside the project file?CanGoBackbefore callingGoBackwhen this is already done internally.OnNavigatedToshould include error handling if doing a lookup on passed parametersEnsureItemSelectedneeds a comment explaining it's purposeGetLocalized?NavigationService.NavigateToHelper.Jsonmethodsasyncwhen they don't need to be? Make them not! unless there's a good reason I'm missing.