This commit is contained in:
Marcello 2021-07-01 20:39:33 +02:00
commit 78aec8b7f9
36 changed files with 21 additions and 25 deletions

View file

@ -9,8 +9,8 @@ Components are .NET C# classes built into .NET assemblies that:
- Can be nested and reused.
- Can be shared and distributed as Razor class libraries or NuGet packages.
![Blazor Server Architecture](https://docs.microsoft.com/en-us/aspnet/core/blazor/index/_static/blazor-server.png)
![Blazor WASM Architecture](https://docs.microsoft.com/en-us/aspnet/core/blazor/index/_static/blazor-webassembly.png)
![Blazor Server Architecture](../../.images/dotnet_blazor-server.png)
![Blazor WASM Architecture](../../.images/dotnet_blazor-webassembly.png)
The component class is usually written in the form of a Razor markup page with a `.razor` file extension. Components in Blazor are formally referred to as *Razor components*.

View file

@ -13,10 +13,8 @@ Custom filters can be created to handle cross-cutting concerns. Examples of cros
Filters run within the *ASP.NET Core action invocation pipeline*, sometimes referred to as the *filter pipeline*. The filter pipeline runs after ASP.NET Core selects the action to execute.
![1][filter-pipeline-1] ![2][filter-pipeline-2]
[filter-pipeline-1]: https://docs.microsoft.com/it-it/aspnet/core/mvc/controllers/filters/_static/filter-pipeline-1.png
[filter-pipeline-2]: https://docs.microsoft.com/en-gb/aspnet/core/mvc/controllers/filters/_static/filter-pipeline-2.png
![filter-pipeline-1](../../.images/dotnet_filter-pipeline-1.png)
![filter-pipeline-2](../../.images/dotnet_filter-pipeline-2.png)
## **Filter types**

View file

@ -23,7 +23,7 @@ When a middleware short-circuits, it's called a *terminal middleware* because
The ASP.NET Core request pipeline consists of a sequence of request delegates, called one after the other.
![request-delegate-pipeline](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/index/_static/request-delegate-pipeline.png)
![request-delegate-pipeline](../../.images/dotnet_request-delegate-pipeline.png)
Each delegate can perform operations before and after the next delegate. Exception-handling delegates should be called early in the pipeline, so they can catch exceptions that occur in later stages of the pipeline. It's possible to chain multiple request delegates together with `Use`.
@ -74,8 +74,8 @@ public class Startup
## Middleware Order
![middleware-pipeline](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/index/_static/middleware-pipeline.svg)
![mvc-endpoint](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/index/_static/mvc-endpoint.svg)
![middleware-pipeline](../../.images/dotnet_middleware-pipeline.png)
![mvc-endpoint](../../.images/dotnet_mvc-endpoint.png)
The Endpoint middleware executes the filter pipeline for the corresponding app type.

View file

@ -1305,7 +1305,7 @@ public static System.Collections.IEnumerable<int> IterateRange(int start = 0, in
## Structs (Custom Value Types) & Classes (Custom Reference Types)
![reference-vs-value](https://blog.penjee.com/wp-content/uploads/2015/02/pass-by-reference-vs-pass-by-value-animation.gif)
![reference-vs-value](../../.images/dotnet_pass-by-reference-vs-pass-by-value-animation.gif)
**Structure** types have _value semantics_. That is, a variable of a structure type contains an _instance_ of the type.

View file

@ -22,7 +22,7 @@ The term *view* in Xamarin.Forms denotes familiar types of presentation and inte
## Pages
![pages](https://d585tldpucybw.cloudfront.net/sfimages/default-source/blogs/2020/2020-11/pages.png)
![pages](../../.images/dotnet_xamarin-pages.png)
```xml
<?xml version="1.0" encoding="utf-8" ?>
@ -48,7 +48,7 @@ The term *view* in Xamarin.Forms denotes familiar types of presentation and inte
## Layouts
![layouts](https://d585tldpucybw.cloudfront.net/sfimages/default-source/blogs/2020/2020-11/layouts.png)
![layouts](../../.images/dotnet_xamarin-layouts.png)
- StackLayout: Organizes views linearly, either horizontally or vertically.
- AbsoluteLayout: Organizes views by setting coordinates & size in terms of absolute values or ratios.