Open DigitalPlatform opened 5 years ago
何时用 Task.Delay() 何时用 Thread.Sleep()? https://stackoverflow.com/questions/20082221/when-to-use-task-delay-when-to-use-thread-sleep
AssemblyVersion 中的版本号问题 https://www.cnblogs.com/mq0036/p/9429708.html
https://www.cnblogs.com/s5689412/p/9825010.html 如何解决“请考虑使用 app.config 将程序集“XXXXXXXX”从版本XXXX重新映射到版本XXXX”的问题
https://stackoverflow.com/questions/2418542/clear-the-net-downloaded-application-cache-without-mage
https://docs.microsoft.com/en-us/visualstudio/deployment/clickonce-cache-overview?view=vs-2019
https://dev.to/chriscooper01/user-roaming-profile-clickonce-application-restore-2io1
https://textslashplain.com/2019/01/02/demystifying-clickonce/
https://docs.microsoft.com/en-us/visualstudio/msbuild/generateapplicationmanifest-task?view=vs-2019
<filespec> ::=
{
(
NAME = logical_file_name ,
FILENAME = { 'os_file_name' | 'filestream_path' }
[ , SIZE = size [ KB | MB | GB | TB ] ]
[ , MAXSIZE = { max_size [ KB | MB | GB | TB ] | UNLIMITED } ]
[ , FILEGROWTH = growth_increment [ KB | MB | GB | TB | % ] ]
)
}
https://stackoverflow.com/questions/8837207/create-database-using-script-at-the-default-path
https://stackoverflow.com/questions/38590066/log-file-is-growing-with-simple-recovery-mode
https://blogs.msdn.microsoft.com/sqlserverstorageengine/2007/03/28/turn-auto_shrink-off/
https://stackoverflow.com/questions/9992223/file-getlastwritetime-seems-to-be-returning-out-of-date-value GetLastWriteTime 并不确保返回最新的最后修改时间
https://social.msdn.microsoft.com/forums/en-US/b7df1480-2f6e-443f-abf5-c9bf4736c5d8/window-with-topmost-without-focus Window with topmost without focus
https://stackoverflow.com/questions/683330/how-to-make-a-window-always-stay-on-top-in-net
https://stackoverflow.com/questions/257587/bring-a-window-to-the-front-in-wpf
https://www.codeproject.com/Articles/38507/Using-the-WPF-FocusScope
https://www.cnblogs.com/yfceshi/p/6791943.html
https://blogs.msdn.microsoft.com/toub/2006/05/03/low-level-mouse-hook-in-c/
https://stackoverflow.com/questions/11572411/sendkeys-send-method-in-wpf-application
https://stackoverflow.com/questions/18103540/wpf-client-to-screen-point-transformation
http://csharphelper.com/blog/2014/10/perform-hit-testing-in-a-3d-program-that-uses-wpf-xaml-and-c/
https://engy.us/blog/2010/03/08/saving-window-size-and-location-in-wpf-and-winforms/
https://stackoverflow.com/questions/1190423/using-setwindowpos-in-c-sharp-to-move-windows-around
https://stackoverflow.com/questions/9003212/how-to-change-size-of-wpf-window-dynamically
https://devblogs.microsoft.com/premier-developer/taskschedulers-and-semaphores/ TaskSchedulers and semaphores 如何让 TaskScheduler 同一个时刻只允许一个 Task 运行
https://stackoverflow.com/questions/20084695/c-sharp-lock-and-async-method
https://devblogs.microsoft.com/pfxteam/await-and-ui-and-deadlocks-oh-my/
https://stackoverflow.com/questions/5401549/ways-to-improve-wpf-ui-rendering-speed
https://github.com/Microsoft/vs-threading/blob/master/doc/cookbook_vs.md
https://github.com/microsoft/vs-threading/issues/447#issuecomment-481481389
https://www.qqxiuzi.cn/bianma/zifuji.php
https://www.cnblogs.com/sosoft/p/3456631.html Unicode中文和特殊字符的编码范围
https://michaelscodingspot.com/c-deadlocks-in-depth-part-1/ https://michaelscodingspot.com/c-deadlocks-in-depth-part-2/ https://michaelscodingspot.com/how-to-debug-net-deadlocks-c-deadlocks-in-depth-part-3/
https://stackoverflow.com/questions/15021304/an-async-await-example-that-causes-a-deadlock
https://devblogs.microsoft.com/pfxteam/are-deadlocks-still-possible-with-await/
https://olitee.com/2015/01/c-async-await-common-deadlock-scenario/
https://github.com/meetanthony/crccsharp
https://github.com/IvoBrandao/CRCMaster/blob/master/CRC%20Master/CRCMaster.cs
https://github.com/Gaofei244617/CRC/blob/master/CRC/CRC.cs
https://blog.csdn.net/tx_yu/article/details/4789067 CRC 校验算法
https://blog.csdn.net/xundh/article/details/42417829 串口监听工具
https://blog.csdn.net/u012842630/article/details/85346397 串口监听工具
https://www.virtual-serial-port.org/articles/best-serial-port-monitor-utilities/
https://docs.microsoft.com/en-us/dotnet/api/system.string.normalize?view=netcore-3.1
https://docs.microsoft.com/en-us/windows/win32/intl/nls--unicode-normalization-sample
https://csharpindepth.com/articles/Unicode
https://gingter.org/2018/07/10/how-to-correctly-normalize-strings-and-how-to-compare-them-in-net/
https://stackoverflow.com/questions/9349608/how-to-check-if-unicode-character-has-diacritics-in-net
https://stackoverflow.com/questions/1448372/how-to-detect-windows-logon-event
https://stackoverflow.com/questions/5298823/how-to-identify-logon-event-in-window-service
https://stackoverflow.com/questions/6799955/how-to-detect-windows-shutdown-or-logoff
https://www.codeproject.com/tips/508779/simple-windows-service-to-find-system-turn-on-turn CanHandleSessionChange
https://forums.asp.net/t/1178230.aspx?C+determine+which+user+a+windows+service+is+running+as
===
https://stackoverflow.com/questions/5089601/how-to-run-a-c-sharp-application-at-windows-startup
=== https://stackoverflow.com/questions/31793088/c-sharp-run-wpf-application-from-windows-service
https://stackoverflow.com/questions/17908993/starting-a-process-with-a-user-name-and-password
https://stackoverflow.com/questions/3147911/wait-until-a-process-ends
https://stackoverflow.com/questions/234231/creating-application-shortcut-in-a-directory
https://stackoverflow.com/questions/4897655/create-a-shortcut-on-desktop/14632782#14632782
https://www.howtogeek.com/190897/how-can-you-open-and-edit-windows-.lnk-shortcut-files/
https://www.tenforums.com/tutorials/48507-enable-disable-edge-swipe-screen-windows-10-a.html
Open the Local Group Policy Editor.
2 In the left pane of Local Group Policy Editor, navigate to the location below. (see screenshot below)
Computer Configuration/Administrative Templates/Windows Components/Edge UI
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EdgeUI
AllowEdgeSwipe DWORD
(delete) = Enable 0 = Disable
https://blog.sverrirs.com/2016/04/webrequest-caching-in-csharp.html
https://segmentfault.com/a/1190000012272060 Word强大插件Writage使用手册
https://blog.csdn.net/horses/article/details/108536784 Pandoc:一个超级强大的文档格式转换工具
https://www.jianshu.com/p/4721ddd27027 实用帖 | 如何为 Markdown 文件自动生成目录?
https://zhuanlan.zhihu.com/p/43155010
https://www.zhihu.com/question/20849824
https://www.jianshu.com/p/cf1465772027
To save the images, add the option --extract-media=./ to the command above. It will create a folder media with all the images and they will be correctly shown in the markdown file
pandoc -f docx -t markdown danji.docx -o danji.markdown --extract-media=./
http://timestamp.comodoca.com/rfc3161 http://timestamp.digicert.com
https://winterdom.com/2015/08/03/wcf-be-careful-with-allowcookiestrue
https://stackoverflow.com/questions/24774236/c-sharp-mdi-winforms-child-activation
https://stackoverflow.com/questions/19382705/c-sharp-volatile-keyword-usage-vs-lock
这里实现了一个专门的 AtomicBoolean 类来处理并发环境下的 bool 变量修改问题 https://stackoverflow.com/questions/6661055/using-interlocked-compareexchange-operation-on-a-bool-value
讨论了 volatile 变量的各种 https://stackoverflow.com/questions/154551/volatile-vs-interlocked-vs-lock
https://stackoverflow.com/questions/10556806/make-a-linked-list-thread-safe