4
4
5
5
[ Docker SQL Server 使用] ( https://www.twilio.com/blog/containerize-your-sql-server-with-docker-and-aspnet-core-with-ef-core )
6
6
7
- ![ image] ( https://dotnetweeklyimages.blob.core.windows.net/024/DockerSQLServer .png )
7
+ ![ image] ( https://user-images.githubusercontent.com/11272110/193408927-e98d464f-ceca-46e0-8281-8fd876c431a4 .png )
8
8
9
9
SQL Server 是 ` .NET ` 中广泛使用的关系型数据库,一般我们需要在本地机器上安装,但是这样会带来一些缺陷,比如会和其他引用和程序共享一个数据库,或者在 ` Linux ` 环境中测试就比较困难。这篇文章介绍了如何在 ` Docker ` 中安装 ` SQL Server ` 。
10
10
11
11
## 行业资讯
12
12
13
13
1、[ Entity Framework Core 7 (EF7) RC2发布] ( https://devblogs.microsoft.com/dotnet/announcing-ef7-release-candidate-2 )
14
14
15
- ![ image] ( https://dotnetweeklyimages.blob.core.windows.net/024/EFCore.jfif )
16
-
17
15
Entity Framework Core RC2现在已经发布,RC2版本包含GA版本计划的所有功能。主要包括下面内容:
18
16
19
17
- 映射到 ` SQL Server ` JSON列
@@ -30,7 +28,7 @@ Entity Framework Core RC2现在已经发布,RC2版本包含GA版本计划的
30
28
31
29
1、[ .NET 中调用 JavaScript] ( https://devblogs.microsoft.com/dotnet/use-net-7-from-any-javascript-app-in-net-7 )
32
30
33
- ![ image] ( https://dotnetweeklyimages.blob.core.windows.net/024/dotnetCallJS .png )
31
+ ![ image] ( https://user-images.githubusercontent.com/11272110/193435343-dd975d39-cc47-4892-8125-801701c76df2 .png )
34
32
35
33
` .NET 7 ` 为在基于 ` JavaScript ` 的应用程序中的 ` WebAssembly ` 提供了改进的支持,包括丰富的 ` JavaScript ` 互操作机制。
36
34
.NET 7 中的 ` WebAssembly ` 支持是 ` Blazor WebAssembly ` 应用程序的基础,但也可以独立于 Blazor 使用。
@@ -40,7 +38,7 @@ Entity Framework Core RC2现在已经发布,RC2版本包含GA版本计划的
40
38
41
39
2、[ Linq 学习] ( https://anthonygiretti.com/2022/09/29/net-learn-linq-as-you-never-have-before/?utm_source=isaacl&utm_medium=twitter&utm_campaign=link&WT.mc_id=link-twitter-isaacl )
42
40
43
- ![ image] ( https://dotnetweeklyimages.blob.core.windows.net/024/LINQUse .png )
41
+ ![ image] ( https://user-images.githubusercontent.com/11272110/194697415-7a8c81c3-d7c9-4b1d-b911-d553b9af46f3 .png )
44
42
45
43
这份文档详细的介绍了几乎所有的 ` LINQ ` 基本使用场景和方法。
46
44
例如:
@@ -58,7 +56,7 @@ Entity Framework Core RC2现在已经发布,RC2版本包含GA版本计划的
58
56
59
57
3、[ RateLimter 中间件介绍] ( https://blog.maartenballiauw.be/post/2022/09/26/aspnet-core-rate-limiting-middleware.html )
60
58
61
- ![ image] ( https://dotnetweeklyimages.blob.core.windows.net/024/RateLimter .png )
59
+ ![ image] ( https://user-images.githubusercontent.com/11272110/194707875-1f2fcb05-4825-4b94-981c-fdd72bdb260d .png )
62
60
63
61
` ASP.NET Core 7 ` 引入了 ` RateLimit ` 中间件,通过它可以保护我们资源(CPU,内存和磁盘 I/O)不会因为大量访问而导致服务不够用。这篇播客详细介绍了如何使用这个中间件:
64
62
@@ -69,13 +67,13 @@ Entity Framework Core RC2现在已经发布,RC2版本包含GA版本计划的
69
67
70
68
4、[ .NET 名字的故事] ( https://www.cnet.com/tech/tech-industry/net-name-ties-microsoft-in-knots )
71
69
72
- ![ image] ( https://dotnetweeklyimages.blob.core.windows.net/024/DotNETName .png )
70
+ ![ image] ( https://user-images.githubusercontent.com/11272110/194709931-e80176e3-fdee-48df-97ed-28d335490087 .png )
73
71
74
72
现在不少大 V 呼吁微软将 ` .NET ` 重新命名为 ` dotnet ` ,因为这样更加有助于市场推广和搜索。这篇文章带你回顾了 ` .NET ` 名字刚刚推出的时候,媒体和社区对其的困惑。
75
73
76
74
6、[ ASP.NET Core 的配置验证] ( https://andrewlock.net/adding-validation-to-strongly-typed-configuration-objects-in-dotnet-6 )
77
75
78
- ![ image] ( https://dotnetweeklyimages.blob.core.windows.net/024/ASP.NETCoreConfigure .png )
76
+ ![ image] ( https://user-images.githubusercontent.com/11272110/194710445-35bfca36-b106-4f33-8bc4-4b85d3b674d3 .png )
79
77
80
78
` IConfiguration ` 和 ` IOption ` 是 ` ASP.NET Core ` 引入的配置组件,` IConfiguration ` 可以提供多种多样的配置来源,比如 ` JSON ` 文件,环境变量和命令行参数等等。再通过 ` IOption ` 将它转换成一个 POCO 对象,但是这样会带来一个两个问题:
81
79
@@ -120,20 +118,20 @@ builder.Services.AddOptions<SlackApiSettings>()
120
118
121
119
7、[ 如何在 ASP.NET Core 中配置多个JSON格式] ( https://thomaslevesque.com/2022/09/19/using-multiple-json-serialization-settings-in-aspnet-core )
122
120
123
- ![ image] ( https://dotnetweeklyimages.blob.core.windows.net/024/JsonConfigure .png )
121
+ ![ image] ( https://user-images.githubusercontent.com/11272110/195961241-ad16fa29-4286-406e-8b2c-f3b83ee98715 .png )
124
122
125
123
` ASP.NET Core ` 拥有丰富的扩展性,用户可以根据自己需求来自定义拓展来完成。这篇文章以不同的 ` Controller ` 使用不同的 ` JSON ` 格式化需求为例子,展示了 ` ASP.NET Core ` 的扩展性。
126
124
127
125
## 开源项目
128
126
129
127
1、[ ASP.NET Core 最佳实践] ( https://github.com/davidfowl/AspNetCoreDiagnosticScenarios )
130
128
131
- ![ image] ( https://dotnetweeklyimages.blob.core.windows.net/024/AspDotNETCore .png )
129
+ ![ image] ( https://user-images.githubusercontent.com/11272110/194705108-ad8e024d-a72f-420f-94e6-20ee70df8254 .png )
132
130
133
131
这个仓库介绍了 ` ASP.NET Core ` 应用程序在使用的时候的注意点,还有异步方法在调用的时候最佳实践。
134
132
135
133
2、[ Figma 导出成 MAUI] ( https://github.com/jsuarezruiz/figma-to-maui-graphics )
136
134
137
- ![ image] ( https://dotnetweeklyimages.blob.core.windows.net/024/exposeMAUI .png )
135
+ ![ image] ( https://user-images.githubusercontent.com/11272110/194705261-09b2dcdc-1eb8-4719-8ec2-cf1f96a90f73 .png )
138
136
139
137
Figma 是专业的 UI 在线设计软件,几乎每个设计师都在使用它。而 MAUI 是跨平台的 UI 设计库,自然而然我们希望将 Figma 中的设计自动转换成 MAUI 的设计代码,而这个库就能帮助我们做到这一点。
0 commit comments