摘要: //WCF //D:\C\WcfService4\WcfService4\Web.config <?xml version="1.0"?> <configuration> <appSettings> <add key="aspnet:UseTaskFriendlySynchronizationCon 阅读全文
posted @ 2026-05-04 22:06 FredGrit 阅读(6) 评论(0) 推荐(0)
摘要: //D:\C\WcfService4\WcfService4\Web.config <?xml version="1.0"?> <configuration> <appSettings> <add key="aspnet:UseTaskFriendlySynchronizationContext" 阅读全文
posted @ 2026-05-04 21:47 FredGrit 阅读(5) 评论(0) 推荐(0)
摘要: //WCF using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.T 阅读全文
posted @ 2026-04-29 20:07 FredGrit 阅读(3) 评论(0) 推荐(0)
摘要: //D:\C\WcfService3\WcfService3\Web.config <?xml version="1.0"?> <configuration> <appSettings> <add key="aspnet:UseTaskFriendlySynchronizationContext" 阅读全文
posted @ 2026-04-27 22:49 FredGrit 阅读(5) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Xaml.Behaviors.WPF public class IdDataTemplate : DataTemplateSelector { public DataTemplate ZeroTemplate { get; set; } publi 阅读全文
posted @ 2026-04-27 19:19 FredGrit 阅读(5) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Xaml.Behaviors.WPF public class ListBoxBehavior : Behavior<ListBox> { private ContextMenu ctxMenu; private MenuItem saveItem 阅读全文
posted @ 2026-04-26 22:58 FredGrit 阅读(4) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Xaml.Behaviors.WPF public class DataGridBehavior : Behavior<DataGrid> { private ContextMenu ctxMenu; private MenuItem saveIt 阅读全文
posted @ 2026-04-25 23:08 FredGrit 阅读(8) 评论(0) 推荐(0)
摘要: Install-Package Microsoft.Xaml.Behaviros.WPF Install-Package Newtonsoft.json public class ItemsControlBehavior:Behavior<ItemsControl> { private Contex 阅读全文
posted @ 2026-04-24 22:17 FredGrit 阅读(8) 评论(0) 推荐(0)
摘要: //D:\C\WcfService2\WcfService2\IBookService.cs using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; 阅读全文
posted @ 2026-04-23 19:52 FredGrit 阅读(8) 评论(0) 推荐(0)
摘要: 1.In WCF,Add WCF Service,BookService 2. //D:\C\WcfService1\WcfService1\Book.cs using System; using System.Collections.Generic; using System.Linq; usin 阅读全文
posted @ 2026-04-22 21:29 FredGrit 阅读(10) 评论(0) 推荐(0)