Giter Site home page Giter Site logo

aspnetcore-generator-api's Introduction

aspnetcore-generator-api's People

Contributors

g0t4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aspnetcore-generator-api's Issues

Missing Fake.net when trying to run in windows/linux container

I get an error when trying to run in a container. I get the error below as soon as I run
dotnet api\bin\Debug\netcoreapp2.0\api.dll in a container.
Error message:

An assembly specified in the application dependencies manifest (api.deps.json) was not found:
package: 'Faker.Net', version: '1.0.3'
path: 'lib/net40/Faker.NET4.dll'

Best image for build agent

Hi, Thanks for this project.

I can't seem to find aspnetcore/teamcity-agent-with-compose at hub.docker.com. Has it been deprecated? Is there something else that I should be using instead?

Cheers :-)

Integration test on Team city not getting rich test information

I'm following your course on PS and I'm trying to get the Integration Test displaying test information.

This is my docker-compose.yml file

version: '3.1'

services:
  generator:
    image: my-registry:55000/gen:ci-${GENERATOR_BUILD_NUMBER-10}
    #ports:
    #  - "8080:80"
  mail:
    image: mailhog/mailhog
    #ports:
    #  - "8025:8025"
  integration:
    image: my-registry:55000/gen:integration-${BUILD_NUMBER-10}
    build: .
     - TEAMCITY_PROJECT_NAME: fake

I'm trying to set TEAMCITY_PROJECT_NAME to fake but team city is refusing to show rich test information from xnunit. Any suggestions?

Thanks

Update to 2.0.0 RTM

The course was created using dotnet new templates from the 2.0.0-preview1 SDK. Tags in Dockerfiles referred to a generic 2-sdk and not specifically 2.0.0-preview1 so that the Docker aspects of this course wouldn't be affected by 2.0.0's RTM and would have a longer shelf life. That said it's time to update the app code itself to work with the 2.0.0 RTM as the 2-sdk tags now point to RTM images and not preview1 images.

Getting error in swarm

On running vagrant up m1 w1 w3
Getting following output

Bringing machine 'm1' up with 'virtualbox' provider...
Bringing machine 'w1' up with 'virtualbox' provider...
Bringing machine 'w3' up with 'virtualbox' provider...
==> m1: Importing base box 'boxcutter/ubuntu1704'...
==> m1: Matching MAC address for NAT networking...
==> m1: Checking if box 'boxcutter/ubuntu1704' is up to date...
==> m1: Setting the name of the VM: swarm_m1_1508193978734_64274
==> m1: Clearing any previously set network interfaces...
==> m1: Specific bridge 'en0: Ethernet' not found. You may be asked to specify
==> m1: which network to bridge to.
==> m1: Available bridged network interfaces:

  1. en0: Wi-Fi (AirPort)
  2. en1: Ethernet Adaptor (en1)
  3. en2: Ethernet Adaptor (en2)
  4. bridge0
  5. p2p0
  6. awdl0
    ==> m1: When choosing an interface, it is usually the one that is
    ==> m1: being used to connect to the internet.
    m1: Which interface should the network bridge to? 1
    ==> m1: Preparing network interfaces based on configuration...
    m1: Adapter 1: nat
    m1: Adapter 2: bridged
    ==> m1: Forwarding ports...
    m1: 22 (guest) => 2222 (host) (adapter 1)
    ==> m1: Running 'pre-boot' VM customizations...
    ==> m1: Booting VM...
    ==> m1: Waiting for machine to boot. This may take a few minutes...
    m1: SSH address: 127.0.0.1:2222
    m1: SSH username: vagrant
    m1: SSH auth method: private key
    m1:
    m1: Vagrant insecure key detected. Vagrant will automatically replace
    m1: this with a newly generated keypair for better security.
    m1:
    m1: Inserting generated public key within guest...
    m1: Removing insecure key from the guest if it's present...
    m1: Key inserted! Disconnecting and reconnecting using new SSH key...
    ==> m1: Machine booted and ready!
    ==> m1: Checking for guest additions in VM...
    ==> m1: Setting hostname...
    ==> m1: Configuring and enabling network interfaces...
    ==> m1: Mounting shared folders...
    m1: /vagrant => /Users/revantht/Projects/Innominds/Mobilogix/innominds_mobilogix_server/infra/swarm
    ==> m1: Running provisioner: shell...
    m1: Running: /var/folders/t8/gv0q03sd7vz0m17qd6g33b0r0000gn/T/vagrant-shell20171017-16023-1m1k1bw.sh
    ==> m1: curl: (6) Could not resolve host: test.docker.com
    ==> m1: usermod: group 'docker' does not exist
    ==> m1: /tmp/vagrant-shell: line 13: /etc/docker/daemon.json: No such file or directory
    ==> m1: --2017-10-16 22:48:36-- https://raw.githubusercontent.com/docker/docker/v17.05.0-ce/contrib/init/systemd/docker.service.rpm
    ==> m1: Resolving raw.githubusercontent.com (raw.githubusercontent.com)...
    ==> m1: 151.101.36.133
    ==> m1: Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.36.133|:443...
    ==> m1: connected.
    ==> m1: HTTP request sent, awaiting response...
    ==> m1: 200 OK
    ==> m1: Length:
    ==> m1: 1140
    ==> m1: (1.1K)
    ==> m1: [text/plain]
    ==> m1: Saving to: '/lib/systemd/system/docker.service'
    ==> m1:
    ==> m1: 0K
    ==> m1:
    ==> m1: .
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1:
    ==> m1: 100%
    ==> m1: 331M
    ==> m1: =0s
    ==> m1:
    ==> m1: 2017-10-16 22:48:38 (331 MB/s) - '/lib/systemd/system/docker.service' saved [1140/1140]
    ==> m1: Job for docker.service failed because the control process exited with error code.
    ==> m1: See "systemctl status docker.service" and "journalctl -xe" for details.
    ==> m1: Reading package lists...
    ==> m1: Building dependency tree...
    ==> m1: E: Unable to locate package ipvsadm
    ==> m1: E: Unable to locate package tree
    The SSH command responded with a non-zero exit status. Vagrant
    assumes that this means the command failed. The output for this command
    should be in the log above. Please read the output to determine what
    went wrong.

box-cutter/ubuntu1610 not working

Bringing machine 'm1' up with 'virtualbox' provider...
Bringing machine 'w1' up with 'virtualbox' provider...
Bringing machine 'w2' up with 'virtualbox' provider...
==> m1: Importing base box 'box-cutter/ubuntu1610'...
==> m1: Matching MAC address for NAT networking...
==> m1: Checking if box 'box-cutter/ubuntu1610' is up to date...
==> m1: Setting the name of the VM: swarm_m1_1510270504981_15294
==> m1: Clearing any previously set network interfaces...
==> m1: Preparing network interfaces based on configuration...
m1: Adapter 1: nat
m1: Adapter 2: bridged
==> m1: Forwarding ports...
m1: 22 (guest) => 2222 (host) (adapter 1)
==> m1: Running 'pre-boot' VM customizations...
==> m1: Booting VM...
==> m1: Waiting for machine to boot. This may take a few minutes...
m1: SSH address: 127.0.0.1:2222
m1: SSH username: vagrant
m1: SSH auth method: private key
m1:
m1: Vagrant insecure key detected. Vagrant will automatically replace
m1: this with a newly generated keypair for better security.
m1:
m1: Inserting generated public key within guest...
m1: Removing insecure key from the guest if it's present...
m1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> m1: Machine booted and ready!
==> m1: Checking for guest additions in VM...
==> m1: Setting hostname...
==> m1: Configuring and enabling network interfaces...
==> m1: Mounting shared folders...
m1: /vagrant => /Users/revantht/Projects/Innominds/Mobilogix/innominds_mobilogix_server/infra/swarm
==> m1: Running provisioner: shell...
m1: Running: /var/folders/t8/gv0q03sd7vz0m17qd6g33b0r0000gn/T/vagrant-shell20171110-36080-1eq72r9.sh
==> m1: # Executing docker install script, commit: 49ee7c1
==> m1:
==> m1: Either your platform is not easily detectable or is not supported by this
==> m1: installer script.
==> m1: Please visit the following URL for more detailed installation instructions:
==> m1:
==> m1: https://docs.docker.com/engine/installation/
==> m1: usermod: group 'docker' does not exist
==> m1: /tmp/vagrant-shell: line 13: /etc/docker/daemon.json: No such file or directory
==> m1: --2017-11-09 23:35:34-- https://raw.githubusercontent.com/docker/docker/v17.05.0-ce/contrib/init/systemd/docker.service.rpm
==> m1: Resolving raw.githubusercontent.com (raw.githubusercontent.com)...
==> m1: 151.101.8.133
==> m1: Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.8.133|:443...
==> m1: connected.
==> m1: HTTP request sent, awaiting response...
==> m1: 200 OK
==> m1: Length:
==> m1: 1140
==> m1: (1.1K)
==> m1: [text/plain]
==> m1: Saving to: '/lib/systemd/system/docker.service'
==> m1:
==> m1: 0K
==> m1:
==> m1: .
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1:
==> m1: 100%
==> m1: 203M
==> m1: =0s
==> m1:
==> m1: 2017-11-09 23:35:35 (203 MB/s) - '/lib/systemd/system/docker.service' saved [1140/1140]
==> m1: Job for docker.service failed because the control process exited with error code.
==> m1: See "systemctl status docker.service" and "journalctl -xe" for details.
==> m1: Reading package lists...
==> m1: Building dependency tree...
==> m1: E
==> m1: :
==> m1: Unable to locate package ipvsadm
==> m1: E
==> m1: :
==> m1: Unable to locate package tree
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Upgrade to 2.1.3?

Is there anyway to upgrade to dotnet SDK 2.1.3? When I build or restore I get numerous errors about the various HTTP verbs such as [HttpDelete] not being available and the using statement being invalid.

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.