- IIS enable net.tcp 协议
Right click on application, manage application -> Advanced setting
service change to “http,net.tcp”
1.1 IIS add application pool for .net 4.0
-
Database does not have privilege to write
Modify database file and its folder’s privilege setting -
Library project could not set config
Refrence C# library project 不支持 -
SQLite binary 版本不兼容, release, debug 加新的配置
调用SQLite binary,有时会提示版本兼容问题,需要修改project的配置文件,在release和debug下加入以下配置: -
IIS does not need to set notify port
在使用WCF service时,需要进行服务器地址配置,需要加端口号,但如果选择用IIS托管,可以省略端口号。IIS 可以自己管理。 -
windows service install, use InstallUtil.exe
打开VS2017 command 窗口
InstallUtil.exe UpdateServiceAgent.exe
InstallUtil.exe -u UpdateServiceAgent.exe -
NuGet package restore failed for project PCDCInterface: Unable to find version ‘1.0.0.3’ of package ‘Newtonsoft.Json’.
Solution: PCDCInterface need the libraies of Json during compile, please copy ‘packages’ to the root of solution -
WPF ContextMenu MenuItem binding command does not work
Solution: Check this
a. Create a proxy class
b. Add proxy binding to resource
c. Modify ContextMenu -
How to show text in Progress bar
<!–
–>
-
Button in DataGrid binding command does not work
-
How to popup context menu when click left mouse
-
How to close window in ViewModel
- Update WCF Service reference could not get the latest service contract Check the folder permission, unselect “ReadOnly”