Samples on how to use EdgeDB with ASP.NET Core. It requires the .NET 8 preview 6. For ASP.NET Core samples, go to Practical ASP.NET Core.
-
This sample connects to
hello-world
instance andedgedb
database to query aMessage
object and display it. -
This sample shows how to insert data into EdgeDB. We are using
uuid
,str
,anyenum
anddatetime
EdgeDB types and they are mapped to C# as followspublic record BlogPost(Guid Id, string Title, string Body, BlogPostStatus Status, EdgeDB.DataTypes.DateTime DateCreated);