diff --git a/Docs/CSDN课程/多语言编程的艺术.第一章第1节.pptx b/Docs/CSDN课程/多语言编程的艺术.第一章第1节.pptx new file mode 100644 index 0000000..3717f73 Binary files /dev/null and b/Docs/CSDN课程/多语言编程的艺术.第一章第1节.pptx differ diff --git a/Docs/assets/ppt/多语言编程的艺术.第一章第1节.pptx b/Docs/assets/ppt/多语言编程的艺术.第一章第1节.pptx new file mode 100644 index 0000000..adbe508 Binary files /dev/null and b/Docs/assets/ppt/多语言编程的艺术.第一章第1节.pptx differ diff --git a/Docs/多语言笔记.4.1.使用 WebApi.ipynb b/Docs/多语言笔记.4.1.使用 WebApi.ipynb index d1a3c74..9bf8e7c 100644 --- a/Docs/多语言笔记.4.1.使用 WebApi.ipynb +++ b/Docs/多语言笔记.4.1.使用 WebApi.ipynb @@ -18,7 +18,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 4, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -31,16 +31,7 @@ { "data": { "text/html": [ - "
StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:\\r\\n{\\r\\n Date: Fri, 09 May 2025 18:26:03 GMT\\r\\n Server: Kestrel\\r\\n Transfer-Encoding: chunked\\r\\n}
Version |
|
Major | 1 |
Minor | 1 |
Build | -1 |
Revision | -1 |
MajorRevision | -1 |
MinorRevision | -1 |
System.Net.Http.HttpConnectionResponseContent
Headers |
|
Allow |
|
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
18
<null>
<null>
<null>
<null>
<null>
<null>
[ [Content-Length, 18] ]
Count | 1 | ||||||||||||
(values) |
|
index | value | ||||
---|---|---|---|---|---|
0 |
|
Key | Content-Length |
Value | [ 18 ] |
OK
[ [Date, System.String[]], [Server, System.String[]], [Transfer-Encoding, System.String[]] ]
AcceptRanges |
|
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
<null>
<null>
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
<null>
[ Kestrel ]
Count | 1 | ||||||||||||
IsReadOnly | False | ||||||||||||
(values) |
Comment | <null> |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
[ chunked ]
Count | 1 | ||||||||||||||
IsReadOnly | False | ||||||||||||||
(values) |
|
True
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ [Date, Fri, 09 May 2025 18:26:03 GMT], [Server, Kestrel], [Transfer-Encoding, chunked] ]
Count | 3 | ||||||||||||||||||||||||||||||||
(values) |
1 |
|
Key | Server | ||||
Value |
|
Count | 1 |
(values) | [ Kestrel ] |
[Transfer-Encoding, chunked]
Key | Transfer-Encoding | ||||
Value |
|
Count | 1 |
(values) | [ chunked ] |
index | value | ||||
---|---|---|---|---|---|
0 |
|
Key | Date |
Value | [ Fri, 09 May 2025 18:26:03 GMT ] |
[Server, System.String[]]
Key | Server |
Value | [ Kestrel ] |
[Transfer-Encoding, System.String[]]
Key | Transfer-Encoding |
Value | [ chunked ] |
[ ]
AcceptRanges |
|
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
<null>
<null>
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
<null>
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
(values) | (empty) |
Method: GET, RequestUri: 'http://127.0.0.1:20722/', Version: 1.1, Content: <null>, Headers:\\r\\n{\\r\\n traceparent: 00-c7d6e9d39bcede44aeafb0bedb3895c8-d98d744eb652039e-00\\r\\n}
Version |
|
Major | 1 |
Minor | 1 |
Build | -1 |
Revision | -1 |
MajorRevision | -1 |
MinorRevision | -1 |
<null>
GET
Method | GET |
http://127.0.0.1:20722/
AbsolutePath | / |
AbsoluteUri | http://127.0.0.1:20722/ |
LocalPath | / |
Authority | 127.0.0.1:20722 |
HostNameType | IPv4 |
IsDefaultPort | False |
IsFile | False |
IsLoopback | True |
PathAndQuery | / |
Segments | [ / ] |
IsUnc | False |
Host | 127.0.0.1 |
Port | 20722 |
Query | |
Fragment | |
Scheme | http |
OriginalString | http://127.0.0.1:20722/ |
DnsSafeHost | 127.0.0.1 |
IdnHost | 127.0.0.1 |
IsAbsoluteUri | True |
UserEscaped | False |
UserInfo |
[ [traceparent, System.String[]] ]
Accept |
|
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
<null>
<null>
<null>
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
<null>
<null>
<null>
<null>
<null>
<null>
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
<null>
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | [ ] |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
<null>
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ ]
Count | 0 |
IsReadOnly | False |
(values) | (empty) |
[ [traceparent, 00-c7d6e9d39bcede44aeafb0bedb3895c8-d98d744eb652039e-00] ]
Count | 1 | ||||||||||||
(values) |
|
index | value | ||||
---|---|---|---|---|---|
0 |
|
Key | traceparent |
Value | [ 00-c7d6e9d39bcede44aeafb0bedb3895c8-d98d744eb652039e-00 ] |
key | value | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aspnetcore-logs |
Message | Connection id "0HNCF4RQHPC18" accepted. Exception | <null> 1 |
|
LogLevel | Debug | ||||
Category | Microsoft.AspNetCore.Server.Kestrel.Connections | ||||
EventId |
|
Id | 1 |
Name | ConnectionStart |
Connection id "0HNCF4RQHPC18" started.
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Information | ||||
Category | Microsoft.AspNetCore.Hosting.Diagnostics | ||||
EventId |
|
Id | 1 |
Name | <null> |
Request starting HTTP/1.1 GET http://127.0.0.1:20722/ - - -
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Trace | ||||
Category | Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware | ||||
EventId |
|
Id | 2 |
Name | AllHostsAllowed |
All hosts are allowed.
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Debug | ||||
Category | Microsoft.AspNetCore.Routing.Matching.DfaMatcher | ||||
EventId |
|
Id | 1001 |
Name | CandidatesFound |
1 candidate(s) found for the request path '/'
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Debug | ||||
Category | Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware | ||||
EventId |
|
Id | 1 |
Name | MatchSuccess |
Request matched endpoint 'HTTP: GET /'
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Trace | ||||
Category | Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware | ||||
EventId |
|
Id | 8 |
Name | RequestSizeLimitMetadataNotFound |
The endpoint does not specify the IRequestSizeLimitMetadata.
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Information | ||||
Category | Microsoft.AspNetCore.Routing.EndpointMiddleware | ||||
EventId |
|
Id | 0 |
Name | ExecutingEndpoint |
Executing endpoint 'HTTP: GET /'
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Information | ||||
Category | Microsoft.AspNetCore.Routing.EndpointMiddleware | ||||
EventId |
|
Id | 1 |
Name | ExecutedEndpoint |
Executed endpoint 'HTTP: GET /'
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Debug | ||||
Category | Microsoft.AspNetCore.Server.Kestrel.Connections | ||||
EventId |
|
Id | 9 |
Name | ConnectionKeepAlive |
Connection id "0HNCF4RQHPC18" completed keep alive response.
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Information | ||||
Category | Microsoft.AspNetCore.Hosting.Diagnostics | ||||
EventId |
|
Id | 2 |
Name | <null> |
Request finished HTTP/1.1 GET http://127.0.0.1:20722/ - 200 - - 90.9290ms
<null>
key | value | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aspnetcore-logs |
Message | Connection id "0HNCF4RQHPC18" accepted. Exception | <null> 1 |
|
LogLevel | Debug | ||||
Category | Microsoft.AspNetCore.Server.Kestrel.Connections | ||||
EventId |
|
Id | 1 |
Name | ConnectionStart |
Connection id "0HNCF4RQHPC18" started.
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Information | ||||
Category | Microsoft.AspNetCore.Hosting.Diagnostics | ||||
EventId |
|
Id | 1 |
Name | <null> |
Request starting HTTP/1.1 GET http://127.0.0.1:20722/ - - -
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Trace | ||||
Category | Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware | ||||
EventId |
|
Id | 2 |
Name | AllHostsAllowed |
All hosts are allowed.
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Debug | ||||
Category | Microsoft.AspNetCore.Routing.Matching.DfaMatcher | ||||
EventId |
|
Id | 1001 |
Name | CandidatesFound |
1 candidate(s) found for the request path '/'
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Debug | ||||
Category | Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware | ||||
EventId |
|
Id | 1 |
Name | MatchSuccess |
Request matched endpoint 'HTTP: GET /'
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Trace | ||||
Category | Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware | ||||
EventId |
|
Id | 8 |
Name | RequestSizeLimitMetadataNotFound |
The endpoint does not specify the IRequestSizeLimitMetadata.
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Information | ||||
Category | Microsoft.AspNetCore.Routing.EndpointMiddleware | ||||
EventId |
|
Id | 0 |
Name | ExecutingEndpoint |
Executing endpoint 'HTTP: GET /'
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Information | ||||
Category | Microsoft.AspNetCore.Routing.EndpointMiddleware | ||||
EventId |
|
Id | 1 |
Name | ExecutedEndpoint |
Executed endpoint 'HTTP: GET /'
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Debug | ||||
Category | Microsoft.AspNetCore.Server.Kestrel.Connections | ||||
EventId |
|
Id | 9 |
Name | ConnectionKeepAlive |
Connection id "0HNCF4RQHPC18" completed keep alive response.
<null>
Microsoft.DotNet.Interactive.AspNetCore.LogMessage
LogLevel | Information | ||||
Category | Microsoft.AspNetCore.Hosting.Diagnostics | ||||
EventId |
|
Id | 2 |
Name | <null> |
Request finished HTTP/1.1 GET http://127.0.0.1:20722/ - 200 - - 90.9290ms
<null>
True