02_09A Asp.Net RESTful Web Api(VS2017)

02_09A Asp.Net RESTful Web Api(VS2017)


.NET Framework學習之路.

此為.NET Framework學程中的其中一門課。

購買本課程:

請來這邊找尋優惠代碼: http://ithandyguytutorial.obior.cc/

The English users.

if you need an IT tutor, you may contact me by email or google hangout.
My ID is ithandyguy.kevinlin@gmail.com

Asp.Net RESTful Web Api扎實打底學程




Contact Me + 折價券:

1.
ITHandyGuy WebSite
http://ithandyguytutorial.obior.cc/
ITHandyGuy所有課程的折價券集中地
2.
ITHandyGuy Facebook Group
https://www.facebook.com/groups/934567793358849
上課中有任何問題,請來這邊討論。
不管你有沒有買我的課程,都歡迎你加入。
ITHandyGuy所有課程的折價券集中地。
3.
ITHandyGuy Facebook Page
https://www.facebook.com/Ithandyguytutorial-2353578301334227

To 出版商:

如果有中文出版商對我的教材有興趣,願意與我合作,我可以將自己的教材翻譯成中文。


===============================================================

Tools

Tools installation and settings instruction.

Pre-Requirement

Linq Foundation
    Linq從入門到精通Video
MSTest Foundation
    MSTest從入門到精通
ASP.NET MVC Foundation

Tools

T000_Install Visual Studio 2017 Offline
    T000_Video(中文)
    T000_Video_En

RESTful Asp.Net Web API

API Post、Get、Put、Delete
關於API的Post、Get、Put、Delete


T001_RESTful ASP.NET Web API_GetPostPutDelete
Tutorial1講義: 關於RESTful ASP.NET Web API的Get、Post、Put、Delete
Video
T001_01_RESTfulAspNetWebApi
T001_02_RESTfulAspNetWebApi_Get
T001_03_RESTfulAspNetWebApi_Postman
T001_04_RESTfulAspNetWebApi_Fiddler
----------------------
T001_RESTful ASP.NET Web API_GetPostPutDelete
Tutorial1講義: 關於RESTful ASP.NET Web API的Get、Post、Put、Delete
Video
Tutorial 01-01: 關於RESTful ASP.NET Web API的Get、Post、Put、Delete
Tutorial 01-02: 關於RESTful ASP.NET Web API的Get實作
Tutorial 01-03: 關於RESTful ASP.NET Web API的Get、Post、Put、Delete實作,Postman測試
Tutorial 01-04: 關於RESTful ASP.NET Web API的Get、Post、Put、Delete實作,Fiddler測試



API Post、Get、Put、Delete, and Database Create、Read、Update、Delete
關於API的Post、Get、Put、Delete對應到Database的Create、Read、Update、Delete



T002_API_PostGetPutDelete_Database_CreateReadUpdateDelete
Tutorial 02筆記: 關於API的Post、Get、Put、Delete對應到Database的Create、Read、Update、Delete
Video
T002_01_API_Get
T002_02_API_Get_JSON_XML_Fiddler
T002_03_API_Get_JSON_XML_Postman
T002_04_API_Get
T002_05_API_Post
T002_06_API_Delete
T002_07_API_PUT
----------------------
T002_API_PostGetPutDelete_Database_CreateReadUpdateDelete
Tutorial 02筆記: 關於API的Post、Get、Put、Delete對應到Database的Create、Read、Update、Delete
Video
Tutorial 02-01: 關於GET
Tutorial 02-02: 關於GET,在Fiddler中測試JSON/XML format
Tutorial 02-03: 關於GET,在Postman中測試JSON/XML format
Tutorial 02-04: 關於GET比較好的寫法
Tutorial 02-05: 關於POST比較好的寫法
Tutorial 02-06: 關於DELETE比較好的寫法
Tutorial 02-07: 關於PUT比較好的寫法



Auto-generate the API with Get、Post、Put、Delete 

自動生成API的Post、Get、Put、Delete。


T003_API_PostGetPutDelete_HttpGet_HttpPost_HttpPut_HttpDelete_FromBody_FromURI
Tutorial 03筆記: 自動生成API的Post、Get、Put、Delete。關於HttpGet、HttpPost、HttpPut、HttpDelete四大屬性。關於FromBody和FromURI
Video
T003_01_AutoGenerate_PostGetPutDelete_About_HttpGet_HttpPost_HttpPut_HttpDelete
T003_02_API_Get
T003_03_API_Post
T003_04_API_PUT_FromBody_FromURI
T003_05_API_DELETE
----------------------
T003_API_PostGetPutDelete_HttpGet_HttpPost_HttpPut_HttpDelete_FromBody_FromURI
Tutorial 03筆記: 自動生成API的Post、Get、Put、Delete。關於HttpGet、HttpPost、HttpPut、HttpDelete四大屬性。關於FromBody和FromURI
Video
Tutorial 03-01: 自動生成API的Post、Get、Put、Delete。關於HttpGet、HttpPost、HttpPut、HttpDelete
Tutorial 03-02: 關於GET
Tutorial 03-03: 關於POST
Tutorial 03-04: 關於PUT搭配FromBody和FromURI
Tutorial 03-05: 關於DELETE



Using Jsonp or Cors to let Jquery Ajax calls Web Api in the different origins
使用Jsonp或是Cors讓JqueryAjax呼叫WebApi在不同的origin


T004_JsonpAndCors_JqueryAjaxCallWebApiInTheDifferentOrigins
Tutorial 04筆記: 使用Jsonp或是Cors讓JqueryAjax呼叫WebApi在不同的origin
T004_01_JqueryAjaxCallWebApiInTheSameOrigins
T004_02_JsonpAlowsJqueryAjaxCallWebApiInTheDifferentOrigins
T004_03_CorsAllowsJqueryAjaxCallWebApiInTheDifferentOrigins
Video
T004_01_01_AutoGenerate_WebApiController_MvcController_UseJqueryAjaxCallWebApiInTheSameOrigin
T004_01_02_About_WebApiController_Get_Put
T004_01_03_About_WebApiController_Post_Delete
T004_01_04_About_MvcController
T004_01_05_About_JqueryAjaxCallWebApiInTheSameOrigin
T004_01_06_About_JqueryAjaxCallWebApiInTheDifferentOrigins
T004_02_JSONP(JsonWithPadding)AllowsJqueryAjaxCallWebApiInTheDifferentOrigins
T004_03_CORS(CrossOriginResourceSharing)SllowsJqueryAjaxCallWebApiInTheDifferentOrigins
----------------------
T004_JsonpAndCors_JqueryAjaxCallWebApiInTheDifferentOrigins
Tutorial 04筆記: 使用Jsonp或是Cors讓JqueryAjax呼叫WebApi在不同的origin
T004_01_JqueryAjaxCallWebApiInTheSameOrigins
T004_02_JsonpAlowsJqueryAjaxCallWebApiInTheDifferentOrigins
T004_03_CorsAllowsJqueryAjaxCallWebApiInTheDifferentOrigins
Video
Tutorial 04-01-01: 自動生成WebApiController,自動生成MvcController,使用Jquery AJAX呼叫Web API在相同的origin
Tutorial 04-01-02: 講解WebApiController_Get_Put
Tutorial 04-01-03: 講解WebApiController_Post_Delete
Tutorial 04-01-04: 講解MvcController
Tutorial 04-01-05: 講解使用Jquery AJAX呼叫Web API在相同的origin
Tutorial 04-01-06: 講解使用Jquery AJAX呼叫Web API在不同的origin
Tutorial 04-02: 使用JSONP (JSON with Padding)讓Jquery AJAX呼叫Web API在不同的origin
Tutorial 04-03: 使用Enable CORS (Cross Origin Resource Sharing)讓Jquery AJAX呼叫Web API在不同的origin



API SSL HTTPS
API的SSL和HTTPS



T005_SSL_Https
Tutorial 05筆記: API的SSL和HTTPS
T005_01_SSL_Https
T005_02_SSL_Https
Video
T005_01_AutoGenerate_WebApiController
T005_02_SSL_HTTPS_Certificate
T005_03_SSL_HTTPS
----------------------
T005_SSL_Https
Tutorial 05筆記: API的SSL和HTTPS
T005_01_SSL_Https
T005_02_SSL_Https
Video
Tutorial 05-01: 自動生成WebApiController
Tutorial 05-02: 使用SSL和HTTPS,關於Certificate
Tutorial 05-03: 使用SSL和HTTPS
----------------------
Please revise
MVC課程的
T017_RequireHttps_IIS_ErrorPages_SSL_Certificate_ErrorPages
Tutorial 17講義: RequireHttps搭配IIS,SSL,HTTPS,Certicate完全攻略
----------------------
Reference:
保哥的Certificate的觀念補充
https://blog.miniasp.com/post/2018/04/21/PKI-Digital-Certificate-Format-Convertion-Notes.aspx


Authentication,Customize Basic Token and  BasicAuthorizationFilterAttribute
關於Authentication,手寫BasicToken手寫BasicAuthorizationFilterAttribute



T006_BasicAuthorizationFilterAttribute_BasicLogin
Tutorial 06筆記: 關於Authentication登入登出,手寫BasicToken手寫BasicAuthorizationFilterAttribute
T006_01_Revise_SSL_HTTPS_CORS3
T006_02_BasicLogin_BasicAuthorizationFilterAttribute
video
T006_01_Revise_SSL_HTTPS_CORS
T006_02_Authentication_BasicToken_BasicAuthorizationFilterAttribute
T006_03_Fiddler_Postman
T006_04_MVC_LoginView
----------------------
T006_BasicAuthorizationFilterAttribute_BasicLogin
Tutorial 06筆記: 關於Authentication登入登出,手寫BasicToken手寫BasicAuthorizationFilterAttribute
T006_01_Revise_SSL_HTTPS_CORS
T006_02_BasicLogin_BasicAuthorizationFilterAttribute
video
Tutorial 06-01: 複習SSL、HTTPS、CORS
Tutorial 06-02: 手寫BasicToken手寫BasicAuthorizationFilterAttribute
Tutorial 06-03: 使用Fiddler和Postman
Tutorial 06-04: 使用MVC做login View
----------------------
Please revise
MVC課程的
T017_RequireHttps_IIS_ErrorPages_SSL_Certificate_ErrorPages
Tutorial 17講義: RequireHttps搭配IIS,SSL,HTTPS,Certicate完全攻略
----------------------
Reference:
保哥的Certificate的觀念補充
https://blog.miniasp.com/post/2018/04/21/PKI-Digital-Certificate-Format-Convertion-Notes.aspx




Authentication,Authorize,Google Authentication,Facebook Authentication,Role
關於Authentication和
Authorize,實作Google和Facebook Authentication,實作Role


T007_Authentication_Authorize_GoogleAuthentication_FacebookAuthentication_Role
Tutorial 07講義: 關於Authentication和Authorize,實作Google和Facebook Authentication,實作Role
T007_01_WhatToDo
T007_01_WhatToDo
T007_02_Mvc_GamerController_Api_GamerController
T007_03_Mvc_AccountController_Microsoft.AspNet.Identity.EntityFramework_DB_Connection String
T007_04_FiddlerTestOnlineGame.WebApi_LoginAuthentication
T007_05_OnlineGame.WebApi_LoginAuthentication
T007_06_OnlineGame.WebApi_AuthenticationLogout
T007_07_sessionStorage_VS_localStorage
T007_08_UserIdentityOnClient-sideAndServer-side
T007_09_GoogleAuthentication
T007_10_GoogleAuthenticationWithHttps
T007_11_ClientSide_RedirectHTTPToHTTPS
T007_12_FacebookAuthenticationWithHttps
T007_13_SomeBugsFromLoginView_Revise_sessionStorage_localStorage
T007_14_CreateSampleRolesAndSampleusers
T007_15_Roles_CRUD
T007_16_Users_AssignRolesToUsers
T007_17_AuthorizeAttributeWithRolesAndUsers
----------------------
T007_Authentication_Authorize_GoogleAuthentication_FacebookAuthentication_Role
Tutorial 07講義: 關於Authentication和Authorize,實作Google和Facebook Authentication,實作Role
Tutorial 07-01: 成品展示。
Tutorial 07-02: MVC GamerController,API GamerController
Tutorial 07-03-01: MVC AccountController,MDF_Databsae
Tutorial 07-03-02: 討論Microsoft.AspNet.Identity.EntityFramework DB和Connection String
Tutorial 07-04: 使用Fiddler來測試OnlineGame.WebApi和Login Authentication
Tutorial 07-04-01: 深入了解Startup.Auth.cs和ApplicationOAuthProvider.cs
Tutorial 07-04-02: 使用Fiddler來測試OnlineGame.WebApi和Login Authentication
Tutorial 07-05: 實作OnlineGame.WebApi的LoginAuthentication
Tutorial 07-05-01: 實作LoginView
Tutorial 07-05-02: 實作_NavigationLinks.cshtml和GamerList.cshtml
Tutorial 07-05-03: 實作_RedirectToLogin.cshtml實現Client-side redirect搭配AuthorizeAttribute
Tutorial 07-06: 實作OnlineGame.WebApi的AuthenticationLogout
Tutorial 07-07: sessionStorage和localStorage的差異和比較
Tutorial 07-08: 找出Client-side和Server-side和UserIdentity
Tutorial 07-09: Google Authentication
Tutorial 07-09-01: Google Authentication
Tutorial 07-09-02: thirdPartyAuthentication.js和AccountController.cs的RegisterExternalOnClient()
Tutorial 07-09-03: LoginView和測試Google Authentication
Tutorial 07-10: Google Authentication搭配HTTPS
Tutorial 07-11: ClientSide的Redirect HTTP到HTTPS
Tutorial 07-12: Facebook Authentication搭配HTTPS
Tutorial 07-12-01: Facebook Authentication
Tutorial 07-12-02: FacebookBackChannelHandler.cs和Startup.Auth.cs和thirdPartyAuthentication.js
Tutorial 07-12-03: LoginView和Fiddler測試Facebook Authentication
Tutorial 07-13: LoginView的一些小Bug,小複習sessionStorage和localStorage
Tutorial 07-14: 建立Sample Roles和Sample Users
Tutorial 07-15: 深入解析Roles CRUD
Tutorial 07-16: 深入解析Users,把Roles分配給Users
Tutorial 07-16-01: UsersIndex和UserDetails
Tutorial 07-16-02: AssignRolesToUsers
Tutorial 07-17: 討論[Authorize] attribute, [Authorize(Roles="Admin, Power")], [Authorize(Users="Admin@AAA.com")].
----------------------
Please revise
MVC課程的
T017_RequireHttps_IIS_ErrorPages_SSL_Certificate_ErrorPages
Tutorial 17講義: RequireHttps搭配IIS,SSL,HTTPS,Certicate完全攻略



RoutePrefixAttribute, RouteAttribute, RouteConstraints, RouteName, IHttpActionResult V.S. HttpResponseMessage
關於RoutePrefixAttribute、RouteAttribute、RouteName、RouteConstraints。比較IHttpActionResult和HttpResponseMessage


T008_RoutePrefixAttribute_RouteAttribute_RouteConstraints_RouteName_IHttpActionR
Tutorial 08筆記: 關於RoutePrefixAttribute、RouteAttribute、RouteName、RouteConstraints。比較IHttpActionResult和HttpResponseMessage
T008_01_Intro_TSQL_EF
T008_02_RouteAttribute
T008_03_RoutePrefixAttribute_RouteAttribute
T008_04_RouteConstraints
T008_05_RouteName
T008_06_IHttpActionResult_HttpResponseMessage
----------------------
T008_RoutePrefixAttribute_RouteAttribute_RouteConstraints_RouteName_IHttpActionR
Tutorial 08筆記: 關於RoutePrefixAttribute、RouteAttribute、RouteName、RouteConstraints。比較IHttpActionResult和HttpResponseMessage
Tutorial 08-01: 會學什麼?前置設定TSQL和EF
Tutorial 08-02: 關於RouteAttribute
Tutorial 08-03: 關於RoutePrefixAttribute和RouteAttribute
Tutorial 08-04: 關於RouteConstraints
Tutorial 08-05: 關於RouteName
Tutorial 08-06: IHttpActionResult和HttpResponseMessage的比較
----------------------
Please revise
MVC課程的
T017_RequireHttps_IIS_ErrorPages_SSL_Certificate_ErrorPages
Tutorial 17講義: RequireHttps搭配IIS,SSL,HTTPS,Certicate完全攻略


Web API Versioning
製作你的Web API Version


T009_Version
Tutorial 09筆記: 製作你的Web API version
T009_01_Introduction
T009_02_VersionByUri
T009_03_VersionByUriWithRoutePrefixand_RouteAttribute
T009_04_VersionByQuerystring
T009_05_VersionByTheRequestCustomHeaderProperty
T009_06_VersionByTheRequestHeaderAcceptProperty
T009_07_VersionByCustomMediaTypes
----------------------
T009_Version
Tutorial 09筆記: 製作你的Web API version
Tutorial 09-01: 會學什麼?前置設定
Tutorial 09-02: 關於Version by URI
Tutorial 09-03: 關於Version by URI with RoutePrefix and Route Attribute
Tutorial 09-04: 關於Version by querystring
Tutorial 09-05: 關於Version by the request custom header property
Tutorial 09-06: 關於Version by the request header Accept property
Tutorial 09-07: 關於version by custom media types
----------------------
Please revise
MVC課程的
T017_RequireHttps_IIS_ErrorPages_SSL_Certificate_ErrorPages
Tutorial 17講義: RequireHttps搭配IIS,SSL,HTTPS,Certicate完全攻略


師資介紹

Kevin Lin

技術移民到澳洲的.NET Developer,對於.NET領域的相關技術與各式開發方式、多種前後端框架與工具、版控系統,皆有深入的研究。畢業於澳洲多個大學,其中2所全校第1名畢業,最高學歷為碩士。現任HiSKIO線上課程特約講師,以及IT工具人學院創辦人。以一門銜接一門的扎實打底學程,幫助許多想成為.NET Developer的朋友們,繞過彎路,快速學習。

2013 Certificate I in Hospitality (Provide Responsible Service of Alcohol) QHA QLD,酒精飲料服務責任執照, 昆士蘭餐飲協會。
2011 Graduate Diploma in IT Management CQU QLD,IT管理研究生文憑, 中央昆士蘭大學,該屆全校第1名畢業。
2010 Certificate IV in Property (Real Estate) Professional Real Estate Training QLD,專業昆士蘭房地產培訓4級證書。
2010 Master of Information System Griffith QLD,信息系統碩士,格里菲斯大學。
2008 Bachelor of IT Software Architecture QUT QLD,IT軟件架構學士,昆士蘭科技大學。
2005 Diploma in Information Technology QIBT QLD,IT專業文憑證書,昆士蘭商業技術學院,該屆全校第1名畢業。









留言

這個網誌中的熱門文章

T000_011_Install Visual Studio 2019 Offline

T020_CreateLargeData_SubQuery_Join_Performance

IT工具人學院