<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[芝麻麻雀-Asp.Net学习之路]]></title><description><![CDATA[记录工作、生活中遇到点点滴滴的技术问题]]></description><link>https://blog.csdn.net/weixin_42930928</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_42930928]]></copyright><item><title><![CDATA[使用ValueConverters扩展实现枚举控制页面的显示]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/142712448</link><guid>https://blog.csdn.net/weixin_42930928/article/details/142712448</guid><author>weixin_42930928</author><pubDate>Sat, 05 Oct 2024 11:14:53 +0800</pubDate><description><![CDATA[中还有很多有意思的实现，大家可以通过阅读源码查看具体的功能，同时也可以提升自己的编码水平。]]></description><category></category></item><item><title><![CDATA[使用MessagePipe实现进程间通信]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/142615148</link><guid>https://blog.csdn.net/weixin_42930928/article/details/142615148</guid><author>weixin_42930928</author><pubDate>Sat, 28 Sep 2024 14:15:20 +0800</pubDate><description><![CDATA[可以用于.NET和Unity上面的高性能的内存/分布式消息传递管道。适用于发布/订阅模式、CQRS的中介模式、Prism中的EventAggregator、IPC（进程间通信）-RPC等。依赖注入过滤器管道更好的事件同步/异步带键值的/无键值的单例/Scoped广播/响应（+更多）内存/进程间/分布式比标准的 C# event更快，是Prism的EventAggregator的78倍。下面是官方给出的测试截图每次使用publish分配的内存更少。]]></description><category></category></item><item><title><![CDATA[Wpf使用NLog将日志输出到LogViewer]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/142416772</link><guid>https://blog.csdn.net/weixin_42930928/article/details/142416772</guid><author>weixin_42930928</author><pubDate>Sat, 21 Sep 2024 14:36:29 +0800</pubDate><description><![CDATA[使用LogViewer可以接收多个app端的日志输出，并可以根据需要选择显示的日志级别。有助于开发人员可以实时关注程序的运行流程。]]></description><category></category></item><item><title><![CDATA[Avalonia开发（一）环境搭建]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/133083026</link><guid>https://blog.csdn.net/weixin_42930928/article/details/133083026</guid><author>weixin_42930928</author><pubDate>Wed, 20 Sep 2023 15:38:41 +0800</pubDate><description><![CDATA[多平台支持，包括Windowsmac OSLinuxiOSAndroid（很快支持）、IDE支持，扩展支持，Resharper支持依托.NET平台社区支持MIT协议。]]></description><category></category></item><item><title><![CDATA[使用命令重置Visual Studio的用户数据]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/124464893</link><guid>https://blog.csdn.net/weixin_42930928/article/details/124464893</guid><author>weixin_42930928</author><pubDate>Thu, 28 Apr 2022 08:00:44 +0800</pubDate><description><![CDATA[I suddenly started experiencing this error in Visual Studio 2015 and 2017, when trying to move the yellow cursor (next statement) in debugmode.
enter image description here
The code I want to move over is nothing special (i.e does not include any try-catch]]></description><category></category></item><item><title><![CDATA[【WPF】后台代码实现绑定ComboBox的SelectedItem功能]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/124319937</link><guid>https://blog.csdn.net/weixin_42930928/article/details/124319937</guid><author>weixin_42930928</author><pubDate>Thu, 21 Apr 2022 13:51:44 +0800</pubDate><description><![CDATA[在编写程序的时候，由于不是使用标准的MVVM模式进行数据操作的，再给ComboBox的SelectedItem做Binding的时候需要如下工作：
namespace CodeBehindBinding
{
    /// &lt;summary&gt;
    /// Interaction logic for MainWindow.xaml
    /// &lt;/summary&gt;
    public partial class MainWindow : Window
    {
      ]]></description><category></category></item><item><title><![CDATA[Android Studio Adb连接错误]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/123494807</link><guid>https://blog.csdn.net/weixin_42930928/article/details/123494807</guid><author>weixin_42930928</author><pubDate>Tue, 15 Mar 2022 09:53:05 +0800</pubDate><description><![CDATA[安装上Android Studio后新建一个程序一直找不到可用设备，在Event Log 出现一下错误：
9:23	* daemon not running; starting now at tcp:5037

9:23	* daemon started successfully

9:23	Sending Tracking request failed!

9:23	Adb connection Error:远程主机强迫关闭了一个现有的连接。

9:23	Cannot reach ADB server, ]]></description><category></category></item><item><title><![CDATA[Prism+WPF使用DependencyInjection实现AutoMapper的依赖注入功能]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/120302951</link><guid>https://blog.csdn.net/weixin_42930928/article/details/120302951</guid><author>weixin_42930928</author><pubDate>Wed, 15 Sep 2021 10:14:20 +0800</pubDate><description><![CDATA[前言
在使用PRISM+WPF开发项目的过程中，需要使用AutoMapper实现对象-对象的映射功能。无奈PRISM没有相关对AutoMapper相关的类库，于是转换一下思想，在nuget 中存在有关使用Microsoft.Extensions.DependencyInjection来实现AutoMapper的依赖注入方法，那能不能将DryIoc和Microsoft.Extensions.DependencyInjection一起使用来实现依赖注入的功能呢？通过在网上搜索，发现
痕迹大佬实现了【WPF Pr]]></description><category></category></item><item><title><![CDATA[WPF设计是指定要使用的ViewModel]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/118680626</link><guid>https://blog.csdn.net/weixin_42930928/article/details/118680626</guid><author>weixin_42930928</author><pubDate>Mon, 12 Jul 2021 17:54:45 +0800</pubDate><description><![CDATA[在写WPF项目时，采用MVVM模式开发。如果对View中使用的模板不能在设计时进行指定，那边在写bingding的时候需要记住定义好的属性或者命令。那如何在View界面可以使用智能提醒的功能呢？
那就需要在View中设计状态时指定ViewModel。
可以参考如下代码：
d:DataContext="{d:DesignInstance viewModels:ViewAViewModel,
    IsDesignTimeCreatable=True}"


...]]></description><category></category></item><item><title><![CDATA[在.NET 6中使用DateOnly和TimeOnly]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/117422013</link><guid>https://blog.csdn.net/weixin_42930928/article/details/117422013</guid><author>weixin_42930928</author><pubDate>Mon, 31 May 2021 17:18:34 +0800</pubDate><description><![CDATA[千呼万唤始出来
在.NET 6(preview 4)中引入了两个期待已久的类型，将作为核心库的一部分。DateOnly和TimeOnly允许开发人员表示DateTime的日期或时间部分。这两个类型为值类型（struct type），可以在代码中独立处理日期或时间概念时使用，它们定义在System命名控件中，使用它们可以与数据库中允许表示相同类型数据的方式保持一致。具体来说，这些类型与SQL Server数据库中日期和时间类型可以很好的进行匹配。
注意：如果你要使用这两种类型，需要下载并安装.NET 6(pr]]></description><category></category></item><item><title><![CDATA[在 Ubuntu 上安装 .NET SDK 或 .NET 运行时]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/117330690</link><guid>https://blog.csdn.net/weixin_42930928/article/details/117330690</guid><author>weixin_42930928</author><pubDate>Thu, 27 May 2021 15:52:21 +0800</pubDate><description><![CDATA[在wsl Ubuntu 20.04上面安装dotnet链接
https://docs.microsoft.com/zh-cn/dotnet/core/install/linux-ubuntu
Ubuntu 支持 .NET。 本文介绍如何在 Ubuntu 上安装 .NET。 如果 Ubuntu 版本不受支持，则该版本不再支持 .NET。
如果要开发 .NET 应用，请安装 SDK（包括运行时）。 或者，如果只需运行应用程序，请安装运行时。 如果要安装该运行时，建议安装 ASP.NET Core 运行时，因为它]]></description><category></category></item><item><title><![CDATA[Microsoft Build 2021第二天]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/117319186</link><guid>https://blog.csdn.net/weixin_42930928/article/details/117319186</guid><author>weixin_42930928</author><pubDate>Thu, 27 May 2021 08:53:40 +0800</pubDate><description><![CDATA[C++20 Ranges are complete in Visual Studio 2019 version 16.10

https://devblogs.microsoft.com/cppblog/c20-ranges-are-complete-in-visual-studio-2019-version-16-10
WinUI Desktop Unit Tests

https://devblogs.microsoft.com/ifdef-windows/winui-desktop-unit-test]]></description><category></category></item><item><title><![CDATA[Microsoft Build,Develop Blog更新]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/117280934</link><guid>https://blog.csdn.net/weixin_42930928/article/details/117280934</guid><author>weixin_42930928</author><pubDate>Wed, 26 May 2021 09:48:02 +0800</pubDate><description><![CDATA[.NET BLOG
发布.NET 6预览版4
https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-4/
发布**.NET MAUI**预览版4
https://devblogs.microsoft.com/dotnet/announcing-net-maui-preview-4/
介绍运行时.NET热重载时编辑代码的体验
https://devblogs.microsoft.com/dotnet/introducing-net-ho.]]></description><category></category></item><item><title><![CDATA[Xamarin.Forms: 无限滚动的ListView（懒加载方式）]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/113370150</link><guid>https://blog.csdn.net/weixin_42930928/article/details/113370150</guid><author>weixin_42930928</author><pubDate>Fri, 29 Jan 2021 10:27:06 +0800</pubDate><description><![CDATA[说明
在本博客中，学习如何在Xamarin.Forms应用程序中设计一个可扩展的无限滚动的ListView。这个无限滚动函数在默认的Xamarin.Forms不存在，因此我们需要为此添加插件。在这里我们需要知道无限滚动时如何工作的。首先，显示固定的数据。一旦用户滚动到末尾，我们可以在列表的末尾添加更多的数据，这样，列表就会不断滚动，直到数据结束。
让我们开始吧
第一步
创建一个新的Xamarin.Forms工程，打开Visual Studio，点击新建-&gt;项目-&gt;在对话框中选择移动应用(Xama]]></description><category></category></item><item><title><![CDATA[WPF对DataGrid添加行号]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/112506383</link><guid>https://blog.csdn.net/weixin_42930928/article/details/112506383</guid><author>weixin_42930928</author><pubDate>Tue, 12 Jan 2021 09:34:01 +0800</pubDate><description><![CDATA[可以定义如下的方法，在行发生变化时调用一下此方法即可，当然也可以扩展为静态方法使用DataGrid直接调用
private void UpdateDataGridRowHeaderIndex(DataGrid dataGrid)
{
    Task.Run(() =&gt;
    {
        Dispatcher.Invoke(new Action(() =&gt; {
            foreach (var row in dataGrid.Rows())
            {
]]></description><category></category></item><item><title><![CDATA[ContentPresenter使用DataTemplate]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/110915548</link><guid>https://blog.csdn.net/weixin_42930928/article/details/110915548</guid><author>weixin_42930928</author><pubDate>Wed, 09 Dec 2020 09:12:19 +0800</pubDate><description><![CDATA[在使用自定义样式内容时，有时也需要在自定义样式中绑定一下数据模板
可以使用ContentPresenter的ContentTemplate绑定定义好的资源 DateTemplate
用法代码如下
&lt;!-- 定义的某个数据模板 --&gt;
&lt;DataTemplate x:Key="Dt"&gt;
    &lt;StackPanel VerticalAlignment="Center" Orientation="Vertical"&gt;
        &lt;TextBox Vertical]]></description><category></category></item><item><title><![CDATA[想要在控件里面使用触发器，只需要将下面代码填入控件中间即可]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/110817268</link><guid>https://blog.csdn.net/weixin_42930928/article/details/110817268</guid><author>weixin_42930928</author><pubDate>Mon, 07 Dec 2020 13:53:00 +0800</pubDate><description><![CDATA[不使用ControlTemplate模板，直接使用触发器和属性设置，可以使用下面代码进行设置
&lt;TextBlock.Resources&gt;
    &lt;Style TargetType="{x:Type TextBlock}"&gt;
        &lt;Setter Property="Background" Value="Blue"&gt;
        &lt;/Setter&gt;
        &lt;Style.Triggers&gt;
            &lt;Tr]]></description><category></category></item><item><title><![CDATA[DataGridTemplateColumn中添加单元格模板和单元格编辑模板]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/110199556</link><guid>https://blog.csdn.net/weixin_42930928/article/details/110199556</guid><author>weixin_42930928</author><pubDate>Thu, 26 Nov 2020 18:24:36 +0800</pubDate><description><![CDATA[我们在使用DataGridTemplateColumn实现自定义单元格时，需要使用CellTemplate，如果单元格需要进行编辑，在需要添加CellEditingTemplate。 示例如下，这样就可以使用双击进入到编辑功能。
&lt;DataGridTemplateColumn
    MinWidth="140"
    MaxWidth="300"
    Header="样本名称"&gt;
    &lt;DataGridTemplateColumn.CellTemplate&gt;
      ]]></description><category></category></item><item><title><![CDATA[WPF有关控件和模板样式设计的微软官方文档]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/110167717</link><guid>https://blog.csdn.net/weixin_42930928/article/details/110167717</guid><author>weixin_42930928</author><pubDate>Thu, 26 Nov 2020 10:17:31 +0800</pubDate><description><![CDATA[说明
如果你正在使用WPF开发应用程序，相信这篇博客会对你有用。希望你能认真的阅读
正文
此文主要以Button为例进行介绍此文档的组成部分。
Button Parts
Button控件没有任何命名的部件
Button 状态
这里列出了Button控件的视觉状态列表




VisualState Name
VisualStateGroup Name
描述




Normal
CommonStates
默认状态


MouseOver
CommonStates
鼠标指针定位到此空间上的状态


Press]]></description><category></category></item><item><title><![CDATA[XDG0062 XAML 与XDG0008 XAML  错误的解决办法]]></title><link>https://blog.csdn.net/weixin_42930928/article/details/109635783</link><guid>https://blog.csdn.net/weixin_42930928/article/details/109635783</guid><author>weixin_42930928</author><pubDate>Thu, 12 Nov 2020 08:33:26 +0800</pubDate><description><![CDATA[昨天在使用wpf开发系统的时候，突然出现了错误（其实也不能称为错误，就是打开XAML文件时，在解决方案管理器中出现错误提示，XAML编辑文档出现波浪线的提示
The XAML designer displays XDG0062 errors for resource from a separate assembly in a WPF .NET Core application

C# with WPF designer issues : XDG0008 The name “NumericTextBoxCon]]></description><category></category></item></channel></rss>