You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minimal APIs are a simplified approach for building fast HTTP APIs with ASP.NET Core. You can build fully functioning REST endpoints with minimal code and configuration. Skip traditional scaffolding and avoid unnecessary controllers by fluently declaring API routes and actions. For example, the following code creates an API at the root of a web app that returns a greeting:
14
+
Minimal APIs are a simplified approach for building fast HTTP APIs with ASP.NET Core. You can build fully functioning REST endpoints with minimal code and configuration. For example, the following code creates an API at the root of a web app that returns a greeting:
Copy file name to clipboardExpand all lines: aspnetcore/includes/benefits.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,16 @@ ASP.NET Core provides the following benefits:
5
5
<!-- AUTHOR NOTE: >=6.0 content showcases Blazor and
6
6
Minimal APIs, demotes RP/MVC -->
7
7
8
-
* A unified story for building web apps, web APIs, Azure IoT (Internet of Things) apps, and mobile backends.
8
+
* A unified story for building web apps, web APIs, IoT (Internet of Things) apps, and mobile backends.
9
9
* Architected for testability.
10
-
*[Blazor](xref:blazor/index) lets you create rich interactive client-side UIs using [.NET](/dotnet/standard/tour) and [C#](/dotnet/csharp/) with wide browser support based on HTML/JavaScript, including mobile browsers. You can also build hybrid desktop and mobile apps with .NET and Blazor.
11
-
*[Minimal APIs](xref:fundamentals/minimal-apis) are a simplified approach for building fast web APIs with minimal code and configuration by fluently declaring API routes and actions.
12
-
* Supports [Razor Pages](xref:razor-pages/index) and [Model-View-Controller (MVC)](xref:mvc/overview) app development.
10
+
* Create rich interactive web UI with [Blazor](xref:blazor/index) using [C#](/dotnet/csharp/)—no JavaScript required. Reuse your Blazor components to build native mobile and desktop apps with [Blazor Hybrid](xref:blazor/hybrid/index).
11
+
*[Minimal APIs](xref:fundamentals/minimal-apis) are a simplified approach for building fast web APIs with minimal code and configuration by fluently declaring API routes and endpoints.
13
12
* Ability to develop and run on Windows, macOS, and Linux.
14
-
* Open-source and [community-focused](https://live.asp.net/).
13
+
* Open-source and [community-focused](https://dotnet.microsoft.com/platform/community).
15
14
* Integrate seamlessly with popular client-side frameworks and libraries, including [Angular](/visualstudio/javascript/tutorial-asp-net-core-with-angular), [React](/visualstudio/javascript/tutorial-asp-net-core-with-react), [Vue](/visualstudio/javascript/tutorial-asp-net-core-with-vue), and [Bootstrap](https://getbootstrap.com/).
16
-
* Support for hosting Remote Procedure Call (RPC) services using [gRPC](xref:grpc/index).
15
+
* Add real-time web functionality to apps using [SignalR](xref:signalr/index).
16
+
* Support for hosting Remote Procedure Call (RPC) services using [gRPC](xref:grpc/introduction).
17
+
* Built-in security features for [authentication](xref:security/authentication/index) and [authorization](xref:security/authorization/introduction).
17
18
* A cloud-ready, environment-based [configuration system](xref:fundamentals/configuration/index).
Copy file name to clipboardExpand all lines: aspnetcore/introduction-to-aspnet-core.md
+2-13Lines changed: 2 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Use ASP.NET Core to build web apps with:
21
21
22
22
:::moniker range=">= aspnetcore-6.0"
23
23
24
-
*[Blazor](xref:blazor/index), a component-based web UI framework based on C# that supports both server-side rendering via the .NET runtime and client-side rendering via WebAssembly.
24
+
*[Blazor](xref:blazor/index), a component-based web UI framework based on C# that supports both server-side rendering and client-side rendering via WebAssembly.
25
25
*[Minimal APIs](xref:fundamentals/minimal-apis), a simplified approach for building fast web APIs with minimal code and configuration by fluently declaring API routes and actions.
26
26
27
27
:::moniker-end
@@ -62,7 +62,7 @@ ASP.NET Core 2.x is supported on .NET Framework versions that implement .NET Sta
62
62
63
63
To help close the API gap from .NET Framework to .NET Core 2.x, the [Windows Compatibility Pack](/dotnet/core/porting/windows-compat-pack) made thousands of Windows-only APIs available. These APIs weren't available in .NET Core 1.x.
<!-- AUTHOR NOTE: This is the original layout using tables. -->
68
68
@@ -81,8 +81,6 @@ Web app | New server and client web development with Blazor – ***Recommend
81
81
Web API | Server-based data processing with Minimal APIs –***Recommended*** | <xref:tutorials/min-web-api> and [Build a web API with minimal API, ASP.NET Core, and .NET (.NET SDK)](/training/modules/build-web-api-minimal-api/)
0 commit comments