会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
MaxBruce
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
53
54
55
56
57
58
59
60
61
···
133
下一页
2021年9月17日
C# EF
摘要: 参考网址: https://www.icode9.com/content-1-12930.html 委托到lambda的由来 public delegate int AddSum(int a,int b); class Program{ static void Main(string[] args)
阅读全文
posted @ 2021-09-17 07:04 MaxBruce
阅读(153)
评论(0)
推荐(0)
2021年9月16日
ServiceHost 类
摘要: 参考网址:https://docs.microsoft.com/zh-cn/dotnet/api/system.servicemodel.servicehost?view=netframework-4.8 定义 命名空间:System.ServiceModel程序集:System.ServiceMo
阅读全文
posted @ 2021-09-16 11:46 MaxBruce
阅读(416)
评论(0)
推荐(0)
ActiveMQ的两种消息模式,主题、队列
摘要: 参考网址: https://www.cnblogs.com/yinfengjiujian/p/9015884.html 1、开发的模式流程如下: 2、队列模式Queue 如果生产者产生了100条消息,那么两个消费同时在的话,会分工合作来接收这100条消息。就是每个消费者接收到50条来处理。 3、主题
阅读全文
posted @ 2021-09-16 11:24 MaxBruce
阅读(200)
评论(0)
推荐(0)
C#实现ActiveMQ消息队列
摘要: 参考网址:https://www.cnblogs.com/swjian/p/11160129.html 一、首先需要导入两个包,分别是:Apache.NMS 和 Apache.NMS.ActiveMQ 二、创建Winform程序实现生产者功能。 三、Producer后台代码如下: using Apa
阅读全文
posted @ 2021-09-16 11:01 MaxBruce
阅读(435)
评论(0)
推荐(0)
Autofac的基本使用
摘要: 参考网址: https://blog.csdn.net/wushuitaolove/article/details/108669723 Autofac的使用Autofac简介基本的使用方式如何实现webapi控制器自动注入接口一、Autofac简介Autofac是实现依赖注入的类库之一,他可以帮助你
阅读全文
posted @ 2021-09-16 10:28 MaxBruce
阅读(1944)
评论(0)
推荐(0)
ConfigurationManager 类的使用
摘要: 参考网址:https://www.cnblogs.com/dayang12525/p/7866766.html 一、引用 命名空间: System.Configuration程序集: System.Configuration(位于 System.Configuration.dll) 二、示例 1、读
阅读全文
posted @ 2021-09-16 09:59 MaxBruce
阅读(312)
评论(0)
推荐(0)
2021年9月15日
EF CodeFirst系列(4)---FluentApi
摘要: 参考网址:https://www.cnblogs.com/wyy1234/archive/2018/09/18/9670529.html 阅读目录 FluentApi总结 1.FluentApi简介 2.实体相关配置 3.属性相关配置 回到顶部 FluentApi总结 1.FluentApi简介 E
阅读全文
posted @ 2021-09-15 18:26 MaxBruce
阅读(227)
评论(0)
推荐(0)
Entity Framework Core
摘要: 参考网址: https://docs.microsoft.com/zh-cn/ef/core/ Entity Framework (EF) Core 是轻量化、可扩展、开源和跨平台版的常用 Entity Framework 数据访问技术。 EF Core 可用作对象关系映射程序 (O/RM),这可以
阅读全文
posted @ 2021-09-15 17:13 MaxBruce
阅读(142)
评论(0)
推荐(0)
autofac基础知识
摘要: 参考网址:https://www.cnblogs.com/Xieyiincuit/p/14386732.html 前言:使用Autofac这一款IOC容器来替代Asp.Net Core自带的容器。 1. Autofac基础使用 准备工作: 编写一个抽象接口和一个具体实现类分别为: public in
阅读全文
posted @ 2021-09-15 17:07 MaxBruce
阅读(663)
评论(0)
推荐(0)
EntityFramework基本使用方法
摘要: 参考网址:https://my.oschina.net/zhv/blog/908554 目录 三类实体与数据库映射的方法 整体介绍 CodeFirst主要实体类介绍 连接字符串 数据读取和使用方法 映射 DbContex类 DbSet属性 OnModelCreating方法 Data Annotat
阅读全文
posted @ 2021-09-15 16:56 MaxBruce
阅读(443)
评论(0)
推荐(0)
上一页
1
···
53
54
55
56
57
58
59
60
61
···
133
下一页
公告