This is the basic MVC template for .Net 7.0 with a few tweaks: -
The ORM tool is Linq2DB
The Identity UI is fully scaffolded.
_urlEncoder.Encode("LINQ2DB_MVC_Core_5").External Authentication is easy to setup (documented in Startup.cs). These 3 integrations are coded already: -
Additional External Authentication can be set up through following the comments in Startup.cs
Linq2DB is fully integrated into the project : -
##Setting up Linq2DB POCO Class generation
To install the generation tool - open the Developer Command Prompt and execute this command: -
dotnet tool install -g linq2db.cli
1.1 Note - you should update the tool every time you update the Linq2DB component. The following command will update the tool: -
dotnet tool update -g linq2db.cli
After confirming that the project runs, you can edit the POCO generation config file DB\_dbGenerateParams.json to point to the new database.
run the DOS batch file _make_linq2db.bat from within the DB folder to generate the Linq2DB.cs file.
Now you can continue with the Angular - API project developing whatever you had in mind in the first place (See Startup.cs and DemoController for tips on accessing the database).
28 commits
C#
58.8%
HTML
19.9%
JavaScript
14.8%
TSQL
5.7%
This is the basic MVC template for .Net 7.0 with a few tweaks: -
The ORM tool is Linq2DB
The Identity UI is fully scaffolded.
_urlEncoder.Encode("LINQ2DB_MVC_Core_5").External Authentication is easy to setup (documented in Startup.cs). These 3 integrations are coded already: -
Additional External Authentication can be set up through following the comments in Startup.cs
Linq2DB is fully integrated into the project : -
##Setting up Linq2DB POCO Class generation
To install the generation tool - open the Developer Command Prompt and execute this command: -
dotnet tool install -g linq2db.cli
1.1 Note - you should update the tool every time you update the Linq2DB component. The following command will update the tool: -
dotnet tool update -g linq2db.cli
After confirming that the project runs, you can edit the POCO generation config file DB\_dbGenerateParams.json to point to the new database.
run the DOS batch file _make_linq2db.bat from within the DB folder to generate the Linq2DB.cs file.
Now you can continue with the Angular - API project developing whatever you had in mind in the first place (See Startup.cs and DemoController for tips on accessing the database).
28 commits
C#
58.8%
HTML
19.9%
JavaScript
14.8%
TSQL
5.7%