Friday, April 19, 2019

Protected: Short URL solution

http://short.vn?code Real URL -> Save to DB --> get ID from DB --> Encode --> Code Short link --> code --> Decode --> get ID -->...

How to change the default ASP.NET MVC theme

Razor MVC comes with a template engine called Razor. What's a template engine, you ask? It's a preprocessor that runs over your view code (generally,...

Dot NetCore

Blog: http://west-wind.com/Articles.aspx https://blogs.msdn.microsoft.com/dotnet/ http://blog.scottlogic.com/2016/01/20/restful-api-with-aspnet50.html Tutorial https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-view http://insidemysql.com/howto-starting-with-mysql-ef-core-provider-and-connectornet-7-0-4/ http://www.hanselman.com/blog/PublishingAnASPNETCoreWebsiteToACheapLinuxVMHost.aspx Csharp new features: https://channel9.msdn.com/Series/ConnectOn-Demand/211#time=0s https://channel9.msdn.com/Series/ConnectOn-Demand/204?ocid=player https://docs.microsoft.com/en-us/aspnet/core/choose-aspnet-framework dotnet complier platform https://github.com/dotnet/roslyn https://github.com/microsoft/dotnet Github https://github.com/quozd/awesome-dotnet Dotnet Core https://docs.microsoft.com/en-us/aspnet/core/ https://docs.microsoft.com/en-us/aspnet/core/index https://docs.microsoft.com/en-us/aspnet/index https://www.microsoft.com/net https://dotnet.github.io/ https://docs.microsoft.com/en-us/dotnet/core/api/index https://github.com/aspnet/EntityFramework Document PDF: https://media.readthedocs.org/pdf/aspnet/latest/aspnet.pdf XUNIT: http://xunit.github.io/docs/getting-started-dotnet-core ASP.NET Core Library and Framework Support https://github.com/jpsingleton/ANCLAFS https://github.com/aloisdg/awesome-dotnet-core#best-articles DOT NET CORE SAMPLE https://weblog.west-wind.com/posts/2016/Jun/29/First-Steps-Exploring-NET-Core-and-ASPNET-Core https://github.com/RickStrahl/AlbumViewerVNext https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api https://weblog.west-wind.com/posts/2016/Jun/13/ASPNET-Core-and-NET-Core-Overview Road map of EF Core: https://github.com/aspnet/EntityFramework/wiki/Roadmap https://github.com/riezebosch/efcore-practices https://docs.microsoft.com/en-us/ef/core/api/ https://docs.microsoft.com/en-us/ef/core/providers/mysql/ https://github.com/rowanmiller/Demo-EFCore Mysql https://docs.microsoft.com/en-us/ef/core/providers/mysql/ http://stackoverflow.com/questions/38738877/how-to-connect-to-mysql-from-net-core Entity Framwork 6 https://docs.microsoft.com/en-us/ef/ https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html Entity Core https://github.com/rowanmiller/Demo-EFCore/tree/master/CompletedSourceCode https://channel9.msdn.com/Events/Build/2016/B852 Tool: http://www.linqpad.net/ http://www.sql-format.com/ https://msdn.microsoft.com/en-us/library/ff797566(v=vs.113).aspx Just another Connector...

SimpleMembership MVC4

Anonymous User --> Authenticated User --> Role Manager --> Profile: Virtual coin, games of interest, stuff of interest.

Running Serverless ASP.NET Core Web APIs with Amazon Lambda

Running Serverless ASP.NET Core Web APIs with Amazon Lambda Slideshare: AWS Lambda with Csharp Tutorial AWS Sample code for .net core API Gateway: Lambda: CloudWatch Logs http://docs.aws.amazon.com/lambda/latest/dg/dotnet-programming-model.html AWS CloudFormation: When you use AWS...

Language specification

Java: http://docs.oracle.com/javase/specs/jls/se7/html/index.html C Sharp: https://msdn.microsoft.com/en-us/library/x53a06bb.aspx

Azure

http://blog.merrycode.com/installing-sql-server-express-2008-r2-on-windows-azure-cloud-and-its-usage-scenarios/ https://kx.cloudingenium.com/microsoft/microsoft-online/windows-azure-cloud/windows-azure-virtual-machines-gotchas/ Migrate sql server 2008 to azure sql http://www.aaronstannard.com/migrate-data-sql-azure/ http://timheuer.com/blog/archive/2012/02/20/migrating-existing-sql-server-to-sql-azure.aspx

Custom user roles and role-based authorization in ASP.NET core

The authorization model in ASP.NET Core got a big overhaul with the introduction of policy-based authorization. Authorization now uses requirements and handlers, which are...

Nopecommerce

https://teamperformanceweb.wordpress.com/2014/04/11/nopcommerce-plugin-development-part-1-the-fundamentals/ http://www.strivingprogrammers.com/Blog/post/Lavish-Kumar/20/Steps-to-add-a-new-custom-page-in-nopCommerce-3-1-MVC-Version/ http://alexwolfthoughts.com/advanced-nopcommerce-plugin-tutorial http://www.vfstech.com/?p=168 http://www.alexwolfthoughts.com/understanding-routing-with-nopcommerce-plugins http://www.nopcommerce.com/p/1396/google-adsense-plugin.aspx

HTTP to HTTPS after ELB

TOOL KIT FOR VS http://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/deployment-beanstalk-custom.html Login problem: https://github.com/aspnet/Mvc/issues/4072 http://stackoverflow.com/questions/38748989/deploy-asp-net-core-mvc-behind-nginx-that-does-ssl-termination-redirects-to-no HTTP to HTTPS redirects on IIS 7.x and higher The ELB supports a HTTP header called X-FORWARDED-PROTO. All the HTTPS requests...