上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: Top 23 Tools for .NET Development: The Experts' Choices 阅读全文
posted @ 2021-07-02 09:00 后跳 阅读(994) 评论(0) 推荐(0)
摘要: C#控制台基本使用: enum Input { 查看列表=1, 加载数据=2, 更新数据=3, 退出程序=4 } class Program { static void Main(string[] args) { Init(); Input input = (Input)Enum.Parse(typ 阅读全文
posted @ 2021-06-15 17:43 后跳 阅读(437) 评论(0) 推荐(0)
摘要: 搜索Fire Code字体 然后安装 。 https://fontmeme.com/ziti/fira-code-font/ 效果: 阅读全文
posted @ 2021-05-09 00:42 后跳 阅读(707) 评论(0) 推荐(0)
摘要: public class CustomPager { /// <summary> /// 每页行数 /// </summary> public int PageSize { get; set; } /// <summary> /// 总行数 /// </summary> public int Tot 阅读全文
posted @ 2021-04-29 16:17 后跳 阅读(138) 评论(0) 推荐(0)
摘要: Model Binder(模型绑定器),顾名思义,可以形象的理解为将数据绑定到一个 Model 的工具。这个 Model 是 Action 方法需要用到的某个类型(既可以是方法参数的类型也可以是方法内部对象的类型),要绑定到它上面的值可以来自于多种数据源。 MVC 框架内置默认的 Model Bin 阅读全文
posted @ 2021-04-29 10:09 后跳 阅读(217) 评论(0) 推荐(0)
摘要: public class ControlComputer { /// <summary> /// 重启当前程序 /// </summary> public static void ReStartApplicationSelf() { System.Diagnostics.Process.Start( 阅读全文
posted @ 2021-04-28 13:40 后跳 阅读(456) 评论(0) 推荐(0)
摘要: 添加一个类继承JsonResult public class CustomJsonResult : JsonResult { private const string _dateFormat = "yyyy-MM-dd HH:mm:ss"; public CustomJsonResult() { s 阅读全文
posted @ 2021-04-27 22:11 后跳 阅读(352) 评论(0) 推荐(0)
摘要: 使用工具:VS2015 基于.NET fromwork4.6.1 1.创建ASP.NET Web 应用程序 2.选择一个空结构的MVC项目 3.项目结构: 4.创建控制器 和 视图 5.新建两个类库项目IServices/IBll 一个用来声明接口,一个用来实现 ISerivces: public 阅读全文
posted @ 2021-04-27 14:05 后跳 阅读(158) 评论(0) 推荐(0)
摘要: IOC(控制反转) + DI(依赖注入) 面向接口编程 Unity、AutoFac、Spring.Net、Castie等 基础功能示例: class Dog { public void Voice() { Console.WriteLine("Dog Wang.wang"); } public vo 阅读全文
posted @ 2021-04-26 17:33 后跳 阅读(87) 评论(0) 推荐(0)
摘要: VS2105 包程序管理器:PM=>install-package log4net 新建控制台程序(Log4j) 配置AppConfig <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section 阅读全文
posted @ 2021-04-26 10:59 后跳 阅读(64) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页