@manhng

Welcome to my blog!

ASP.NET and Angular

September 10, 2020 11:33

ASP.NET and Angular (edit)

gtechsltn/clean-architecture-in-asp-net-mvc-5: An open-source sample project demonstrating how to implement Uncle Bob's Clean Architecture practice called "Screaming Architecture" in ASP.NET MVC 5. (github.com) (HAY HAY HAY)

  • ASP.NET MVC 5
  • ASP.NET Web API 2 REST Service
  • SQL Server 2008 R2
  • Dapper
  • Stored Procedure
  • IIS 10
  • Angular 6
  • Bootstrap
  • Font Awesome
  • Angular Material

https://medium.com/asp-net-and-angular/how-to-create-an-asp-net-mvc-5-project-with-angular-6-in-visual-studio-part-1-8b116e19a335

https://medium.com/asp-net-and-angular/how-to-create-an-asp-net-mvc-5-project-with-angular-6-in-visual-studio-part-2-1cea70c85114

http://www.hanselman.com/blog/OneASPNETMakingJSONWebAPIsWithASPNETMVC4BetaAndASPNETWebAPI.aspx

https://bitoftech.net/2013/11/25/detailed-tutorial-building-asp-net-web-api-restful-service/

https://docs.microsoft.com/en-us/aspnet/web-api/overview/web-api-routing-and-actions/create-a-rest-api-with-attribute-routing

https://www.c-sharpcorner.com/article/hosting-asp-net-web-api-rest-service-on-iis-10/

https://www.completecsharptutorial.com/mvc-articles/insert-update-delete-in-asp-net-mvc-5-without-entity-framework.php (CRUD)

https://docs.microsoft.com/en-us/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-web-app-with-email-confirmation-and-password-reset (SendGrid)

https://docs.microsoft.com/en-us/azure/sendgrid-dotnet-how-to-send-email (SendGrid with Azure)

Web API 2

June 22, 2018 13:30

Search (edit)

https://www.pipiscrew.com/category/asp-net/

Web API 2 (edit)

https://www.c-sharpcorner.com/article/learn-web-api-using-sql-helper-class/

https://dzone.com/articles/learn-web-api-using-sql-helper-class

Web API Core (edit)

https://www.infoq.com/articles/advanced-architecture-aspnet-core

 

How to authenticate web pages using JWT token in ASP.NET Core. This sample demonstrates how to authenticate web pages using JWT token in ASP.NET Core.

https://code.msdn.microsoft.com/How-to-authentication-web-f58efc25

 

API developed with ASP.NET Core 2.0 using Chinook DB. Developed with the Hexagonal Architecture for better unit testing.

https://github.com/cwoodruff/ChinookASPNETCoreAPIHex

 

https://blogs.msdn.microsoft.com/webdev/2017/04/06/jwt-validation-and-authorization-in-asp-net-core/

https://blogs.msdn.microsoft.com/webdev/2016/10/27/bearer-token-authentication-in-asp-net-core/

 

 

https://stackify.com/soap-net-core/

https://stackify.com/asp-net-core-web-api-guide/

 

Web API Code Examples

https://code-examples.net/en/q/12466c9

Other Articles

http://jameschambers.com/2015/06/rethinking-our-practices-with-the-mvc-framework/

https://code.msdn.microsoft.com/How-to-authentication-web-f58efc25

https://github.com/simplcommerce/SimplCommerce

http://www.dotnetcurry.com/software-gardening/1365/solid-principles

https://www.red-gate.com/simple-talk/dotnet/asp-net/revisiting-script-injection-asp-net/

Hiệu ứng Loading Ajax

http://www.hoclaptrinhweb.com/javascript-jquery-ajax/tao-hieu-ung-page-loading-cho-trang-web-hltw861.aspx

Upload Files

https://phppot.com/php/pause-resume-file-upload-using-javascript/

https://phppot.com/php/twitter-like-profile-image-upload-using-jquery-ajax/

https://phppot.com/demo/twitter-like-profile-image-upload-using-jquery-ajax/

Web API 2 - Log Every Requests

May 8, 2018 17:18

ASP.NET Web API 2 (edit) - Log every incoming request for specific actions

https://stackoverflow.com/questions/34819814/asp-net-web-api-2-log-every-incoming-request-for-specific-actions

https://weblogs.asp.net/fredriknormen/log-message-request-and-response-in-asp-net-webapi

https://www.infoworld.com/article/3211590/application-development/how-to-log-request-and-response-metadata-in-aspnet-web-api.html

 

Static files in IIS + Web API 2 + NET Framework 4.5

April 26, 2018 14:45

Static files in IIS

Mime type for WOFF fonts?

https://stackoverflow.com/questions/3594823/mime-type-for-woff-fonts/5142316

Manifest file extension (HAY)

https://stackoverflow.com/questions/6523034/html5-appcache-manifest-file-extension

https://github.com/h5bp/server-configs/issues/27

Static files in IIS

https://stackoverflow.com/questions/662535/setting-charset-for-static-files-in-iis

<configuration>
    <system.webServer>
      <staticContent>
        <mimeMap fileExtension=".rss" mimeType="text/xml; charset=utf-8"/>
      </staticContent>

https://stackoverflow.com/questions/9021946/add-mime-mapping-in-web-config-for-iis-express

<system.webServer>
  ...
  <staticContent>
    <remove fileExtension=".woff" />
    <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
  </staticContent>
</system.webServer>

Config ASP.NET Web API 2.2 in IIS 7 with .NET Framework 4.5

http://stevemichelotti.com/resolve-404-in-iis-express-for-put-and-delete-verbs/

https://www.hanselman.com/blog/NETVersioningAndMultiTargetingNET45IsAnInplaceUpgradeToNET40.aspx

https://weblog.west-wind.com/posts/2012/Mar/13/NET-45-is-an-inplace-replacement-for-NET-40

 

Categories

Recent posts