Tuesday, March 26, 2019

Dot .net core deployement

https://forums.iis.net/t/1195860.aspx?+change+net+framework+version+in+IIS http://docs.aws.amazon.com/ko_kr/elasticbeanstalk/latest/dg/customize-containers-windows-ec2.html https://github.com/aspnet/DataProtection/blob/dev/Provision-AutoGenKeys.ps1 http://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/deployment-beanstalk-custom-netcore.html Deploying an ASP.NET Core Application with AWS Elastic Beanstalk http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/dotnet-core-tutorial.html#dotnet-core-tutorial-deploy HOWTO Build an ASP.NET CORE Web App on AWS Running Linux with DynamoDB – Part 4 http://blogs.catapultsystems.com/khayes/archive/2016/12/30/howto-build-an-asp-net-core-web-app-on-aws-running-linux-with-dynamodb-part-4/ Migration...

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...

Entity Framework: Storing complex properties as JSON text in database

https://www.codeproject.com/Articles/1166099/Entity-Framework-Storing-complex-properties-as-JSO Complex properties in entity Framework models such as arrays, dictionaries, and objects can be serialized in SQL Server database in JSON format. In this...

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...

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...

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...

PushSharp

APNS - Apple Push Notification Service Finish HTTP/2 support (currently in another branch) GCM - Google Cloud Messaging XMPP transport still under development Other More NUnit tests to be...

Protected: Simple image processing util

Simple image processing utility  

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 -->...

Protected: DynamoDB- Upload data from file

Example code: