1 Star 0 Fork 10

Michael / dotnet 基础功能类库_1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 12.16 KB
一键复制 编辑 原始数据 按行查看 历史
七里听香 提交于 2021-10-26 16:32 . 提交readme修改
<!DOCTYPE html>
<html>
<head>
<title>代码之源-开源社区</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<style>
/* https://github.com/microsoft/vscode/blob/master/extensions/markdown-language-features/media/markdown.css */
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
body {
font-family: var(--vscode-markdown-font-family, -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif);
font-size: var(--vscode-markdown-font-size, 14px);
padding: 0 26px;
line-height: var(--vscode-markdown-line-height, 22px);
word-wrap: break-word;
}
#code-csp-warning {
position: fixed;
top: 0;
right: 0;
color: white;
margin: 16px;
text-align: center;
font-size: 12px;
font-family: sans-serif;
background-color:#444444;
cursor: pointer;
padding: 6px;
box-shadow: 1px 1px 1px rgba(0,0,0,.25);
}
#code-csp-warning:hover {
text-decoration: none;
background-color:#007acc;
box-shadow: 2px 2px 2px rgba(0,0,0,.25);
}
body.scrollBeyondLastLine {
margin-bottom: calc(100vh - 22px);
}
body.showEditorSelection .code-line {
position: relative;
}
body.showEditorSelection .code-active-line:before,
body.showEditorSelection .code-line:hover:before {
content: "";
display: block;
position: absolute;
top: 0;
left: -12px;
height: 100%;
}
body.showEditorSelection li.code-active-line:before,
body.showEditorSelection li.code-line:hover:before {
left: -30px;
}
.vscode-light.showEditorSelection .code-active-line:before {
border-left: 3px solid rgba(0, 0, 0, 0.15);
}
.vscode-light.showEditorSelection .code-line:hover:before {
border-left: 3px solid rgba(0, 0, 0, 0.40);
}
.vscode-light.showEditorSelection .code-line .code-line:hover:before {
border-left: none;
}
.vscode-dark.showEditorSelection .code-active-line:before {
border-left: 3px solid rgba(255, 255, 255, 0.4);
}
.vscode-dark.showEditorSelection .code-line:hover:before {
border-left: 3px solid rgba(255, 255, 255, 0.60);
}
.vscode-dark.showEditorSelection .code-line .code-line:hover:before {
border-left: none;
}
.vscode-high-contrast.showEditorSelection .code-active-line:before {
border-left: 3px solid rgba(255, 160, 0, 0.7);
}
.vscode-high-contrast.showEditorSelection .code-line:hover:before {
border-left: 3px solid rgba(255, 160, 0, 1);
}
.vscode-high-contrast.showEditorSelection .code-line .code-line:hover:before {
border-left: none;
}
img {
max-width: 100%;
max-height: 100%;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:focus,
input:focus,
select:focus,
textarea:focus {
outline: 1px solid -webkit-focus-ring-color;
outline-offset: -1px;
}
hr {
border: 0;
height: 2px;
border-bottom: 2px solid;
}
h1 {
padding-bottom: 0.3em;
line-height: 1.2;
border-bottom-width: 1px;
border-bottom-style: solid;
}
h1, h2, h3 {
font-weight: normal;
}
table {
border-collapse: collapse;
}
table > thead > tr > th {
text-align: left;
border-bottom: 1px solid;
}
table > thead > tr > th,
table > thead > tr > td,
table > tbody > tr > th,
table > tbody > tr > td {
padding: 5px 10px;
}
table > tbody > tr + tr > td {
border-top: 1px solid;
}
blockquote {
margin: 0 7px 0 5px;
padding: 0 16px 0 10px;
border-left-width: 5px;
border-left-style: solid;
}
code {
font-family: Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback";
font-size: 1em;
line-height: 1.357em;
}
body.wordWrap pre {
white-space: pre-wrap;
}
pre:not(.hljs),
pre.hljs code > div {
padding: 16px;
border-radius: 3px;
overflow: auto;
}
pre code {
color: var(--vscode-editor-foreground);
tab-size: 4;
}
/** Theming */
.vscode-light pre {
background-color: rgba(220, 220, 220, 0.4);
}
.vscode-dark pre {
background-color: rgba(10, 10, 10, 0.4);
}
.vscode-high-contrast pre {
background-color: rgb(0, 0, 0);
}
.vscode-high-contrast h1 {
border-color: rgb(0, 0, 0);
}
.vscode-light table > thead > tr > th {
border-color: rgba(0, 0, 0, 0.69);
}
.vscode-dark table > thead > tr > th {
border-color: rgba(255, 255, 255, 0.69);
}
.vscode-light h1,
.vscode-light hr,
.vscode-light table > tbody > tr + tr > td {
border-color: rgba(0, 0, 0, 0.18);
}
.vscode-dark h1,
.vscode-dark hr,
.vscode-dark table > tbody > tr + tr > td {
border-color: rgba(255, 255, 255, 0.18);
}
</style>
<style>
/* Tomorrow Theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
/* Tomorrow Comment */
.hljs-comment,
.hljs-quote {
color: #8e908c;
}
/* Tomorrow Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
color: #c82829;
}
/* Tomorrow Orange */
.hljs-number,
.hljs-built_in,
.hljs-builtin-name,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
color: #f5871f;
}
/* Tomorrow Yellow */
.hljs-attribute {
color: #eab700;
}
/* Tomorrow Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
color: #718c00;
}
/* Tomorrow Blue */
.hljs-title,
.hljs-section {
color: #4271ae;
}
/* Tomorrow Purple */
.hljs-keyword,
.hljs-selector-tag {
color: #8959a8;
}
.hljs {
display: block;
overflow-x: auto;
color: #4d4d4c;
padding: 0.5em;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
</style>
<style>
/*
* Markdown PDF CSS
*/
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif, "Meiryo";
padding: 0 12px;
}
pre {
background-color: #f8f8f8;
border: 1px solid #cccccc;
border-radius: 3px;
overflow-x: auto;
white-space: pre-wrap;
overflow-wrap: break-word;
}
pre:not(.hljs) {
padding: 23px;
line-height: 19px;
}
blockquote {
background: rgba(127, 127, 127, 0.1);
border-color: rgba(0, 122, 204, 0.5);
}
.emoji {
height: 1.4em;
}
code {
font-size: 14px;
line-height: 19px;
}
/* for inline code */
:not(pre):not(.hljs) > code {
color: #C9AE75; /* Change the old color so it seems less like an error */
font-size: inherit;
}
/* Page Break : use <div class="page"/> to insert page break
-------------------------------------------------------- */
.page {
page-break-after: always;
}
</style>
<script src="https://unpkg.com/mermaid/dist/mermaid.min.js"></script>
</head>
<body>
<script>
mermaid.initialize({
startOnLoad: true,
theme: document.body.classList.contains('vscode-dark') || document.body.classList.contains('vscode-high-contrast')
? 'dark'
: 'default'
});
</script>
<h1 id="dotnet-core-%E5%9F%BA%E7%A1%80%E7%B1%BB%E5%BA%93">dotnet core 基础类库</h1>
<h3 id="%E4%BB%8B%E7%BB%8D">介绍</h3>
<p>dotnet core 基础类库, 用于各类 .net core 项目的快速开发和功能增强
开发和维护中的只有基于最新版本 .net 的基础框架类库</p>
<h3 id="%E8%BD%AF%E4%BB%B6%E6%9E%B6%E6%9E%84">软件架构</h3>
<p>软件架构说明:</p>
<h4 id="core-%E6%96%87%E4%BB%B6%E5%A4%B9-%E6%A0%B8%E5%BF%83%E5%8A%9F%E8%83%BD%E9%A1%B9%E7%9B%AE%E9%83%A8%E5%88%86">core 文件夹: 核心功能项目部分</h4>
<ul>
<li>Devonline.Core: 通用基础功能类库和通用扩展方法类库, 提供了基础常量定义, 枚举定义, 特性定义, 扩展方法定义, 读取配置文件等基础功能</li>
<li>Devonline.Entity: 实体对象模型基础基类模型定义, 用于定义可映射至数据库的基本抽象基类定义和字符串主键的实现</li>
<li>Devonline.Http: 提供 asp.net core web 项目中的通用功能和扩张方法, 受限于类库项目无法使用 web 基础类库 AspNetCore 进行扩展, 因此目前此项目功能有限</li>
<li>Devonline.Utils: 工具类集合, 提供 Excel 读写, 图片处理, 文件操作, 邮件发送, 简易日志等功能</li>
</ul>
<h4 id="dapr-%E6%96%87%E4%BB%B6%E5%A4%B9-dapr-%E6%B5%8B%E8%AF%95%E9%A1%B9%E7%9B%AE">dapr 文件夹: dapr 测试项目</h4>
<h4 id="http-%E6%96%87%E4%BB%B6%E5%A4%B9-web-%E7%A4%BA%E4%BE%8B%E9%A1%B9%E7%9B%AE">http 文件夹: web 示例项目</h4>
<h4 id="identity-%E6%96%87%E4%BB%B6%E5%A4%B9-%E8%BA%AB%E4%BB%BD%E8%AE%A4%E8%AF%81%E4%B8%8E%E6%8E%88%E6%9D%83%E9%83%A8%E5%88%86-%E5%9F%BA%E4%BA%8E-identityframework-%E5%92%8C-ids4-%E7%9A%84%E5%8A%9F%E8%83%BD%E6%89%A9%E5%B1%95">identity 文件夹: 身份认证与授权部分, 基于 IdentityFramework 和 Ids4 的功能扩展</h4>
<ul>
<li>Devonline.Identity: 身份认证相关数据对象模型定义, Store 定义, 上下文定义等</li>
<li>Devonline.Identity.Admin: 身份认证接口服务器端(包含基于 asp.net core MVC 的 UI), 正在开发中</li>
<li>Devonline.identity.ui: 纯前端技术开发的身份认证 UI 端, 正在开发中</li>
</ul>
<h4 id="im-%E6%96%87%E4%BB%B6%E5%A4%B9-%E5%88%86%E5%B8%83%E5%BC%8F%E6%B6%88%E6%81%AF%E4%B8%AD%E5%BF%83%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AB%AF%E5%92%8C%E5%AE%A2%E6%88%B7%E7%AB%AF">im 文件夹: 分布式消息中心服务器端和客户端</h4>
<ul>
<li>Devonline.MessageCenter: 消息中心服务器端 正在完善中</li>
<li>Devonline.MessageClient: 消息中心客户端 正在完善中</li>
</ul>
<h4 id="tests-%E6%B5%8B%E8%AF%95%E6%96%87%E4%BB%B6%E5%A4%B9-%E5%90%84%E7%B1%BB%E9%A1%B9%E7%9B%AE%E6%B5%8B%E8%AF%95%E5%92%8C%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95%E6%96%87%E4%BB%B6%E5%A4%B9-%E5%90%8E%E6%9C%9F%E9%A1%B9%E7%9B%AE%E5%AE%8C%E5%96%84%E5%90%8E%E4%BC%9A%E8%A1%A5%E5%85%85%E6%89%80%E6%9C%89%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95">tests 测试文件夹: 各类项目测试和单元测试文件夹, 后期项目完善后会补充所有单元测试</h4>
<h4 id="%E4%BD%BF%E7%94%A8%E7%9A%84%E7%BB%84%E4%BB%B6%E6%B8%85%E5%8D%95-%E9%99%84%E7%89%88%E6%9C%AC%E5%8F%B7-%E5%BC%80%E6%BA%90%E5%8D%8F%E8%AE%AE-%E4%BD%9C%E8%80%85%E5%92%8C%E5%9C%B0%E5%9D%80-%E6%8E%92%E5%90%8D%E4%B8%8D%E5%88%86%E5%85%88%E5%90%8E-%E9%83%A8%E5%88%86%E7%BB%84%E4%BB%B6%E5%B9%B6%E6%9C%AA%E5%AE%8C%E5%85%A8%E5%BC%80%E6%BA%90-%E4%BD%BF%E7%94%A8%E6%97%B6%E8%AF%B7%E9%81%B5%E5%AE%88%E5%87%BA%E5%93%81%E6%96%B9%E7%9A%84%E5%8D%8F%E8%AE%AE">使用的组件清单 附版本号, 开源协议, 作者和地址, 排名不分先后, 部分组件并未完全开源, 使用时请遵守出品方的协议</h4>
<ol>
<li>EntityFrameworkCore: 5.0.10; Apache-2.0; Microsoft; https://github.com/dotnet/efcore</li>
<li>Newtonsoft.Json: 13.0.1; MIT License; James Newton-King; https://www.newtonsoft.com/json</li>
<li>Mapster: 7.2.0; MIT License; chaowlert,eric_swann; https://github.com/MapsterMapper/Mapster</li>
<li>IdentityServer4: 4.1.2; Apache-2.0 License; Brock Allen,Dominick Baier; https://github.com/IdentityServer/IdentityServer4</li>
<li>EPPlus: 57.5; Polyform Noncommercial as the community license and a commercial license for commercial businesses; EPPlus Software AB; https://epplussoftware.com/</li>
<li>DynamicLinq: Apache-2.0 License; ZZZ Projects,Stef Heyenrath 等; https://dynamic-linq.net/</li>
<li>Serilog: 2.10.0; Apache-2.0 License; Serilog Contributors; https://serilog.net/</li>
<li>Serilog.Sinks.Grafana.Loki: 7.1.0; MIT License; Mykhailo Shevchuk, Contributors; https://github.com/serilog-contrib/serilog-sinks-grafana-loki</li>
<li>Npgsql: 5.0.10; PostgreSQL License; Shay Rojansky,Yoh Deadfall,Brar Piening等; https://github.com/npgsql/npgsql</li>
<li>Pomelo.EntityFrameworkCore.MySql: 5.0.1; MIT License; Laurents Meyer, Caleb Lloyd, Yuko Zheng; https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql</li>
<li>其余未列出的包含: AspNetCore 官方扩展库, 安全认证相关库, efcore 相关扩展库, SignalR, Redis, OData, Serilog 等组件及其相关扩展库, 均属开源软件</li>
</ol>
<h4 id="%E7%89%B9%E6%8A%80">说明</h4>
<ol>
<li>devonline.cn 开放源代码的项目所有源代码托管在 <a href="https://www.gitee.com">Gitee</a></li>
<li>你可以在 <a href="https://gitee.com/devonline/devonline">https://gitee.com/devonline/devonline</a> 查看 devonline 开源项目的源代码和更多细节</li>
</ol>
<br />
<br />
<center><p>© 2014-2021 devonline.cn 版权所有 ICP 证: <a href="https://beian.miit.gov.cn/" target="_blank">陕ICP备14006366号-1</a></p></center>
</body>
</html>
C#
1
https://gitee.com/michaelsong/devonline_1.git
git@gitee.com:michaelsong/devonline_1.git
michaelsong
devonline_1
dotnet 基础功能类库_1
master

搜索帮助