server-core

How can I use the Browse for Folder dialog from a WPF app on Windows Server Core?

孤街醉人 提交于 2019-12-22 12:52:14
问题 I've tried using the FolderBrowserDialog and that seems to work on my development machine. However, this is not supported on a Windows 2008 R2 Server Core . I tried running this code anyway - the dialog appears, but the main display pane is not available. I've also tried using Windows shell32 API (SHBrowseForFolder) with the exact same results. ComDlg32 GetOpenFileName seems to work fine for selecting a file. Not sure what else to try. 回答1: There have been questions about why this is

Service Fabric Application vmImageSku

馋奶兔 提交于 2019-12-12 16:04:01
问题 When you deploy a Service Fabric Cluster as an ARM template you have the option of specify Windows Version (OS) of the Virtual Machine via the VmImageSku parameter. It is per default set to "2012-R2-Datacenter". I have not been able to find any examples of other values for this. My real question is can a Service Fabric Cluster be deployed to a Server Core? "vmImagePublisher": { "type": "string", "defaultValue": "MicrosoftWindowsServer", "metadata": { "description": "VM image Publisher" } },

How can I use the Browse for Folder dialog from a WPF app on Windows Server Core?

蹲街弑〆低调 提交于 2019-12-06 07:54:39
I've tried using the FolderBrowserDialog and that seems to work on my development machine. However, this is not supported on a Windows 2008 R2 Server Core . I tried running this code anyway - the dialog appears, but the main display pane is not available. I've also tried using Windows shell32 API (SHBrowseForFolder) with the exact same results. ComDlg32 GetOpenFileName seems to work fine for selecting a file. Not sure what else to try. There have been questions about why this is necessary. I agree with the sentiment. I did not give away a lot of details about the what and the why, and this is