@manhng

Welcome to my blog!

MVC5 and WebAPI2

April 21, 2019 14:21

ASP.NET MVC 5 and Web API 2 (edit)

https://drive.google.com/file/d/1yC0UzTPOM-ksL4PHAc5XyIQso7k8_QjY/ (Mvc 5 + Web API 2 + Ninject + AdminLTE + Select 2)

https://drive.google.com/file/d/1CS9Ch0ogmG6O1_gzfCTJt_0J-3mDH3Bn/ (ASP.NET Identity 2 + OWIN + JWT + OAuth + EF6)

Customizing Token Based Authentication (OAuth) in ASP.NET Web API with Existing User Database

http://www.sangadjiprabowo.com/post/2017/03/12/customizing-token-based-authentication-oauth-in-asp-net-web-api-with-existing-user-database

Technologies Used

  • Visual Studio 2017
  • MVC 5
  • Web API 2
  • ASP.NET Identity 2
  • Entity Framework 6
  • SQL Server Stored Procedure
  • OWIN
  • Ninject
  • HTML5, CSS3, JavaScript
  • AdminLTE
  • Twitter Bootstrap
  • jQuery
  • Beyond Compare
  • Token Authentication using ASP.NET Web API 2, Owin, and Identity
  • Swagger
  • Swashbuckle (Swashbuckle.SwaggerGen & Swashbuckle.SwaggerUI)
  • Postman
  • xUnit
  • Moq

EF 6

  • Enable-Migrations
  • Add-Migration -InitialCreate
  • Update-Database

Top 10 OWASP

  • XSS – Cross Site Scripting
  • CSRF – Cross site Request Forgery
  • CSP – Content Security Policy Resources

compare owasp top 10 2013 and 2017 cystack

Bài viết về Open Web Application Security Project (OWASP)

https://www.synopsys.com/blogs/software-security/owasp-top-10-application-security-risks/

https://blog.sucuri.net/2014/11/most-common-attacks-affecting-todays-websites.html

https://blog.sucuri.net/author/gerson

https://blog.sucuri.net/2018/10/owasp-top-10-security-risks-part-i.html

https://blog.sucuri.net/2018/10/owasp-top-10-security-risks-part-ii.html

https://blog.sucuri.net/2018/12/owasp-top-10-security-risks-part-iii.html

https://blog.sucuri.net/2019/01/owasp-top-10-security-risks-part-iv.html

https://blog.sucuri.net/2019/01/owasp-top-10-security-risks-part-v.html

Tham khảo:

Ninject

https://github.com/manhnguyenv/using-ninject-for-both-ASP.NET-Web-Api-2-and-MVC-5-in-the-same-project

+ .NETFramework,Version=v4.5.2

+ Ninject.MVC5.3.2.1
+ Ninject.WebApi.DependencyResolver.0.1.4758.24814
+ Ninject.Web.3.2.1
+ Ninject.Web.Common.WebHost.3.2.3
+ Ninject.Web.Common.3.2.3
+ Ninject.3.2.0

Demonstration of hybrid .Net MVC and AngularJS web application

https://github.com/manhnguyenv/MVC5NgDemo

Starter for MVC5 or Web API 2, with NInject, Identity DB and Sightings ModelFactory ready

https://github.com/manhnguyenv/SightingsWebApp-MVC5-WebAPI2

ASP.NET Identity 2

https://github.com/manhnguyenv/AspNetIdentity2GroupPermissions

 

Categories

Recent posts