Skip to content

Instantly share code, notes, and snippets.


  • Prague
Block or report user

Report or block MirKml

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
MirKml /
Last active Nov 9, 2018

Build image

If we ha Dockerfile in current directory

$ docker build -t <imageTagName> [--target=<targetName>] .

Builds docker image with particular tag according Dockerfile from current directory. COPY during build - is relative to direcotory with Dockerfile, is relative to WORKDIR

Run image

MirKml /
Last active Apr 8, 2018
list of useful commands for .net core
  • Create empty MVC project.
$ dotnet new mvc -n MyWebProject

Support for entity framework core for current database

For example for sqlite database. All dotnet commands must be executed under current dotnet project directory.

  1. add nuget package for EF Core provider for database type (sqlite, mysql, ...)
$ dotnet add package Microsoft.EntityFrameworkCore.Sqlite


  1. New bug of feature issue in issue tracker arrives.
  2. Then create branch from master for particular bug or feature.
$ git pull
$ git checkout master
$ git checkout -b feature-or-bug-<issueNumber>

... code ...

You can’t perform that action at this time.