更新 C#
parent
541d6ab706
commit
1dc3cef75a
8
C%23.md
8
C%23.md
|
@ -133,4 +133,10 @@ select c
|
|||
##
|
||||
# WEBAPI
|
||||
### 建立新專案
|
||||
|
||||
### 基本上都與ASPNET相同,就這部分要注意
|
||||
![](http://140.125.21.65:8418/Education/Backend/raw/branch/master/C_shape/img/%E5%9C%96%E7%89%8717.png)
|
||||
### 連接資料庫的方式都與ASPNET一樣,這邊只是將ASPNET中的MVC去除View去更專注在後端,這邊建立控制器的方式也有點不同
|
||||
![](http://140.125.21.65:8418/Education/Backend/raw/branch/master/C_shape/img/%E5%9C%96%E7%89%8718.png)
|
||||
### 其餘的就好好看先前提到的ORM框架與LINQ,去構建出API即可
|
||||
### 運行之後:
|
||||
![](http://140.125.21.65:8418/Education/Backend/raw/branch/master/C_shape/img/%E5%9C%96%E7%89%8719.png)
|
Loading…
Reference in New Issue
Block a user