567 B
567 B
Ho to use the Web API version
This Installation adds all HopFrame endpoints and services to the application.
-
Add the HopFrame.Api library to your project:
dotnet add package HopFrame.Api -
Create a DbContext that inherits the
HopDbContextand add a data source -
Add the HopFrame services to your application, provide the previously created
DatabaseContextthat inherits fromHopDbContextBasebuilder.Services.AddHopFrame<DatabaseContext>();