Giter Site home page Giter Site logo

.net-buildpack's Introduction

.net-buildpack

Build Status

Cloud Foundry buildpack for running .NET applications

Status

Stories in Ready

This buildpack is in "alpha" stage - that is to say that not all the features are there yet.

What already works?
  • Console apps running under Mono 3.4.0 on Cloud Foundry ( lucid64 stack )
  • NancyFX web apps running under Mono 3.4.0 on Cloud Foundry ( lucid64 stack )
What is next?
  • ASP.NET MVC support - see #17
  • Console apps running under .NET 4.5 / IronFoundry.NET ( Windows 2012 stack )

Documentation

Getting involved

We're actively looking for volunteers. Join us commenting on an existing issue or opening a new one!

We also hang out on the Cloud Foundry Dev Mailing list; just mention .net-buildpack.


** Apps written and compiled with Mono (eg, via Xamarin Studio, MonoDevelop or xbuild) work too.

.net-buildpack's People

Contributors

mrdavidlaing avatar

Stargazers

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

.net-buildpack's Issues

manifest.yml fails with multiple env values

builds


---
applications:
- name: logsearch-purge-bot
  buildpack: https://github.com/cloudfoundry-community/.net-buildpack
  memory: 256
  instances: 1
  path: ./_bin
  env:
    elasticSearchUrl: "http://ec2-79-125-57-123.eu-west-1.compute.amazonaws.com:9200"

fails


---
applications:
- name: logsearch-purge-bot
  buildpack: https://github.com/cloudfoundry-community/.net-buildpack
  memory: 256
  instances: 1
  path: ./_bin
  env:
    elasticSearchUrl: "http://ec2-79-125-57-123.eu-west-1.compute.amazonaws.com:9200"
    daysToKeep: "30"
C:\dev3\logsearch-purge-bot-cloudfoundry>cf push
Time of crash:
  2013-10-21 08:46:39 -0700

Psych::SyntaxError: (C:/dev3/logsearch-purge-bot-cloudfoundry/manifest.yml): found character that cannot start any token while scanning for the next token at line 10 column 1

lib/ruby/1.9.1/psych.rb:203:in `parse'
lib/ruby/1.9.1/psych.rb:203:in `parse_stream'
lib/ruby/1.9.1/psych.rb:151:in `parse'
lib/ruby/1.9.1/psych.rb:127:in `load'
lib/ruby/1.9.1/psych.rb:297:in `block in load_file'
lib/ruby/1.9.1/psych.rb:297:in `open'
lib/ruby/1.9.1/psych.rb:297:in `load_file'
src/lib/manifests/loader/builder.rb:7:in `build'
src/lib/manifests/loader.rb:17:in `manifest'
src/lib/manifests/manifests.rb:55:in `load_manifest'
src/lib/manifests/manifests.rb:17:in `manifest'
src/lib/manifests/plugin.rb:72:in `wrap_push'
src/lib/manifests/plugin.rb:25:in `block in <class:ManifestsPlugin>'
mothership-0.5.1/lib/mothership/command.rb:82:in `instance_exec'
mothership-0.5.1/lib/mothership/command.rb:82:in `block (2 levels) in invoke'
mothership-0.5.1/lib/mothership/command.rb:86:in `instance_exec'
mothership-0.5.1/lib/mothership/command.rb:86:in `invoke'
mothership-0.5.1/lib/mothership/base.rb:55:in `execute'
src/lib/cf/cli.rb:195:in `block (2 levels) in execute'
src/lib/cf/cli.rb:206:in `save_token_if_it_changes'
src/lib/cf/cli.rb:194:in `block in execute'
src/lib/cf/cli.rb:123:in `wrap_errors'
src/lib/cf/cli.rb:190:in `execute'
mothership-0.5.1/lib/mothership.rb:45:in `start'
src/bin/cf:18:in `<main>'

C:\dev3\logsearch-purge-bot-cloudfoundry>

Create .NET runtime for IronFoundry

Console apps now run on CF v2 (run.pivotal.io, Ubuntu 10.04 containers) using Mono

The same console apps should also run on IronFoundry, but using the .NET CLR runtime

Mono build pack for .NET 4.5 versions

Can you tell me what build back link should I use to push a .NET mono on CF to host my .NET 4.5 or 4.6 framework versions? I would be happy with any of the above versions.

I need the link for the following command:

cf push - b "Need the mono build pack link"

If this is not the right forum then please give me the link for the appropriate forum to post the question.

Thanks

I cannot get example (from Iron Foundry) running

On this github (https://github.com/IronFoundry/if_sample_apps/tree/master/MongoWorkerClusterSample/QueryWorker)
I'm trying to deploy the QueryWorker example.

This is the manifest.yml file:

applications:
- name: query_worker
  buildpack: https://github.com/cloudfoundry-community/.net-buildpack
  stack: lucid64
  command: QueryWorker.exe 
  no-route: true

But I get an error like:

2015-04-29T20:18:32.000+00:00 [API] OUT Created app with guid 3bd7adbf-fd9d-48e7-bb41-e79f8a53dfc1
2015-04-29T20:19:36.000+00:00 [DEA] OUT Starting app instance (index 0) with guid 3bd7adbf-fd9d-48e7-bb41-e79f8a53dfc1
2015-04-29T20:20:55.000+00:00 [DEA] OUT Starting app instance (index 0) with guid 3bd7adbf-fd9d-48e7-bb41-e79f8a53dfc1
2015-04-29T20:18:52.000+00:00 [STG] OUT -----> Installing Mozilla certificate data to .config/.mono/certs (1.8s)
2015-04-29T20:19:40.000+00:00 [API] OUT App instance exited with guid 3bd7adbf-fd9d-48e7-bb41-e79f8a53dfc1 payload: {"cc_partition"=>"default", "droplet"=>"3bd7adbf-fd9d-48e7-bb41-e79f8a53dfc1", "version"=>"70c46bdc-5bc0-4ab2-ad41-5ba26d3ef63c", "instance"=>"f3e56d04ad6b4bd99e81ec17ff1ab7eb", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"app instance exited", "crash_timestamp"=>1430338780}
2015-04-29T20:18:44.000+00:00 [DEA] OUT Got staging request for app with id 3bd7adbf-fd9d-48e7-bb41-e79f8a53dfc1
2015-04-29T20:18:48.000+00:00 [STG] OUT

Do you have any hint?

Server error, status code: 400, error code: 170005, message: App staging failed in the buildpack release phase

Connected, dumping recent logs for app *** in org *** / space development as ***...

2015-05-01T14:37:46.78+0200 [API/4]      OUT Created app with guid feb4c4da-7684-4a12-9198-ee9dff27cbed
2015-05-01T14:37:48.57+0200 [API/3]      OUT Updated app with guid feb4c4da-7684-4a12-9198-ee9dff27cbed ({"route"=>"cc52
6f0c-9f0a-41c3-8425-a9126b0831f7"})
2015-05-01T14:38:00.53+0200 [API/3]      OUT Updated app with guid feb4c4da-7684-4a12-9198-ee9dff27cbed ({"state"=>"STAR
TED"})
2015-05-01T14:38:00.64+0200 [STG/22]     OUT -----> Downloaded app package (4.0K)
2015-05-01T14:38:04.27+0200 [STG/0]      ERR     Cloning into '/tmp/buildpacks/.net-buildpack'...
2015-05-01T14:38:04.27+0200 [STG/0]      OUT     -----> Downloading Mono runtime 3.4.0_full from http://ci-labs-buildpack-downloads.s3.amazonaws.com/mono/lucid/x86_64/mono-3.4.0_full.tar.gz (1.3s)
2015-05-01T14:38:04.78+0200 [STG/0]      OUT        expanding Mono to vendor/mono (1.9s)
2015-05-01T14:38:06.98+0200 [STG/0]      OUT -----> Installing Mozilla certificate data to .config/.mono/certs (2.1s)
2015-05-01T14:38:07.08+0200 [STG/0]      OUT -----> Detected console app to be run using '$HOME/vendor/mono/bin/mono --server ***.exe'
2015-05-01T14:38:07.19+0200 [STG/0]      OUT -----> Preparing AppSettingsAutoReconfiguration.exe (0.0s)
2015-05-01T14:38:07.90+0200 [STG/0]      ERR Permission denied - /tmp/staged/app/start.sh
2015-05-01T14:38:07.91+0200 [STG/0]      OUT Staging failed: Release info failed:
2015-05-01T14:38:07.91+0200 [STG/0]      OUT "#<Errno::EACCES: Permission denied - /tmp/staged/app/start.sh>"
2015-05-01T14:38:07.91+0200 [STG/0]      OUT ["/tmp/buildpacks/.net-buildpack/lib/net_buildpack/runtime/mono.rb:119:in `
initialize'",
2015-05-01T14:38:07.91+0200 [STG/0]      OUT  "/tmp/buildpacks/.net-buildpack/lib/net_buildpack/runtime/mono.rb:119:in `
create_start_script'",
2015-05-01T14:38:07.91+0200 [STG/0]      OUT  "/tmp/buildpacks/.net-buildpack/lib/net_buildpack/runtime/mono.rb:75:in `r
elease'",
2015-05-01T14:38:07.91+0200 [STG/0]      OUT  "/tmp/buildpacks/.net-buildpack/lib/net_buildpack/buildpack.rb:133:in `rel
ease'",
2015-05-01T14:38:07.91+0200 [STG/0]      OUT  "/tmp/buildpacks/.net-buildpack/bin/release:27:in `<main>'"]
2015-05-01T14:38:07.91+0200 [STG/0]      OUT Release failed with exception #<IO:0x00000001d032b0>, #<IO:0x00000001d032b0
>
2015-05-01T14:38:08.06+0200 [API/3]      ERR encountered error: App staging failed in the buildpack release phase

See also
https://groups.google.com/a/cloudfoundry.org/forum/?utm_medium=email&utm_source=footer#!msg/vcap-dev/Gfpj70hca8A/rJnijUSb-vUJ

How to debug flapping instance?

A Mono v3.5 console app works fine with the smaller (33MB) Mono 3.2.0_net4 runtime.

$ cf push
Using manifest file manifest.yml

Uploading sample_commandline_app... OK
Stopping sample_commandline_app... OK

Preparing to start sample_commandline_app... OK
-----> Downloaded app package (8.0K)
-----> Downloaded app buildpack cache (33M)
Initialized empty Git repository in /tmp/buildpacks/.net-buildpack/.git/
-----> Downloading Mono 3.2.0_net4 from http://ci-labs-buildpack-downloads.s3.amazonaws.com/mono/lucid/x86_64/mono-3.2.0_net4.tar.gz (0.0s)
       Expanding Mono to vendor/mono (1.6s)
-----> Uploading droplet (33M)
Checking status of app 'sample_commandline_app'...........
  1 of 1 instances running (1 running)
Push successful! App 'sample_commandline_app' available at http://.

The same app with the larger (61MB) Mono 3.2.0_full runtime fails.

$ cf push
Using manifest file manifest.yml

Uploading sample_commandline_app... OK
Stopping sample_commandline_app... OK

Preparing to start sample_commandline_app... OK
-----> Downloaded app package (8.0K)
-----> Downloaded app buildpack cache (33M)
Initialized empty Git repository in /tmp/buildpacks/.net-buildpack/.git/
-----> Downloading Mono 3.2.0_full from http://ci-labs-buildpack-downloads.s3.amazonaws.com/mono/lucid/x86_64/mono-3.2.0_full.tar.gz (2.5s)
       Expanding Mono to vendor/mono (2.2s)
-----> Uploading droplet (61M)
Checking status of app 'sample_commandline_app'.....................
  0 of 1 instances running (1 flapping)
Push unsuccessful.

I can't figure out how to get log information out the the flapping instance to figure out what is going wrong:

cf logs fails:

$ cf logs
Using manifest file manifest.yml

Getting logs for sample_commandline_app #0... FAILED
CFoundry::NotFound: 404: 
cat ~/.cf/crash # for more details

cf files seems to be missing most of the "standard" files (eg: startup & logs/)

$ cf files sample_commandline_app
Getting file contents... OK

app/                                         -
tmp/                                         -

cf crashlogs is pretty unhelpful.

$ cf crashlogs sample_commandline_app
Getting logs for sample_commandline_app #a3e8acdd95858819edb6dae97a68217e... FAILED
CFoundry::NotFound: 404: 
cat ~/.cf/crash # for more details

Adding Appdynamics extension to .net-buildpack

Hi Team,

I am working on adding AppDynamics support in .net-buildpack.
Couple of Issues.

  1. How to do ssh if using windows stack. ssh is enabled but still cf ssh command fails.
  2. Added an extension file under "lib/net_buildpack/framework/" and yml file under config is also added.
    But changes are not getting reflected on application deployment.

Is there any other changes needed to the buildpack.

Thanks.

Add extension points

Experiment with adding extension points similar to those available in OpenShift cartridges

  • .buildpack/hooks/pre_detect
  • .buildpack/hooks/post_detect
  • .buildpack/hooks/pre_compile
  • .buildpack/hooks/post_compile
  • .buildpack/hooks/pre_release
  • .buildpack/hooks/post_release

Getting error when deploying .NET 4.6 Web app in cloud foundry

Hi,

I am getting the following error wile deploying a web mvc app in cloud foundry using .NET 4.6.

OUT Updating AppSettings for /home/vcap/app/bin/roslyn/VBCSCompiler.exe.config
2016-08-04T12:45:44.61+0000 [APP/0] ERR Unhandled Exception:
2016-08-04T12:45:44.61+0000 [APP/0] ERR System.NotImplementedException: Not implemented as WebConfigurationManager seems buggy in Mono 3.2.4
2016-08-04T12:45:44.61+0000 [APP/0] ERR at AppSettingsAutoReconfiguration.MainClass.Main (System.String[] args) [0x00000] in :0
2016-08-04T12:45:44.61+0000 [APP/0] ERR [ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: Not implemented as WebConfigurationManager seems buggy in Mono 3.2.4
2016-08-04T12:45:44.61+0000 [APP/0] ERR at AppSettingsAutoReconfiguration.MainClass.Main (System.String[] args) [0x00000] in :0
2016-08-04T12:45:44.62+0000 [APP/0] ERR Unhandled Exception:
2016-08-04T12:45:44.62+0000 [APP/0] ERR System.NotImplementedException: Not implemented as WebConfigurationManager seems buggy in Mono 3.2.4
2016-08-04T12:45:44.62+0000 [APP/0] ERR at AppSettingsAutoReconfiguration.MainClass.Main (System.String[] args) [0x00000] in :0
2016-08-04T12:45:44.62+0000 [APP/0] ERR [ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: Not implemented as WebConfigurationManager seems buggy in Mono 3.2.4
2016-08-04T12:45:44.62+0000 [APP/0] ERR at AppSettingsAutoReconfiguration.MainClass.Main (System.String[] args) [0x00000] in :0
2016-08-04T12:45:44.63+0000 [APP/0] ERR Unhandled Exception:
2016-08-04T12:45:44.63+0000 [APP/0] ERR System.NotImplementedException: Not implemented as WebConfigurationManager seems buggy in Mono 3.2.4
2016-08-04T12:45:44.63+0000 [APP/0] ERR at AppSettingsAutoReconfiguration.MainClass.Main (System.String[] args) [0x00000] in :0
2016-08-04T12:45:44.63+0000 [APP/0] ERR [ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: Not implemented as WebConfigurationManager seems buggy in Mono 3.2.4
2016-08-04T12:45:44.63+0000 [APP/0] ERR at AppSettingsAutoReconfiguration.MainClass.Main (System.String[] args) [0x00000] in :0
2016-08-04T12:45:44.68+0000 [APP/0] OUT Exit status 1
2016-08-04T12:45:44.69+0000 [CELL/0] OUT Exit status 0
2016-08-04T12:45:44.70+0000 [CELL/0] OUT Destroying container
2016-08-04T12:45:44.71+0000 [API/1] OUT App instance exited with guid a1f01fa9-140e-4b02-812f-b673d9e9f9ca payload: {"instance"=>"", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"2 error(s) occurred:\n\n* 2 error(s) occurred:\n\n* Exited with status 1\n* cancelled\n* cancelled", "crash_count"=>4, "crash_timestamp"=>1470314744700722510, "version"=>"43d311c8-2bae-46a1-a6f9-5e100a207d92"}
2016-08-04T12:45:46.53+0000 [CELL/0] OUT Successfully destroyed container

Thanks

Add AppSettingsAutoReconfiguration autoconfiguration

Cloud Foundry advocates the 12 Factor App approach of storing config in the environment; and provides good tooling to support this:

  1. cf set-env sets ENV variables at a deployed app level
  2. cf create-service user-provided sets ENV variables at the space level, making them shared between all apps

Whilst supported, using ENV variables in Windows & .NET apps is uncommon. Config stored in XML .Config files is more the norm, and integrated into the framework and tooling.

AppHarbor has an elegant way of solving this, where AppSettings are overwritten during the staging process by ENV variables of the same name.

You can set configuration variables for your application. When you add a configuration variable, we'll look for the key in any config file's AppSettings section and replace or add the value with the one defined on AppHarbor when your application is released.

This is similar to the autoconfiguration done by the java-buildpack.

This feature works as follows:

Your {App|Web}.Config should contain your development settings, eg

<configuration>
    <appSettings>
      <add key="PORT" value="1234" />
    </appSettings>
</configuration>

With your code using the standard ConfigurationManager.AppSettings["PORT"] technique of loading configuration values.

At development time, you use the (test) config values committed to your repo in the App.Settings file.

When deploying to Cloud Foundry, any *.config files are rewritten such that any key in any config file's AppSettings section is replaced with the value of the matching CF runtime ENV variable.

Thus, at run time you would effectively have a *.config that had been rewritten to the following:

<configuration>
    <appSettings>
      <add key="PORT" value="61245" />
    </appSettings>
</configuration>

Since ENV['PORT'] == 61245

Cloud Foundry error - There are more than 1 potential .exe's

Hi,

I just created a new Project in VS2017 -> New -> project -> Visual C# - Web - ASP.NET Web Application (.NET Framework). Just to try out the build pack, I just ported this empty project by creating a manifest file:

---
applications:
- name: Trialframework
  random-route: true
  memory: 512M
  buildpack: https://github.com/cloudfoundry-community/.net-buildpack

I get an error as mentioned below:

ERR There are more than 1 potential .exe's that could be run by the Console container - ["/tmp/app/packages/Microsoft.Net.Compilers.2.1.0/tools/csi.exe.config", "/tmp/ap
p/packages/Microsoft.Net.Compilers.2.1.0/tools/VBCSCompiler.exe.config", "/tmp/app/packages/Microsoft.Net.Compilers.2.1.0/tools/csc.exe.config", "/tmp/app/packages/Microsoft.Net.Compilers.2.1.0/tools/vbc.exe.co
nfig"]
2017-07-02T11:00:28.24+0530 [STG/0]      ERR You should only have one .exe.config in /tmp/app
2017-07-02T11:00:28.25+0530 [STG/0]      ERR Failed to compile droplet

System.Security.Cryptography.CryptographicException: Unsupported hash algorithm: 1.2.840.113549.1.3.5

We're seeing System.Security.Cryptography.CryptographicException: Unsupported hash algorithm: 1.2.840.113549.1.3.5:

 ERROR building certificate chain: System.ArgumentException: certificate ---> System.Security.Cryptography.CryptographicException: Unsupported hash algorithm: 1.2.840.113549.1.3.5
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |   at Mono.Security.Cryptography.PKCS1.HashNameFromOid (System.String oid, Boolean throwOnError) [0x00000] in <filename unknown>:0
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |   at Mono.Security.X509.X509Certificate.VerifySignature (System.Security.Cryptography.RSA rsa) [0x00000] in <filename unknown>:0
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |   at Mono.Security.X509.X509Certificate.VerifySignature (System.Security.Cryptography.AsymmetricAlgorithm aa) [0x00000] in <filename unknown>:0
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |   at System.Security.Cryptography.X509Certificates.X509Chain.IsSignedWith (System.Security.Cryptography.X509Certificates.X509Certificate2 signed, System.Security.Cryptography.AsymmetricAlgorithm pubkey) [0x00000] in <filename unknown>:0
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |   at System.Security.Cryptography.X509Certificates.X509Chain.Process (Int32 n) [0x00000] in <filename unknown>:0
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |   at System.Security.Cryptography.X509Certificates.X509Chain.ValidateChain (X509ChainStatusFlags flag) [0x00000] in
 <filename unknown>:0
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |   at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) [0x00000] in <filename unknown>:0
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |   --- End of inner exception stack trace ---
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |   at System.Security.Cryptography.X509Certificates.X509Chain.Build (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) [0x00000] in <filename unknown>:0
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |   at System.Net.ServicePointManager+ChainValidationHelper.ValidateChain (Mono.Security.X509.X509CertificateCollection certs) [0x00000] in <filename unknown>:0
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    |
2014-05-29T14:16:54.05-0500 [App/0]   OUT monitor    | Please, report this problem to the Mono team
2014-05-29T14:16:54.25-0500 [App/0]   OUT monitor    |

Fail if more than 1 .exe.config detected

Currently, the Console container runs .exe associated with the ["first" .exe.config it finds]("Console" container - https://github.com/cloudfoundry-community/.net-buildpack/blob/master/lib/net_buildpack/container/console.rb#L67-L77) which is really confusing if you accidentally upload 2 exes.

Better behaviour would be:

  1. Throw an exception during bin/compile if more than one exe.config found.
  2. Print out which exe is being used by the Console container to start your app

Recruit a team

If you're interested in running .NET apps on Cloud Foundry, then add a comment to this issue.

Including details of the kind of apps you'd like to run is most helpful.

.NET Console app crashing with mono build pack

Hi,

I am trying to push a .NET Console application using mono build and its crashing while staging on CF.
My .NET version is 4.6.2.

I used the following command:

cf push consoleapp -b https://github.com/cloudfoundry-community/.net-buildpack

I am getting the below error from logs:

-----> Downloading Mono runtime 3.4.0_full from http://ci-labs-buildpack-downloads.s3.amazonaws.com/mono/lucid/x86_64/mono-3.4.0_full.tar.gz (0.0s)
2016-08-08T09:48:20.51+0000 [STG/0] OUT expanding Mono to vendor/mono (1.6s)
2016-08-08T09:48:21.03+0000 [STG/0] OUT -----> Installing Mozilla certificate data to .config/.mono/certs (0.5s)
2016-08-08T09:48:21.09+0000 [STG/0] OUT -----> Detected console app to be run using '$HOME/vendor/mono/bin/mono --server bin/Debug/ConsoleApplication1.exe'
2016-08-08T09:48:21.16+0000 [STG/0] OUT -----> Preparing AppSettingsAutoReconfiguration.exe (0.0s)
2016-08-08T09:48:34.81+0000 [STG/0] OUT Exit status 0
2016-08-08T09:48:34.81+0000 [STG/0] OUT Staging complete
2016-08-08T09:48:34.81+0000 [STG/0] OUT Uploading droplet, build artifacts cache...
2016-08-08T09:48:34.81+0000 [STG/0] OUT Uploading droplet...
2016-08-08T09:48:34.81+0000 [STG/0] OUT Uploading build artifacts cache...
2016-08-08T09:48:35.96+0000 [STG/0] OUT Uploaded build artifacts cache (57.7M)
2016-08-08T09:48:40.97+0000 [STG/0] OUT Uploaded droplet (58.1M)
2016-08-08T09:48:40.98+0000 [STG/0] OUT Uploading complete
2016-08-08T09:48:41.01+0000 [STG/0] OUT Destroying container
2016-08-08T09:48:41.61+0000 [CELL/0] OUT Creating container
2016-08-08T09:48:42.76+0000 [STG/0] OUT Successfully destroyed container
2016-08-08T09:48:42.76+0000 [CELL/0] OUT Successfully created container
2016-08-08T09:48:47.58+0000 [CELL/0] OUT Starting health monitoring of container
2016-08-08T09:48:47.67+0000 [APP/0] OUT Updating AppSettings for /home/vcap/app/bin/Debug/ConsoleApplication1.exe.config
2016-08-08T09:48:47.80+0000 [APP/0] OUT Hello 4.5 on Linux
2016-08-08T09:48:47.82+0000 [APP/0] OUT Exit status 0
2016-08-08T09:48:47.82+0000 [CELL/0] OUT Exit status 0
2016-08-08T09:48:47.85+0000 [CELL/0] OUT Destroying container
2016-08-08T09:48:47.86+0000 [API/5] OUT App instance exited with guid b41d0dab-2897-441a-bc01-1442695d043a payload: {"instance"=>"", "index"=>0, "reason"=>"CRASHED", "exit_description"=>"2 error(s) occurred:\n\n* 2 error(s) occurred:\n\n* Codependent step exited\n* cancelled\n* cancelled", "crash_count"=>1, "crash_timestamp"=>1470649727830782247, "version"=>"25edcc26-7065-4750-81da-9e9f3d71e619"}

Any clues what's going wrong?

Thanks

Document high level buildpack design

Like the cloudfoundry/java-buildpack, the .NET buildpack is composed of a number of components

  • Runtimes (Mono, .NET etc) - equivalent to Java JREs
  • Project Types (Console, Web etc) - equivalent to Java Containers
  • Frameworks (ASP.NET MVC, Web Forms etc) - equivalent to Java Frameworks

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.