Monday, May 20, 2019

Quản trị MySQL

Giới thiệu MySQL Replication 1. Giới thiệu Right tool for right job. Trước tiên phải hiểu là MySQL Replication không phải là giải pháp giải quyết...

SimpleMembership MVC4

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

SimpleMembership, Membership Providers, Universal Providers and the new ASP.NET 4.5 Web Forms and ASP.NET...

The ASP.NET MVC 4 Internet template adds some new, very useful features which are built on top of SimpleMembership. These changes add some great features,...

Advance topic about AWS

Automating AWS Services with Scripting and the AWS CLI a. Create Keypair: aws ec2 create-key-pair --key-name CLI 2. Bootstrap with user data #!/bin/sh curl -L https://us-west-2-aws-training.s3.amazonaws.com/awsu-spl/spl03-working-elb/static/bootstrap-elb.sh | sh   3. AWS...

Copy MongoDB to S3

Sample project: https://www.codeproject.com/Articles/656093/Connecting-MongoDB-with-ASP-NET (Old mongo db driver) Visual Studio 2015 Install nuget: MongoDB.Driver 2.4.3 Configuration: Connection string: https://docs.mongodb.com/manual/reference/connection-string/   .net core   https://www.codeproject.com/Articles/1151842/Using-MongoDB-NET-Driver-with-NET-Core-WebAPI http://www.dotnetcurry.com/aspnet-mvc/1267/using-mongodb-nosql-database-with-aspnet-webapi-core Mixing Static and Dynamic Data http://mongodb.github.io/mongo-csharp-driver/2.4/examples/mixing_static_and_dynamic/   TUTORIAL http://edubanq.com/database/mongodb-database/mongodb-from-c-with-the-net-driver-2-0/

Replica set trong MongoDB

Replica set là một hệ replication trong MongoDB. Tập data sẽ được nhân bản trên nhiều server thay vì tập trung trên một single...

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

Using AWS Lambda with Amazon CloudWatch and SNS to Implement a Slack Chat Bot

Lambda Function Sample template test json:   kdjf

Protected: Serverless Access to RDS and ElastiCache Behind a Virtual Private Cloud (VPC) with...

Create cache: aws elasticache create-cache-cluster --cache-cluster-id ClusterForLambdaTest --cache-node-type cache.m3.medium --engine memcached --security-group-ids <your-default-vpc-security-group-id> --num-cache-nodes 1 Deployement option:   Create lambda function: aws lambda create-function --function-name AccessMemCache --region <your-region> --zip-file...

Protected: SQL Anti Pattern

DB 만지는 분들만 공유할 까 하다가 생각보다 DB에 쿼리 날리시는 분들이 많은 것 같아 개발팀 공유드립니다. 아래 두 쿼리의 차이점은 무엇일까요? ㅎㅎ 1) select *...