Working on 3_SQL_Server.md

jason-zhu 2023-10-22 00:42:35 +11:00
parent 06b8311c64
commit 1db16f9457
2 changed files with 27 additions and 1 deletions

17
3_SQL_Server.md Normal file

@ -0,0 +1,17 @@
# ASP.NET MVC - SQL Server
Pre-requisit:
* Insure VS2019 has **Data storage and processing** toolsets installed. If not, run **Visual Studio Installer** and choose Modify
Topic covered:
* Entity Framework in ASP.NET MVC
* i.e. How to use Entity Framework in ASP.NET MVC app to interact with SQL Server Database to perform CRUD operation
* ActionLink HTML Helper in ASP.NET MVC
* i.e. How to generate Hyperlinks in ASP.NET MVC App using ActionLink HTML Helper
* Working with Multiple Tables in MVC
* i.e. Working with Multiple tables in MVC app using entity framework
* Business Objects as Model in ASP.NET MVC
* i.e.
## Entity Framework in ASP.NET MVC

11
Home.md

@ -8,4 +8,13 @@ For debugging in Rider, need tweek port for projects:
1. Right click project, click "Properties"
2. In "Web Configuration", redefine URL (not default `http://localhost:5000`), maybe something `http://localhost:5100`
3. Overwrite Development port, port number same as redefined URL as shown above
4. In "Run/Debug Configuration", select project want to run, change Open browser URL to desired one.
4. In "Run/Debug Configuration", select project want to run, change Open browser URL to desired one.
## Suggested Reading before continue
There are many topic should be familiar before learn ASP.NET MVC development:
* C#
* Razor Syntax:
* [Intro to ASP.NET Web Programming Razor Syntax](https://docs.microsoft.com/en-us/aspnet/web-pages/overview/getting-started/introducing-razor-syntax-c), good for knowing generally what is Razor syntax
* [Razor syntax reference for ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-5.0#view-lookups-and-case-sensitivity) as reference book
* [ASP.NET Web Pages (Razor) FAQ](https://docs.microsoft.com/en-us/aspnet/web-pages/overview/getting-started/aspnet-web-pages-razor-faq)