上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: ASP.NET Core Identity客户自定义属性 阅读全文
posted @ 2024-07-09 10:45 microsoft-zhcn 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ASP.NET Core Identity如何使用Claim 阅读全文
posted @ 2024-07-09 10:45 microsoft-zhcn 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 参考:https://mp.weixin.qq.com/s?__biz=MzA3NDM1MzIyMQ==&mid=2247486148&idx=1&sn=dae55b414e123c6718e470c21c8c8c21&chksm=9f0055eea877dcf876b2eff0e9fbe3a3f5 阅读全文
posted @ 2024-07-09 10:44 microsoft-zhcn 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 参考:ASP.NET Core Identity配置 阅读全文
posted @ 2024-07-09 10:44 microsoft-zhcn 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 概述: git 是一种版本控制系统,是一个命令,是一种工具。 github 是一个基于git实现在线代码托管的仓库,向互联网开放,企业版要收钱。 gitlab 类似 github,一般用于在企业内搭建git私服,要自己搭环境。 gitee 即码云,是 oschina 免费给企业用的,不用自己搭建环境 阅读全文
posted @ 2024-07-04 10:07 microsoft-zhcn 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Prism 提供了事件聚合器(Event Aggregator)来实现事件的订阅和发布,允许模块之间进行松耦合的通信。 主要作用: 解耦合:通过事件订阅和发布,模块之间可以实现解耦合,避免直接依赖于彼此的实现细节。 示例用法: 定义事件类: public class MessageEvent : P 阅读全文
posted @ 2024-07-03 17:01 microsoft-zhcn 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 示例下载:PrismCore 注入接口: public partial class App : PrismApplication { protected override void RegisterTypes(IContainerRegistry containerRegistry) { //依赖注 阅读全文
posted @ 2024-07-03 11:29 microsoft-zhcn 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 示例:Prism 创建对话 Dialog,实现 IDialogAware 接口 第一步:创建区域 public partial class MessageControl : UserControl { public MessageControl() { InitializeComponent(); 阅读全文
posted @ 2024-07-03 11:27 microsoft-zhcn 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 示例:向模块发送参数 方式一、无参数导航 regionManager.RequestNavigate("LoginRegion", "LoginControl"); 方式二、带参数导航 NavigationParameters pairs = new NavigationParameters(); 阅读全文
posted @ 2024-07-02 17:51 microsoft-zhcn 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.cnblogs.com/Firepad-magic/p/18162209 https://blog.csdn.net/qq_48492162/article/details/131977507 阅读全文
posted @ 2024-07-02 17:20 microsoft-zhcn 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 源码下载:PrismCore.zip 创建区域模块: 示例结果: MainWindow.xaml 调用区域模块: <Grid> <Grid.RowDefinitions> <RowDefinition Height="28"/> <RowDefinition Height="*"/> <RowDef 阅读全文
posted @ 2024-07-02 17:11 microsoft-zhcn 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.jb51.net/article/270248.htm 阅读全文
posted @ 2024-06-28 17:22 microsoft-zhcn 阅读(3) 评论(0) 推荐(0) 编辑
摘要: WITH a AS ( SELECT * FROM view_SubjectList WHERE id=1 UNION ALL SELECT s.* FROM view_SubjectList AS s,a WHERE s.pId=a.ID ) SELECT * FROM a 阅读全文
posted @ 2024-06-27 11:33 microsoft-zhcn 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/lovezhangyu/p/10309098.html 阅读全文
posted @ 2024-06-19 16:19 microsoft-zhcn 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/lovezhangyu/p/10309098.html 阅读全文
posted @ 2024-06-19 16:15 microsoft-zhcn 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/hsiang/p/15468284.html 阅读全文
posted @ 2024-06-18 14:40 microsoft-zhcn 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/ryanzheng/p/8066241.html 阅读全文
posted @ 2024-06-18 13:51 microsoft-zhcn 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 引用: xmlns:sys="clr-namespace:System;assembly=mscorlib" 使用: <sys:String x:Key="NewUpdateWillShow" xml:space="preserve">第一行 第二行 </sys:String> 换行符为&#13;必 阅读全文
posted @ 2024-06-18 12:06 microsoft-zhcn 阅读(26) 评论(0) 推荐(0) 编辑
摘要: ASP.NET Core Identity 参考:https://mp.weixin.qq.com/s?__biz=MzA3NDM1MzIyMQ==&mid=2247486318&idx=1&sn=1f06f6de690ba6df16ed812de9588709 阅读全文
posted @ 2024-06-14 15:02 microsoft-zhcn 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/cxu123321/article/details/90747971 阅读全文
posted @ 2024-06-14 10:03 microsoft-zhcn 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 参考代码: $("form").submit(function() { $(this).ajaxSubmit({ url : "login", //设置提交的 url,可覆盖 action 属性 target : "#box", //服务器返回的内容存放在#box里 type : "GET", da 阅读全文
posted @ 2024-06-14 10:01 microsoft-zhcn 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 后台: ModelState.AddModelError("userPwd","请输入密码"); ModelState是一个字典类型,这句话的作用是向ModelState中添加一条错误信息, 第一个参数是key,第二个参数是Value. 前端: @Html.ValidationMessage(key 阅读全文
posted @ 2024-06-14 09:17 microsoft-zhcn 阅读(10) 评论(0) 推荐(0) 编辑
摘要: C# 代码如下: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; namespace ConsoleApp 阅读全文
posted @ 2024-06-12 17:40 microsoft-zhcn 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 第一步:在解决方案资源管理器中找到【AssemblyInfo.cs】文件,修改版本生成方式:[assembly: AssemblyVersion("1.0.0.*")] // 程序集的版本信息由下列四个值组成: // // 主版本 // 次版本 // 生成号 // 修订号 // //可以指定所有这些 阅读全文
posted @ 2024-06-12 17:04 microsoft-zhcn 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 参考:https://github.com/icsharpcode/AvalonEdit 阅读全文
posted @ 2024-06-12 15:49 microsoft-zhcn 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 是一个特殊的按钮,用于在用户长按或连续点击时重复执行特定动作。它通常用于需要重复执行某个操作的场景。 常用属性描述 Delay 用于获取或设置 RepeatButton 在开始重复之前被按下时等待的时间(以毫秒为单位)。 该值必须为非负数。 Interval 用于获取或设置开始重复后重复之间的时间间 阅读全文
posted @ 2024-06-07 17:59 microsoft-zhcn 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/dearroy/p/12730090.html 阅读全文
posted @ 2024-06-07 17:20 microsoft-zhcn 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/dearroy/p/12730090.html 阅读全文
posted @ 2024-06-07 17:19 microsoft-zhcn 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/dearroy/p/12730090.html 阅读全文
posted @ 2024-06-07 17:18 microsoft-zhcn 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/dearroy/p/12730090.html 阅读全文
posted @ 2024-06-07 17:18 microsoft-zhcn 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/dearroy/p/12730090.html https://www.cnblogs.com/czwy/p/18192720 阅读全文
posted @ 2024-06-07 17:17 microsoft-zhcn 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/qq_35320456/article/details/137522023 阅读全文
posted @ 2024-06-07 15:07 microsoft-zhcn 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/timefiles/p/WpfAnimation.html#%E5%9C%BA%E6%99%AF https://www.cnblogs.com/aihu0307/archive/2011/07/08/2100742.html https://w 阅读全文
posted @ 2024-06-07 14:12 microsoft-zhcn 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 生成 XPS 格式 1.使用Office 2010 或者 Office 2007,单击"文件>导出>创建 PDF/XPS 文档>创建 PDF/XPS"。 2.读取XPS文档 XAML: <DocumentViewer x:Name="documentViewer"/> C#引用: using Sys 阅读全文
posted @ 2024-06-07 12:41 microsoft-zhcn 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/zt199510/p/13557819.html 阅读全文
posted @ 2024-06-05 14:09 microsoft-zhcn 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/zt199510/p/13543766.html 阅读全文
posted @ 2024-06-05 13:33 microsoft-zhcn 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/cdaniu/p/18069370 阅读全文
posted @ 2024-06-04 11:43 microsoft-zhcn 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 引用System.Windows.Interactivity.dll程序集 参考:https://www.cnblogs.com/tsliwei/p/5658426.html 阅读全文
posted @ 2024-06-03 08:50 microsoft-zhcn 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/tsliwei/p/5923107.html 阅读全文
posted @ 2024-06-03 08:47 microsoft-zhcn 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Frame 显示滚动条 <ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"> <ScrollViewer.Content> <Frame Content="{Binding Sou 阅读全文
posted @ 2024-06-01 22:27 microsoft-zhcn 阅读(8) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页