This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GenericHandlersModule : Module | |
{ | |
protected override void Load(ContainerBuilder builder) | |
{ | |
builder.RegisterType<CreateCommandHandler<Foo, CreateFooCommand>>().As<IRequestHandler<CreateFooCommand, bool>>(); | |
builder.RegisterType<DeleteCommandHandler<Foo, DeleteFooCommand>>().As<IRequestHandler<DeleteFooCommand, bool>>(); | |
builder.RegisterType<ListQueryHandler<Foo, ListFooQuery>>().As<IRequestHandler<ListFooQuery, IEnumerable<Foo>>>(); | |
builder.RegisterType<UpdateCommandHandler<Foo, UpdateFooCommand>>().As<IRequestHandler<UpdateFooCommand, bool>>(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM microsoft/dotnet:2.2-aspnetcore-runtime AS base | |
WORKDIR /app | |
EXPOSE 80 | |
EXPOSE 443 | |
COPY ./publish . | |
ENTRYPOINT ["dotnet", "dockerize-dotnet-core.dll"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=p@ssw0rd" -p 1433:1433 --name sql1 -d mcr.microsoft.com/mssql/server:2017-latest | |
User Id: sa | |
Password: p@ssw0rd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d -e MONGO_INITDB_ROOT_USERNAME=sa -e MONGO_INITDB_ROOT_PASSWORD=p@ssw0rd -p 27017:27017 --name mongo1 mongo | |
User Id: sa | |
Password: p@ssw0rd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker pull docker.elastic.co/elasticsearch/elasticsearch:6.3.0 | |
docker pull docker.elastic.co/kibana/kibana:6.3.0 | |
docker network create esnetwork --driver=bridge | |
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" --name elasticsearch -d --network esnetwork docker.elastic.co/elasticsearch/elasticsearch:6.3.0 | |
docker run -p 5601:5601 --name kibana -d --network esnetwork docker.elastic.co/kibana/kibana:6.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --name eventstore-node -it -p 2113:2113 -p 1113:1113 eventstore/eventstore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d -p 15672:15672 rabbitmq:3-management | |
user id: guest | |
password: guest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"dotenv": "^7.0.0", | |
"gulp": "^3.9.1", | |
"gulp-debug": "^4.0.0", | |
"gulp-file": "^0.4.0", | |
"gulp-jsforce-deploy": "^1.1.2", | |
"gulp-rename": "^1.4.0", | |
"gulp-replace": "^1.0.0", | |
"gulp-zip": "^4.2.0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var forceDeploy = require("gulp-jsforce-deploy"); | |
var gulp = require("gulp"); | |
var del = require("del"); | |
var zip = require("gulp-zip"); | |
var rename = require("gulp-rename"); | |
var replace = require("gulp-replace"); | |
var file = require("gulp-file"); | |
var dotenv = require("dotenv"); | |
var debug = require("gulp-debug"); | |
dotenv.config(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[email protected] | |
SF_PASSWORD={password}C4WjlOBJ5RcWhE0SJGsCCaB4 #password + $security_token | |
DIST_PATH=dist/salesforce-angular-app | |
LOGIN_URL=https://test.salesforce.com | |
PAGE_NAME=test | |
RESOURCE_NAME=test | |
CONTROLLER= | |
EXTENSIONS= | |
API_VERSION=45.0 | |
BASE_HREF=/ |
OlderNewer