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
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,19 +13,19 @@ A set of samples that show how to integrate SQL Server and Azure SQL with .NET A
13
13
14
14
## Base Sample
15
15
16
-
- Folder: `./base`
16
+
- Folder: [`./base`](./base)
17
17
18
18
The basic .Net Aspire application with a simple WebAPI project (WebApplication1) that you can use as a starting point to add support for Azure SQL or SQL Server
19
19
20
20
## Bring-Your-Own-SQL-Server (BYOSS)
21
21
22
-
- Folder: `./byoss`
22
+
- Folder: [`./byoss`](./byoss)
23
23
24
24
The simplest integration of SQL Server in .NET Aspire. It takes the "Base" example and updates the WebAPI so that now it is calling an existing SQL Server, using a provided connectiong string.
25
25
26
26
## Aspire-Hosted SQL Server
27
27
28
-
- Folder: `./hostedss`
28
+
- Folder: [`./hostedss`](./hostedss)
29
29
30
30
Change the BYOSS sample so the SQL Server is deployed and managed by Aspire orchestration, providing a basic integration with the Aspire environment. SQL Server is deployed in a OCI container by Aspire. No changes to WebAPI project.
31
31
@@ -35,7 +35,7 @@ The client WebAPI application (Webapplication1) is still getting the connection
Similar to the previous sample, but the database is deployed using a declarative approach, using a [SDK-Style Database Project](https://techcommunity.microsoft.com/blog/azuresqlblog/the-microsoft-build-sql-project-sdk-is-now-generally-available/4392063), that is also orchestrated by Aspire, via the community extension `CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects`.
51
51
52
52
## Aspire-Hosted SQL Server + EF Core
53
53
54
-
- Folder: `./hostedss - ef`
54
+
- Folder: [`./hostedss - ef`](./hostedss - ef)
55
55
56
56
In this sample, the client application (Webapplication1) is now using Entity Framework Core to interact with the SQL Server. The EF Core database context is provided via Dependency Injection, thanks to the usage of the library: `Aspire.Microsoft.EntityFrameworkCore.SqlServer`.
57
57
@@ -64,15 +64,15 @@ Please note that to keep the sample as simple as possible the EF Core entities a
In this sample, taken from the `./hostedss - dbup` sample, and add Data API Builder (DAB) to the solution, so that the database can be exposed as a REST and GraphQL API, so there is no need anymore to manuallly created a CRUD API and therefore the WebAPI project is removed.
70
70
71
71
DAB is orchestrated by Aspire, via the community extension `CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder`, that has been added to the AppHost project.
72
72
73
73
## End-To-End Jamstack "ToDo List" Application
74
74
75
-
- Folder: `./todo_app`
75
+
- Folder: [`./todo_app`](./todo_app)
76
76
77
77
Full end-to-end example of a Jamstack application, with a Vue front-end, a Data API Builder back-end, and SQL Server database, deployed using a [SDK-Style Database Project](https://techcommunity.microsoft.com/blog/azuresqlblog/the-microsoft-build-sql-project-sdk-is-now-generally-available/4392063). Everything is orchestrated by Aspire, including the Node application (TodoApp.Frontend), thanks to the `CommunityToolkit.Aspire.Hosting.NodeJS.Extensions` library.
0 commit comments