Skip to content

Commit 9a63e76

Browse files
committed
fix the broken image link
1 parent ac5f32a commit 9a63e76

13 files changed

+110
-117
lines changed

docs/episode-023.md

+10-15
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
[MAUI Blazor App 教程](https://www.c-sharpcorner.com/article/build-a-blazor-hybrid-app-with-net-maui-for-cross-platform-application)
66

7-
![image](https://dotnetweeklyimages.blob.core.windows.net/023/muai.png)
8-
97
在本文中介绍了下列内容:
108

119
- 什么是 Hybrid Blazor App
@@ -35,13 +33,13 @@
3533

3634
1、[ASP.NET Core RC1 发布](https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-7-rc-1)
3735

38-
![image](https://dotnetweeklyimages.blob.core.windows.net/023/aspdotnetcore7.png)
36+
![image](https://user-images.githubusercontent.com/11272110/192072695-b629ade8-7e7f-4591-95ac-b65f27088b85.png)
3937

4038
随着 `.NET 7` RC1 发布, `ASP.NET Core 7` 的 RC 也发布了,其中包含了若干个更新,现在可以体验起来。
4139

4240
2、[.NET 7 RC1 发布](https://devblogs.microsoft.com/dotnet/announcing-dotnet-7-rc-1)
4341

44-
![image](https://dotnetweeklyimages.blob.core.windows.net/023/dotnet7rc.png)
42+
![image](https://user-images.githubusercontent.com/11272110/192072275-bb35de37-8ff6-4bda-846a-0a97beb4aa59.png)
4543

4644
毫无疑问,一年一度的 `.NET` 发布日期即将到来。最近 `.NET 7 RC1` 已经发布了,包含以下的重点
4745

@@ -53,13 +51,13 @@
5351

5452
3、[.NET 7 在 arm 上性能提升](https://devblogs.microsoft.com/dotnet/arm64-performance-improvements-in-dotnet-7)
5553

56-
![image](https://dotnetweeklyimages.blob.core.windows.net/023/dotnet7arm64.png)
54+
![image](https://user-images.githubusercontent.com/11272110/192071887-db8cde92-c60e-4665-ae52-8366e1db9068.png)
5755

5856
`.NET` 从 Day 1 就是完全开放的,不仅仅是 `Windows`, `Linux` 或者 `MacOS`,而且能够运行在不同的 `CPU` 指令集中。最近即将发布的 `.NET 7``ARM64` 上有着很大的性能提升。
5957

6058
4、[Winget 管理 .NET SDK](https://devblogs.microsoft.com/dotnet/dotnet-now-on-windows-package-manager)
6159

62-
![image](https://dotnetweeklyimages.blob.core.windows.net/023/winget.png)
60+
![image](https://user-images.githubusercontent.com/11272110/192071276-eb699bbb-f526-4997-9496-7ef18b61d4df.png)
6361

6462
`Winget` 是微软官方发布的 `Windows` 包管理器,通过它可以通过命令行安装一些软件和包。现在通过它可以安装 `.NET` SDK。
6563

@@ -68,6 +66,7 @@
6866
- winget uninstall Microsoft.DotNet.SDK.6
6967

7068
`Winget`主要命令如下:
69+
7170
| 命令 | 用途 |
7271
| --------- | -------------------------- |
7372
| install | 安装给定的程序包 |
@@ -88,7 +87,7 @@
8887

8988
1、[MadsTorgersen 采访](https://dotnetcore.show/episode-104-c-sharp-with-mads-torgersen)
9089

91-
![image](https://dotnetweeklyimages.blob.core.windows.net/023/madstorgersen.png)
90+
![image](https://user-images.githubusercontent.com/11272110/189531050-2370ae2f-d61d-45b0-905b-396ebdab7ee0.png)
9291

9392
Mads 目前是 `C#` 语言的首席架构师,这篇播客是对他的采访,主要分为下面几个方面
9493

@@ -97,9 +96,9 @@ Mads 目前是 `C#` 语言的首席架构师,这篇播客是对他的采访,
9796
- C# 的语言和 `.NET` 版本的分离对开发的体验
9897
- 如何对 `C#` 社区做出贡献
9998

100-
2、[Seal class 有助于提高性能](https://www.youtube.com/watch?v=d76WWAD99Yo&ab_channel=NickChapsas)
99+
2、[Sealed class 有助于提高性能](https://www.youtube.com/watch?v=d76WWAD99Yo&ab_channel=NickChapsas)
101100

102-
![image](https://dotnetweeklyimages.blob.core.windows.net/023/sealclass.png)
101+
![image](https://user-images.githubusercontent.com/11272110/192070635-0c56d136-1876-4658-80ab-2d66f79f5f26.png)
103102

104103
`Sealed` 修饰符 `C#` 语法的一部分,它表示这个类不能被继承,不为人知道的是它在性能上有很好的提升。
105104
如果 `sealed` 修饰的类,那么得到下面的好处
@@ -111,7 +110,7 @@ Mads 目前是 `C#` 语言的首席架构师,这篇播客是对他的采访,
111110

112111
3、[C# 11 的新特性以及它能够解决的问题](https://rubikscode.net/2022/09/19/c-11-top-5-features-in-the-new-c-version)
113112

114-
![image](https://dotnetweeklyimages.blob.core.windows.net/023/csharp11.png)
113+
![image](https://user-images.githubusercontent.com/11272110/192073685-94e8db85-aa8e-4fb8-8700-593f0acc17d1.png)
115114

116115
`C#11` 即将发布,这里详细分析了 5 个重要的功能
117116

@@ -136,7 +135,7 @@ Mads 目前是 `C#` 语言的首席架构师,这篇播客是对他的采访,
136135

137136
4、[使用 PlayWright 测试 ASP.NET Core 应用程序](https://www.twilio.com/blog/test-web-apps-with-playwright-and-csharp-dotnet)
138137

139-
![image](https://dotnetweeklyimages.blob.core.windows.net/023/playwright.png)
138+
![image](https://user-images.githubusercontent.com/11272110/192077644-f586458d-5797-43df-84a6-d904902f758c.png)
140139

141140
在本篇文章中首先介绍了`Playwright`该库的一些特性,例如:
142141

@@ -174,10 +173,6 @@ StackOverflow 中某位用户提出了一个问题:在下列代码中`handler`
174173

175174
1、[Apache Thrift](https://github.com/apache/thrift)
176175

177-
![image](https://dotnetweeklyimages.blob.core.windows.net/023/thrift.png)
178-
179-
图片为 Thrift 架构设计
180-
181176
Thrift 是一个轻量级的、与语言无关的技术栈,可以用于点对点 RPC 实现。Thrift 为数据传输、数据序列化和应用程序级处理提供了清晰的抽象和实现。Thrift 的代码生成系统采用了简单的定义语言作为输入,并生成跨编程语言的代码,通过这些抽象代码来构建可互操作的 RPC 客户端和服务器。
182177

183178
Thrift 使用不同编程语言编写的程序可以轻松共享数据和调用远程过程。当前支持的[28 种语言](https://github.com/apache/thrift/blob/master/LANGUAGES.md)。可以参考的 Thrift[指南](https://diwakergupta.github.io/thrift-missing-guide/#_versioning_compatibility)

docs/episode-024.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44

55
[Docker SQL Server 使用](https://www.twilio.com/blog/containerize-your-sql-server-with-docker-and-aspnet-core-with-ef-core)
66

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)
88

99
SQL Server 是 `.NET` 中广泛使用的关系型数据库,一般我们需要在本地机器上安装,但是这样会带来一些缺陷,比如会和其他引用和程序共享一个数据库,或者在 `Linux` 环境中测试就比较困难。这篇文章介绍了如何在 `Docker` 中安装 `SQL Server`
1010

1111
## 行业资讯
1212

1313
1、[Entity Framework Core 7 (EF7) RC2发布](https://devblogs.microsoft.com/dotnet/announcing-ef7-release-candidate-2)
1414

15-
![image](https://dotnetweeklyimages.blob.core.windows.net/024/EFCore.jfif)
16-
1715
Entity Framework Core RC2现在已经发布,RC2版本包含GA版本计划的所有功能。主要包括下面内容:
1816

1917
- 映射到 `SQL Server` JSON列
@@ -30,7 +28,7 @@ Entity Framework Core RC2现在已经发布,RC2版本包含GA版本计划的
3028

3129
1、[.NET 中调用 JavaScript](https://devblogs.microsoft.com/dotnet/use-net-7-from-any-javascript-app-in-net-7)
3230

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)
3432

3533
`.NET 7` 为在基于 `JavaScript` 的应用程序中的 `WebAssembly` 提供了改进的支持,包括丰富的 `JavaScript` 互操作机制。
3634
.NET 7 中的 `WebAssembly` 支持是 `Blazor WebAssembly` 应用程序的基础,但也可以独立于 Blazor 使用。
@@ -40,7 +38,7 @@ Entity Framework Core RC2现在已经发布,RC2版本包含GA版本计划的
4038

4139
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)
4240

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)
4442

4543
这份文档详细的介绍了几乎所有的 `LINQ` 基本使用场景和方法。
4644
例如:
@@ -58,7 +56,7 @@ Entity Framework Core RC2现在已经发布,RC2版本包含GA版本计划的
5856

5957
3、[RateLimter 中间件介绍](https://blog.maartenballiauw.be/post/2022/09/26/aspnet-core-rate-limiting-middleware.html)
6058

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)
6260

6361
`ASP.NET Core 7` 引入了 `RateLimit` 中间件,通过它可以保护我们资源(CPU,内存和磁盘 I/O)不会因为大量访问而导致服务不够用。这篇播客详细介绍了如何使用这个中间件:
6462

@@ -69,13 +67,13 @@ Entity Framework Core RC2现在已经发布,RC2版本包含GA版本计划的
6967

7068
4、[.NET 名字的故事](https://www.cnet.com/tech/tech-industry/net-name-ties-microsoft-in-knots)
7169

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)
7371

7472
现在不少大 V 呼吁微软将 `.NET` 重新命名为 `dotnet`,因为这样更加有助于市场推广和搜索。这篇文章带你回顾了 `.NET` 名字刚刚推出的时候,媒体和社区对其的困惑。
7573

7674
6、[ASP.NET Core 的配置验证](https://andrewlock.net/adding-validation-to-strongly-typed-configuration-objects-in-dotnet-6)
7775

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)
7977

8078
`IConfiguration``IOption``ASP.NET Core` 引入的配置组件,`IConfiguration` 可以提供多种多样的配置来源,比如 `JSON` 文件,环境变量和命令行参数等等。再通过 `IOption` 将它转换成一个 POCO 对象,但是这样会带来一个两个问题:
8179

@@ -120,20 +118,20 @@ builder.Services.AddOptions<SlackApiSettings>()
120118

121119
7、[如何在 ASP.NET Core 中配置多个JSON格式](https://thomaslevesque.com/2022/09/19/using-multiple-json-serialization-settings-in-aspnet-core)
122120

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)
124122

125123
`ASP.NET Core` 拥有丰富的扩展性,用户可以根据自己需求来自定义拓展来完成。这篇文章以不同的 `Controller` 使用不同的 `JSON` 格式化需求为例子,展示了 `ASP.NET Core` 的扩展性。
126124

127125
## 开源项目
128126

129127
1、[ASP.NET Core 最佳实践](https://github.com/davidfowl/AspNetCoreDiagnosticScenarios)
130128

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)
132130

133131
这个仓库介绍了 `ASP.NET Core` 应用程序在使用的时候的注意点,还有异步方法在调用的时候最佳实践。
134132

135133
2、[Figma 导出成 MAUI](https://github.com/jsuarezruiz/figma-to-maui-graphics)
136134

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)
138136

139137
Figma 是专业的 UI 在线设计软件,几乎每个设计师都在使用它。而 MAUI 是跨平台的 UI 设计库,自然而然我们希望将 Figma 中的设计自动转换成 MAUI 的设计代码,而这个库就能帮助我们做到这一点。

docs/episode-025.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
1、[Imagesharp 离开 .NET Foundation](https://dotnetfoundation.org/blog/2022/10/20/imagesharpupdate)
1010

11-
![image](https://dotnetweeklyimages.blob.core.windows.net/025/imagesharp.png)
11+
![image](https://user-images.githubusercontent.com/11272110/198753745-fccaa652-63ea-4e51-bd60-bef5d7cf2ed6.png)
1212

1313
最近 `.NET Foundation` 宣布了著名的图像处理库 `Imagesharp` 离开了 `.NET Foundation` 组织,因为他们修改了开源软件的协议,变成了一个付费使用的库。
1414

1515
2、[Microsoft Ignite 2022 中 ASP.NET Core 7 介绍](https://learn.microsoft.com/en-us/events/ignite-2022/brk203h-hidden-gems-live-coding-with-net-7)
1616

17-
![image](https://dotnetweeklyimages.blob.core.windows.net/025/aspnetcore7.png)
17+
![image](https://user-images.githubusercontent.com/11272110/198597633-a3fc3e62-0164-45ac-980d-f2a459432299.png)
1818

1919
前一阵子 Microsoft Ignite 大会上,`Damian Edwards``David Fowler` 展示了 `ASP.NET Core 7` 的一些新特性,没有幻灯片,只有实际的例子,包含了下面的主题
2020

@@ -29,19 +29,19 @@
2929

3030
1、[如何扩展 ASP.NET Core 应用程序](https://speakerdeck.com/davidfowl/scaling-asp-dot-net-core-applications)
3131

32-
![image](https://dotnetweeklyimages.blob.core.windows.net/025/davidfowler.png)
32+
![image](https://user-images.githubusercontent.com/11272110/198805070-99af89b3-3fcb-4f54-8ebe-072438cd67f7.png)
3333

3434
David Fowler 的一个演讲的 Slide,从内存,CPU,I/O 的角度如何拓展的 `ASP.NET Core` 的应用程序。
3535

3636
2、[Task.WaitAll 异常处理方法](https://thesharperdev.com/csharps-whenall-and-exception-handling/)
3737

38-
![image](https://dotnetweeklyimages.blob.core.windows.net/025/waitall.png)
38+
![image](https://user-images.githubusercontent.com/11272110/198297407-c2993da1-d4dc-4e52-99ea-14e4edab7d59.png)
3939

4040
C# 中的 `WaitAll` 可以接受一些列异步的 `Task` 并且等所有的 `Task` 都完成之后才会自己返回。如果其中一个任务抛出异常,那么 `WaitAll` 只会抛出第一个异常。所以该怎么解决这个问题,这篇文章给出一个可行的方案
4141

4242
3、[自定义 HTTP 的方法](https://khalidabuhakmeh.com/adding-experimental-http-methods-to-aspnet-core)
4343

44-
![image](https://dotnetweeklyimages.blob.core.windows.net/025/httpquery.png)
44+
![image](https://user-images.githubusercontent.com/11272110/198298652-54c3870a-0a13-4854-aad6-22a6a4c923ca.png)
4545

4646
标准的 `HTTP` 请求方法有 `GET`, `POST`, `PUT` 等等。那么如果想要自定义一个方法,比如 `QUERY`,改如何实现呢? `ASP.NET Core` 有很强的扩展性,这篇文章介绍了怎么完成这件事。
4747

@@ -51,7 +51,7 @@ C# 代码中有很多规范和陷阱,这篇文章介绍了其中的一部分
5151

5252
6、[OData 在 ASP.NET Core 中使用](https://code-maze.com/aspnetcore-webapi-using-odata/)
5353

54-
![image](https://dotnetweeklyimages.blob.core.windows.net/025/odata.png)
54+
![image](https://user-images.githubusercontent.com/11272110/198753965-07986e44-7766-420d-989b-6740916312b4.png)
5555

5656
OData 是微软提出的基于 `Rest` 的客户-服务端请求,通过客户端的请求的参数的不同,服务端就可以返回不同的参数,而且服务端不需要编写相应的逻辑,而且请求的参数和普通的 Rest 请求不一样。
5757

@@ -72,25 +72,25 @@ public SingleResult<Company> Get([FromODataUri] int key)
7272

7373
7、[高难度学习 .NET](https://www.slideshare.net/petabridge/net-systems-programming-learned-the-hard-waypptx)
7474

75-
![image](https://dotnetweeklyimages.blob.core.windows.net/025/dotnetcsharp.png)
75+
![image](https://user-images.githubusercontent.com/11272110/198755900-bf9058b2-d17d-4983-b6f9-84284883a013.png)
7676
Aaron Stannard 是 `Akka.NET` 的作者,这里有一份演讲的 Slide,介绍了如何是用 `C#` 的高级特性来提高 `Akka.NET` 的性能。
7777

7878
## 开源项目
7979

8080
1、[ASP.NET Core 的 Clean Architecture 模板](https://github.com/jasontaylordev/CleanArchitecture)
8181

82-
![image](https://dotnetweeklyimages.blob.core.windows.net/025/cleanarchiture.png)
82+
![image](https://user-images.githubusercontent.com/11272110/198299936-aa1dffe5-050f-4564-b582-845341a3f22f.png)
8383

8484
在创建 `ASP.NET Core` 应用程序的时候, `Visual Studio` 模板已经做的足够好了。这个开源项目遵顼 `Clean Architecture` 的原则,提供了模板,包含了大量现代化软件开发的框架和类库。
8585

8686
2、[Cake](https://github.com/cake-build/cake)
8787

88-
![image](https://dotnetweeklyimages.blob.core.windows.net/025/cake.png)
88+
![image](https://user-images.githubusercontent.com/11272110/198627475-d80961c6-5189-47dd-bd02-516e8864feb3.png)
8989

9090
虽然 `dotnet` 命令行工具已经非常工具已经非常强大了,但是我们仍然想要拥有一个类似 `Cmake` 一样的编译,测试工具。`Cake` 就是这样一个开源项目,让 `C#` 项目也具有强大的功能。
9191

9292
3、[十个免费的 VS 主题推荐](https://blog.dotnetsafer.com/best-visual-studio-2022-themes/)
9393

94-
![image](https://dotnetweeklyimages.blob.core.windows.net/025/vstheme.png)
94+
![image](https://user-images.githubusercontent.com/11272110/198773487-1ba3ee41-7c6e-48cf-b068-32ba37865d16.png)
9595

9696
在颜值即正义的时代,挑选一款漂亮的 `Visual Studio` 主题也是一件重要的事情,这篇文章介绍了作者认为比较好看的主题,你认为呢?

0 commit comments

Comments
 (0)