I'm new to developing Dot Net projects and I've spent most of my time developing small projects with React, Next.js, and Vue.js alongside Supabase for the database.
In the ConfigureServices
method, I see tutorials use options => options.UseSqlServer
:
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext<ApplicationDbContext>(options => options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
services.AddControllersWithViews().AddRazorRuntimeCompilation();
}
What is the proper way to do the same thing but with Supabase?
I downloaded the nuget package https://www.nuget.org/packages/supabase-csharp/
but I don't see any documentation on how to use this in the ConfigureServices
method.
Thank you all for your advice!