惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cisco Talos Blog
Cisco Talos Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
博客园 - 司徒正美
N
News and Events Feed by Topic
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
Help Net Security
Help Net Security
N
News and Events Feed by Topic
O
OpenAI News
L
LangChain Blog
F
Full Disclosure
A
About on SuperTechFans
The GitHub Blog
The GitHub Blog
GbyAI
GbyAI
Cloudbric
Cloudbric
W
WeLiveSecurity
Application and Cybersecurity Blog
Application and Cybersecurity Blog
罗磊的独立博客
Attack and Defense Labs
Attack and Defense Labs
PCI Perspectives
PCI Perspectives
TaoSecurity Blog
TaoSecurity Blog
AI
AI
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
C
CXSECURITY Database RSS Feed - CXSecurity.com
C
Cisco Blogs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Apple Machine Learning Research
Apple Machine Learning Research
C
CERT Recently Published Vulnerability Notes
T
The Exploit Database - CXSecurity.com
T
Threatpost
P
Palo Alto Networks Blog
G
GRAHAM CLULEY
Last Week in AI
Last Week in AI
雷峰网
雷峰网
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
Cyber Attacks, Cyber Crime and Cyber Security
博客园 - 聂微东
P
Proofpoint News Feed
Latest news
Latest news
S
SegmentFault 最新的问题
J
Java Code Geeks
T
Threat Research - Cisco Blogs
H
Help Net Security
P
Privacy International News Feed

博客园 - FredGrit

WPF ContentControl invoke Template from resource, reuse datatemplate WPF deserialize xml string as List via [XmlRoot] and [XmlElement] attribute WPF ContentControl Template WPF DatagridTemplate Binding DataTemplate WPF TreeView explicitly given key name to HierarchicalDataTemplate WPF, parse XMlDocument as List WPF two separated datagrid scroll synchronously both in horizontal and vertical via behavior WPF ContentControl Template is ControlTemplate, ContentTemplate is DataTemplate and must assign value to Content explicitly WPF TreeView show WCF config file WPF itemscontrol loaded downloaded data from WCF via httpclient WPF TreeView HierarchicalDataTemplate DataTemplate, Enum get enum name WPF consume xml generated by WCF , C# deserialize xml to List WPF implemented ICommand and IDisposable WPF ContextMenu,MenuItem command can binding to datacontext's command directly WPF usercontrol pass contextmenu command via implemented Freezable class which does not attach on Visual tree, then invoked in caller MVVM WPF consume data generate by WCF and save via ContextMenu Command in MVVM C# export List<T> to excel file via EPPlus WPF ContextMenu does not rely on host visual tree, the Freezable can exist independently, convey dependency property in usercontrol to caller C# JsonConvert DeserializeObject MissingMemberHandling.Ignore when the source model is completed and the required is partial Freezable objects do not require attachment to the WPF visual tree, maintain a persistent lifetime, and serve as a reliable binding relay between a detached ContextMenu and its parent host control. C# run httplistener to act as service application asynchronously in console, semaphoreslim allow the max concurrent number WPF Microsoft.Xaml.Behaviors.WPF, EventTrigger EventName="PreviewMouseDown" the tunnel event, while the MouseDown can't trigger the command because it was swallowed WPF customize command implemented ICommand, volatile read method is thread safe, preventing cpu and comipler reorder and optimization. WPF ItemsControl load huge 50M+ data WPF consume data generated by WCF periodically in json format WPF customize command based on ICommand and manually trigger WPF consume data generated by grpc services C# produce and consume data via Google.Protobuf WCF produce message and WPF consume periodically via DispatcherTimer WCF deconstruct WebConfig includes bindings, behaviors, service, endpoint ,serviceHostingEnvironment C# insert data into SQLite in batch periodically WPF SQLite SQLiteStudio WPF customize MultiSelectComboBox based on combobox WPF DataGrid Context menu binding command and commandparameter to datacontext WCF set fixed port as http://localhost:8888/ via Project /Properties/web/project url to create virtual directory WPF customize datagrid behavior based on behavior&lt;datagrid&gt; with command and command parameter WPF Microsoft Visual Studio XAML designer is busy WCF WebHttpBinding support both http and https WCF support basicHttpBinding and webHttpBinding - FredGrit WCF TestClient set fixed configuration file WPF consume http json and update periodically via DispatcherTimer WPF Prism.Core version 9.0.537 implemented navigation register singleton with splash screen, pass global variable via RegisterSingleton method WPF render periodically via DispatcherTimer, customize behavior - FredGrit Python cosume WCF service via requests in json format WPF call webHttpBinding from WCF WCF binding webHttpBinding is used to web browser in json format both in request and response WPF invoke WCF dll periodically via DispatcherTimer WCF webHttpBinding is open for web browser and wpf WPF DataTemplateSelector WPF DataGrid customize behavior with multiple commands and command parameters then invoke in mvvm WPF DataGrid behavior customize command and command parameter then invoke and implemented in MVVM WPF ItemsControl customize behavior and save all items WCF service can be accessed by browser WPF WCF produce data as service and WPF consume data as client periodically WPF GRPC and Probuf generated data as service then consume by wpf periodically WPF customize behavior based on Microsoft.Xaml.Behaviors.Wpf with command and commandparameter WPF call data from CPP wrapper dll via CLI\CLR - FredGrit WPF customize behavior WPF get gpu information via System.Management WPF ItemsControl IsItemsHost=True WPF Customize behavior and dependency property command C# Serilog, Serilog.Sinks.Console, Serilog.Sinks.File C# Serilog both in file and console C# serialize huge data more than 100M via splitting into batch and concatenating as one big json file WPF WeakReference C# serialize datetime then deserialize, print lose precision. resolve by ToString(&quot;o&quot;) C# produce data and send via WebSocket as service, Python,Flask,HTML as consumer invoke periodically C# write generated data service and sent via websocket, then consume by python periodically C# DateTime print precision to microseconds C# WebSocket console as service provide data, another console as client,send request periodically C# WebAPI [HttpGet(&quot;{cnt}&quot;] pass argument WPF implement ICommand with async execute WPF ListBox control virtualization in mvvm WPF Data Source invoke from web api C# WebAPI
Windows powershell view huge file via command
FredGrit · 2026-03-29 · via 博客园 - FredGrit

image

//Top 100
PS D:\C\ConsoleApp11\ConsoleApp11\bin\Debug\net10.0> Get-Content Json_202603292232039734.json -TotalCount 100

//Last 100
PS D:\C\ConsoleApp11\ConsoleApp11\bin\Debug\net10.0> Get-Content Json_202603292232039734.json -Tail 100

//View Top 100

PS D:\C\ConsoleApp11\ConsoleApp11\bin\Debug\net10.0> Get-Content Json_202603292232039734.json -TotalCount 100
[
  {
    "Id": 5,
    "Name": "Name_5",
    "Author": "Author_5",
    "Abstract": "Abstract_5",
    "ISBN": "ISBN_5_4222999a449b4da3bf356b432bce5739",
    "Summary": "Summary_5",
    "Title": "Title_5",
    "Topic": "Topic_5"
  },
  {
    "Id": 6,
    "Name": "Name_6",
    "Author": "Author_6",
    "Abstract": "Abstract_6",
    "ISBN": "ISBN_6_7a89da35e94b4317b68f9e97f6b90368",
    "Summary": "Summary_6",
    "Title": "Title_6",
    "Topic": "Topic_6"
  },
  {
    "Id": 7,
    "Name": "Name_7",
    "Author": "Author_7",
    "Abstract": "Abstract_7",
    "ISBN": "ISBN_7_5c5d5a07e655463b8d8ccd0e44d7fe1b",
    "Summary": "Summary_7",
    "Title": "Title_7",
    "Topic": "Topic_7"
  },
  {
    "Id": 8,
    "Name": "Name_8",
    "Author": "Author_8",
    "Abstract": "Abstract_8",
    "ISBN": "ISBN_8_059ba0fa800b46ed84789b96e2de4f6b",
    "Summary": "Summary_8",
    "Title": "Title_8",
    "Topic": "Topic_8"
  },
  {
    "Id": 9,
    "Name": "Name_9",
    "Author": "Author_9",
    "Abstract": "Abstract_9",
    "ISBN": "ISBN_9_75bf6de2dea047e38ba4a38118ca2e79",
    "Summary": "Summary_9",
    "Title": "Title_9",
    "Topic": "Topic_9"
  },
  {
    "Id": 10,
    "Name": "Name_10",
    "Author": "Author_10",
    "Abstract": "Abstract_10",
    "ISBN": "ISBN_10_8a88b5590cee4915846bcccd74df5ad4",
    "Summary": "Summary_10",
    "Title": "Title_10",
    "Topic": "Topic_10"
  },
  {
    "Id": 11,
    "Name": "Name_11",
    "Author": "Author_11",
    "Abstract": "Abstract_11",
    "ISBN": "ISBN_11_c5e784a553b14328a80803b37738279a",
    "Summary": "Summary_11",
    "Title": "Title_11",
    "Topic": "Topic_11"
  },
  {
    "Id": 12,
    "Name": "Name_12",
    "Author": "Author_12",
    "Abstract": "Abstract_12",
    "ISBN": "ISBN_12_7937c7a7426e45bdb7cf4d63b0d65141",
    "Summary": "Summary_12",
    "Title": "Title_12",
    "Topic": "Topic_12"
  },
  {
    "Id": 13,
    "Name": "Name_13",
    "Author": "Author_13",
    "Abstract": "Abstract_13",
    "ISBN": "ISBN_13_3da1da3659a5473a8b7e9577be125886",
    "Summary": "Summary_13",
    "Title": "Title_13",
    "Topic": "Topic_13"
  },
  {
    "Id": 14,
    "Name": "Name_14",
    "Author": "Author_14",
    "Abstract": "Abstract_14",
    "ISBN": "ISBN_14_d462122c9efd4d43931adf3d9385fa0c",
    "Summary": "Summary_14",
    "Title": "Title_14",
    "Topic": "Topic_14"
PS D:\C\ConsoleApp11\ConsoleApp11\bin\Debug\net10.0>

image

//View last 100

PS D:\C\ConsoleApp11\ConsoleApp11\bin\Debug\net10.0> Get-Content Json_202603292232039734.json -Tail 100
PS D:\C\ConsoleApp11\ConsoleApp11\bin\Debug\net10.0> Get-Content Json_202603292232039734.json -Tail 100
    "Id": 189999991,
    "Name": "Name_189999991",
    "Author": "Author_189999991",
    "Abstract": "Abstract_189999991",
    "ISBN": "ISBN_189999991_bc94790dacfd4d42b84735b7fef0b536",
    "Summary": "Summary_189999991",
    "Title": "Title_189999991",
    "Topic": "Topic_189999991"
  },
  {
    "Id": 189999992,
    "Name": "Name_189999992",
    "Author": "Author_189999992",
    "Abstract": "Abstract_189999992",
    "ISBN": "ISBN_189999992_7270224e41d94076a7ec53d4a5532d5d",
    "Summary": "Summary_189999992",
    "Title": "Title_189999992",
    "Topic": "Topic_189999992"
  },
  {
    "Id": 189999993,
    "Name": "Name_189999993",
    "Author": "Author_189999993",
    "Abstract": "Abstract_189999993",
    "ISBN": "ISBN_189999993_f44a16a2e8de4fa494b7db623cccf1c9",
    "Summary": "Summary_189999993",
    "Title": "Title_189999993",
    "Topic": "Topic_189999993"
  },
  {
    "Id": 189999994,
    "Name": "Name_189999994",
    "Author": "Author_189999994",
    "Abstract": "Abstract_189999994",
    "ISBN": "ISBN_189999994_dd96ff6bdacf4ee29e29447d407f0d27",
    "Summary": "Summary_189999994",
    "Title": "Title_189999994",
    "Topic": "Topic_189999994"
  },
  {
    "Id": 189999995,
    "Name": "Name_189999995",
    "Author": "Author_189999995",
    "Abstract": "Abstract_189999995",
    "ISBN": "ISBN_189999995_666abc9018e747478662d217a1af5def",
    "Summary": "Summary_189999995",
    "Title": "Title_189999995",
    "Topic": "Topic_189999995"
  },
  {
    "Id": 189999996,
    "Name": "Name_189999996",
    "Author": "Author_189999996",
    "Abstract": "Abstract_189999996",
    "ISBN": "ISBN_189999996_a3668a8d2fee42219c6c8d3225ad9765",
    "Summary": "Summary_189999996",
    "Title": "Title_189999996",
    "Topic": "Topic_189999996"
  },
  {
    "Id": 189999997,
    "Name": "Name_189999997",
    "Author": "Author_189999997",
    "Abstract": "Abstract_189999997",
    "ISBN": "ISBN_189999997_cbdab7d1a5214ffdad620cf85ff3d5aa",
    "Summary": "Summary_189999997",
    "Title": "Title_189999997",
    "Topic": "Topic_189999997"
  },
  {
    "Id": 189999998,
    "Name": "Name_189999998",
    "Author": "Author_189999998",
    "Abstract": "Abstract_189999998",
    "ISBN": "ISBN_189999998_7040a0f7746f42aaab880a999f60e14e",
    "Summary": "Summary_189999998",
    "Title": "Title_189999998",
    "Topic": "Topic_189999998"
  },
  {
    "Id": 189999999,
    "Name": "Name_189999999",
    "Author": "Author_189999999",
    "Abstract": "Abstract_189999999",
    "ISBN": "ISBN_189999999_680b20aa26db428f9df88718b994bbe2",
    "Summary": "Summary_189999999",
    "Title": "Title_189999999",
    "Topic": "Topic_189999999"
  },
  {
    "Id": 190000000,
    "Name": "Name_190000000",
    "Author": "Author_190000000",
    "Abstract": "Abstract_190000000",
    "ISBN": "ISBN_190000000_0d223484c444471dad3d73f81d95056b",
    "Summary": "Summary_190000000",
    "Title": "Title_190000000",
    "Topic": "Topic_190000000"
  }
]
PS D:\C\ConsoleApp11\ConsoleApp11\bin\Debug\net10.0>

image