Code Monkey home page Code Monkey logo

dotnet-buildpack's People

Contributors

brandur avatar buldo avatar friism avatar noliar avatar thaina avatar wuputah 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

Watchers

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

dotnet-buildpack's Issues

EF Migrations

Hello.
What is best way for working with EF migrations with this buildpack?

Strange app doesn't work but deploys application

I am not sure how do I deploy VS Studio project using this build-pack. Here are some logs which says global.json is missing but global.json is not in the project directory in case of Visual Studio dotnet core project. Its in solution folder

Might be few other errors as well but I can only figure out global.json missing

Also I'm running dotnet version 1.0.0-preview2-003131

-----> ASP.NET Core app detected
Installing Node
Installing bower
/tmp/tmp.FLhmIaaBc7/node-v4.4.4-linux-x64/bin/bower -> /tmp/tmp.FLhmIaaBc7/node-v4.4.4-linux-x64/lib/node_modules/bower/bin/bower
[email protected] /tmp/tmp.FLhmIaaBc7/node-v4.4.4-linux-x64/lib/node_modules/bower
Get .NET Core Version and Channel from the PROJECT
find: `/tmp/tmp.NyYYPobKe8/global.json': No such file or directory
Installing the dependencies
Install package
-----> Cleaning apt caches
-----> Updating apt caches
       Ign http://archive.ubuntu.com trusty InRelease
       Get:1 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
       Get:2 http://apt.postgresql.org trusty-pgdg InRelease [46.5 kB]
       Get:3 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
       Get:4 http://archive.ubuntu.com trusty Release.gpg [933 B]
       Get:5 http://archive.ubuntu.com trusty Release [58.5 kB]
       Get:6 http://archive.ubuntu.com trusty-security/main amd64 Packages [574 kB]
       Get:7 http://archive.ubuntu.com trusty-security/main Translation-en [317 kB]
       Get:8 http://archive.ubuntu.com trusty-updates/main amd64 Packages [939 kB]
       Get:9 http://archive.ubuntu.com trusty-updates/main Translation-en [461 kB]
       Get:10 http://archive.ubuntu.com trusty/main amd64 Packages [1,350 kB]
       Get:11 http://apt.postgresql.org trusty-pgdg/main amd64 Packages [68.6 kB]
       Get:12 http://archive.ubuntu.com trusty/universe amd64 Packages [5,859 kB]
       Get:13 http://archive.ubuntu.com trusty/main Translation-en [762 kB]
       Ign http://apt.postgresql.org trusty-pgdg/main Translation-en_US
       Get:14 http://archive.ubuntu.com trusty/universe Translation-en [4,089 kB]
       Ign http://apt.postgresql.org trusty-pgdg/main Translation-en
       Ign http://archive.ubuntu.com trusty/main Translation-en_US
       Ign http://archive.ubuntu.com trusty/universe Translation-en_US
       Fetched 14.7 MB in 11s (1,233 kB/s)
       Reading package lists...
-----> Fetching .debs for libunwind8
       Reading package lists...
       Building dependency tree...
       The following NEW packages will be installed:
         libunwind8
       0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
       Need to get 48.3 kB of archives.
       After this operation, 194 kB of additional disk space will be used.
       Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libunwind8 amd64 1.1-2.2ubuntu3 [48.3 kB]
       Fetched 48.3 kB in 0s (157 kB/s)
       Download complete and in download only mode
-----> Fetching .debs for gettext
       Reading package lists...
       Building dependency tree...
       The following extra packages will be installed:
         gettext-base libasprintf-dev libasprintf0c2 libgettextpo-dev libgettextpo0
         libunistring0
       Suggested packages:
         gettext-doc
       The following NEW packages will be installed:
         gettext gettext-base libasprintf-dev libasprintf0c2 libgettextpo-dev
         libgettextpo0 libunistring0
       0 upgraded, 7 newly installed, 0 to remove and 43 not upgraded.
       Need to get 1,390 kB of archives.
       After this operation, 6,282 kB of additional disk space will be used.
       Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasprintf0c2 amd64 0.18.3.1-1ubuntu3 [6,712 B]
       Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libunistring0 amd64 0.9.3-5ubuntu3 [271 kB]
       Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgettextpo0 amd64 0.18.3.1-1ubuntu3 [108 kB]
       Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gettext-base amd64 0.18.3.1-1ubuntu3 [48.8 kB]
       Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gettext amd64 0.18.3.1-1ubuntu3 [829 kB]
       Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasprintf-dev amd64 0.18.3.1-1ubuntu3 [4,438 B]
       Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgettextpo-dev amd64 0.18.3.1-1ubuntu3 [122 kB]
       Fetched 1,390 kB in 1s (1,207 kB/s)
       Download complete and in download only mode
-----> Installing gettext_0.18.3.1-1ubuntu3_amd64.deb
-----> Installing gettext-base_0.18.3.1-1ubuntu3_amd64.deb
-----> Installing libasprintf0c2_0.18.3.1-1ubuntu3_amd64.deb
-----> Installing libasprintf-dev_0.18.3.1-1ubuntu3_amd64.deb
-----> Installing libgettextpo0_0.18.3.1-1ubuntu3_amd64.deb
-----> Installing libgettextpo-dev_0.18.3.1-1ubuntu3_amd64.deb
-----> Installing libunistring0_0.9.3-5ubuntu3_amd64.deb
-----> Installing libunwind8_1.1-2.2ubuntu3_amd64.deb
APT packages Installled
Installing .NET CORE 1.0.0-preview2-003121 from https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/1.0.0-preview2-003121/dotnet-dev-ubuntu-x64.1.0.0-preview2-003121.tar.gz
Found 1 project.json files
Building /tmp/tmp.NyYYPobKe8/project.json
Reading App Name from project.json
tmp.NyYYPobKe8
Restoring the packages
Welcome to .NET Core!
---------------------
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
Telemetry
--------------
The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include commandline arguments. The data is collected by Microsoft and shared with the community.
You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.
You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
Configuring...
-------------------
A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once.
Decompressing 100% 3846 ms
Expanding 100% 10525 ms
log  : Restoring packages for /tmp/tmp.NyYYPobKe8/project.json...
log  : Installing NuGet.Configuration 3.5.0-beta2-1484.
log  : Installing System.Runtime.Handles 4.0.0.
log  : Installing NuGet.Protocol.Core.Types 3.5.0-beta2-1484.
log  : Installing System.IO.FileSystem 4.0.0.
log  : Installing System.Runtime.InteropServices 4.0.20.
log  : Installing System.IO.FileSystem.Primitives 4.0.0.
log  : Installing Microsoft.AspNetCore.Cryptography.Internal 1.0.0.
log  : Installing Microsoft.AspNetCore.DataProtection.Abstractions 1.0.0.
log  : Installing Microsoft.AspNetCore.Routing.Abstractions 1.0.0.
log  : Installing NuGet.Protocol.Core.v3 3.5.0-beta2-1484.
log  : Installing NuGet.Repositories 3.5.0-beta2-1484.
log  : Installing NuGet.LibraryModel 3.5.0-beta2-1484.
log  : Installing NuGet.Packaging.Core.Types 3.5.0-beta2-1484.
log  : Installing Microsoft.DotNet.InternalAbstractions 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc.Abstractions 1.0.1.
log  : Installing Microsoft.Extensions.Globalization.CultureInfoCache 1.0.0.
log  : Installing Microsoft.Extensions.Localization.Abstractions 1.0.0.
log  : Installing System.Xml.ReaderWriter 4.0.10.
log  : Installing System.Runtime.InteropServices 4.0.0.
log  : Installing System.Net.Primitives 4.0.0.
log  : Installing System.Resources.ResourceManager 4.0.0.
log  : Installing System.Reflection.Primitives 4.0.0.
log  : Installing Microsoft.AspNetCore.DataProtection 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc.Abstractions 1.0.0.
log  : Installing Microsoft.AspNetCore.Authorization 1.0.0.
log  : Installing NuGet.DependencyResolver.Core 3.5.0-beta2-1484.
log  : Installing NuGet.Packaging.Core 3.5.0-beta2-1484.
log  : Installing NuGet.Common 3.5.0-beta2-1484.
log  : Installing Microsoft.Extensions.DependencyModel 1.0.0.
log  : Installing NuGet.RuntimeModel 3.5.0-beta2-1484.
log  : Installing System.Diagnostics.Contracts 4.0.1.
log  : Installing System.Net.WebSockets 4.0.0.
log  : Installing System.ComponentModel.Primitives 4.1.0.
log  : Installing System.Collections.NonGeneric 4.0.1.
log  : Installing System.Collections.Specialized 4.0.1.
log  : Installing Microsoft.Extensions.Caching.Abstractions 1.0.0.
log  : Installing Microsoft.AspNetCore.Antiforgery 1.0.1.
log  : Installing Microsoft.AspNetCore.Cors 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc.Core 1.0.1.
log  : Installing Microsoft.AspNetCore.JsonPatch 1.0.0.
log  : Installing Microsoft.AspNetCore.Localization 1.0.0.
log  : Installing Microsoft.Extensions.Localization 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc.Razor.Host 1.0.1.
log  : Installing Microsoft.Extensions.FileProviders.Composite 1.0.0.
log  : Installing System.Xml.XDocument 4.0.10.
log  : Installing System.IO.Compression 4.0.0.
log  : Installing System.Net.Http 4.0.0.
log  : Installing System.Runtime 4.0.20.
log  : Installing System.Linq 4.0.0.
log  : Installing System.Text.RegularExpressions 4.0.10.
log  : Installing System.Reflection 4.0.10.
log  : Installing System.Runtime.Extensions 4.0.10.
log  : Installing System.Threading.Tasks 4.0.10.
log  : Installing System.Globalization 4.0.10.
log  : Installing System.IO 4.0.10.
log  : Installing System.Diagnostics.Tracing 4.0.20.
log  : Installing System.Threading 4.0.10.
log  : Installing System.Text.Encoding.Extensions 4.0.10.
log  : Installing System.Collections 4.0.10.
log  : Installing System.Reflection.Extensions 4.0.0.
log  : Installing System.Diagnostics.Tools 4.0.0.
log  : Installing System.Diagnostics.Debug 4.0.10.
log  : Installing System.Text.Encoding 4.0.10.
log  : Installing Microsoft.AspNetCore.Antiforgery 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc.Core 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc.Formatters.Json 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc.DataAnnotations 1.0.0.
log  : Installing NuGet.ProjectModel 3.5.0-beta2-1484.
log  : Installing NuGet.Packaging 3.5.0-beta2-1484.
log  : Installing NuGet.Versioning 3.5.0-beta2-1484.
log  : Installing NuGet.Frameworks 3.5.0-beta2-1484.
log  : Installing Microsoft.DotNet.ProjectModel 1.0.0-rc3-003121.
log  : Installing Microsoft.AspNetCore.Razor 1.0.0.
log  : Installing Microsoft.AspNetCore.Html.Abstractions 1.0.0.
log  : Installing Microsoft.AspNetCore.Hosting.Server.Abstractions 1.0.0.
log  : Installing Microsoft.Net.Http.Headers 1.0.0.
log  : Installing Microsoft.AspNetCore.Http.Features 1.0.0.
log  : Installing System.Text.Encodings.Web 4.0.0.
log  : Installing Microsoft.Extensions.FileSystemGlobbing 1.0.0.
log  : Installing System.ComponentModel.TypeConverter 4.1.0.
log  : Installing Microsoft.NETCore.Jit 1.0.4.
log  : Installing Microsoft.Extensions.Primitives 1.0.0.
log  : Installing Microsoft.Extensions.Caching.Memory 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc.ViewFeatures 1.0.1.
log  : Installing Microsoft.Extensions.Logging 1.0.0.
log  : Installing Microsoft.Extensions.Logging.Console 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc.DataAnnotations 1.0.1.
log  : Installing Microsoft.AspNetCore.Mvc.ApiExplorer 1.0.1.
log  : Installing Microsoft.AspNetCore.Mvc.Cors 1.0.1.
log  : Installing Microsoft.AspNetCore.Mvc.Formatters.Json 1.0.1.
log  : Installing Microsoft.AspNetCore.Mvc.Localization 1.0.1.
log  : Installing Microsoft.Extensions.Logging.Debug 1.0.0.
log  : Installing Microsoft.Extensions.Configuration.Json 1.0.0.
log  : Installing Microsoft.NETCore.App 1.0.1.
log  : Installing Microsoft.Extensions.Options.ConfigurationExtensions 1.0.0.
log  : Installing Microsoft.VisualStudio.Web.BrowserLink.Loader 14.0.0.
log  : Installing Microsoft.Extensions.Configuration.EnvironmentVariables 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc.Razor 1.0.1.
log  : Installing Microsoft.AspNetCore.Mvc.TagHelpers 1.0.1.
log  : Installing Microsoft.Extensions.DependencyInjection 1.0.0.
log  : Installing Microsoft.AspNetCore.Routing 1.0.1.
log  : Installing Microsoft.ApplicationInsights 2.1.0.
log  : Installing Microsoft.AspNetCore.Mvc.ViewFeatures 1.0.0.
log  : Installing Microsoft.AspNetCore.StaticFiles 1.0.0.
log  : Installing Microsoft.Extensions.DiagnosticAdapter 1.0.0.
log  : Installing Microsoft.DotNet.Cli.Utils 1.0.0-preview2-003121.
log  : Installing Microsoft.AspNetCore.Server.IISIntegration 1.0.0.
log  : Installing Microsoft.AspNetCore.Diagnostics 1.0.0.
log  : Installing Microsoft.AspNetCore.Razor.Tools 1.0.0-preview2-final.
log  : Installing Microsoft.DotNet.ProjectModel.Loader 1.0.0-preview2-003121.
log  : Installing Microsoft.AspNetCore.Server.Kestrel 1.0.1.
log  : Installing Microsoft.ApplicationInsights.AspNetCore 1.0.0.
log  : Installing Microsoft.AspNetCore.Mvc 1.0.1.
log  : Installing Microsoft.AspNetCore.Razor.Runtime 1.0.0.
log  : Installing Microsoft.Extensions.CommandLineUtils 1.0.0.
log  : Installing Microsoft.Extensions.DependencyInjection.Abstractions 1.0.0.
log  : Installing Microsoft.Extensions.Logging.Abstractions 1.0.0.
log  : Installing Microsoft.Extensions.Configuration.Abstractions 1.0.0.
log  : Installing Microsoft.Extensions.Configuration 1.0.0.
log  : Installing System.Runtime.Serialization.Primitives 4.1.1.
log  : Installing Microsoft.NETCore.Runtime.CoreCLR 1.0.4.
log  : Installing Newtonsoft.Json 9.0.1.
log  : Installing Microsoft.Extensions.Configuration.FileExtensions 1.0.0.
log  : Installing Microsoft.AspNetCore.Hosting 1.0.0.
log  : Installing Microsoft.Extensions.Options 1.0.0.
log  : Installing Microsoft.AspNetCore.WebUtilities 1.0.0.
log  : Installing Microsoft.Extensions.Configuration.Binder 1.0.0.
log  : Installing Microsoft.AspNetCore.Diagnostics.Abstractions 1.0.0.
log  : Installing Microsoft.Extensions.PlatformAbstractions 1.0.0.
log  : Installing Microsoft.AspNetCore.Http 1.0.0.
log  : Installing Microsoft.Extensions.FileProviders.Physical 1.0.0.
log  : Installing Microsoft.AspNetCore.HttpOverrides 1.0.0.
log  : Installing Microsoft.AspNetCore.Http.Abstractions 1.0.0.
log  : Installing Microsoft.Extensions.ObjectPool 1.0.0.
log  : Installing Microsoft.AspNetCore.Http.Extensions 1.0.0.
log  : Installing Microsoft.AspNetCore.Routing.Abstractions 1.0.1.
log  : Installing Microsoft.Extensions.FileProviders.Abstractions 1.0.0.
log  : Installing Microsoft.AspNetCore.Hosting.Abstractions 1.0.0.
log  : Installing Microsoft.Extensions.WebEncoders 1.0.0.
log  : Restoring packages for tool 'BundlerMinifier.Core' in /tmp/tmp.NyYYPobKe8/project.json...
log  : Installing NUglify 1.5.0.
log  : Installing BundlerMinifier.Core 2.0.238.
log  : Restoring packages for tool 'Microsoft.AspNetCore.Razor.Tools' in /tmp/tmp.NyYYPobKe8/project.json...
log  : Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in /tmp/tmp.NyYYPobKe8/project.json...
log  : Installing Microsoft.AspNetCore.Server.IISIntegration.Tools 1.0.0-preview2-final.
log  : Writing lock file to disk. Path: /tmp/tmp.NyYYPobKe8/project.lock.json
log  : /tmp/tmp.NyYYPobKe8/project.json
log  : Restore completed in 26747ms.
Publishing the app
Publishing tmp.NyYYPobKe8 for .NETCoreApp,Version=v1.0
Bundling with configuration from /tmp/tmp.NyYYPobKe8/bundleconfig.json
Processing wwwroot/css/site.min.css
  Bundled
  Minified
Processing wwwroot/js/site.min.js
  Bundled
Project tmp.NyYYPobKe8 (.NETCoreApp,Version=v1.0) will be compiled because expected outputs are missing
Compiling tmp.NyYYPobKe8 for .NETCoreApp,Version=v1.0
Compilation succeeded.
    0 Warning(s)
    0 Error(s)
Time elapsed 00:00:03.5252258
 
Configuring the following project for use with IIS: '/tmp/build_4cb483e362a843f36d38cf53fac35da2/heroku_output'
Updating web.config at '/tmp/build_4cb483e362a843f36d38cf53fac35da2/heroku_output/web.config'
Configuring project completed successfully
publish: Published to /tmp/build_4cb483e362a843f36d38cf53fac35da2/heroku_output
Published 1/1 projects successfully
Publish Successed
-----> Discovering process types
       Procfile declares types -> web
-----> Compressing...
       Done: 54.5M
-----> Launching...
       Released v3
       https://afternoon-castle-17040.herokuapp.com/ deployed to Heroku

Deploy tries to install mono runtime

I'm getting the following error.

Compressing objects: 100% (12/12), done.
Writing objects: 100% (14/14), 39.85 KiB | 0 bytes/s, done.
Total 14 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching set buildpack https://github.com/heroku/dotnet-buildpack.git... done
remote: -----> ASP.NET 5 app detected
remote: installing https://github.com/friism/mono-builder/releases/download/v4.0.1.44/mono-4.0.1.44.tar.gz
remote:
remote: ! Push rejected, failed to compile ASP.NET 5 app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to mysterious-ravine-18593.
remote:
To https://git.heroku.com/mysterious-ravine-18593.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/mysterious-ravine-18593.git'

Failed to bind to $PORT

Hello. First of all, thanks for making this buildpack.

I'm trying to get a simple web API running. Deployment seems to go smoothly, but then I get this error:

Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch

I'm running VS 2015 update 3 + .NET Core 1.0 preview 2. The repo I'm working on is here: https://github.com/lonekorean/dot-net-heroku-test . The URL I'm trying to hit is here: http://dot-net-heroku-test.herokuapp.com/api/values .

More logs:

2016-07-20T00:23:15.649038+00:00 app[web.1]: Hosting environment: Production
2016-07-20T00:23:15.649314+00:00 app[web.1]: Now listening on: http://localhost:5000
2016-07-20T00:23:15.649317+00:00 app[web.1]: Application started. Press Ctrl+C to shut down.
2016-07-20T00:23:15.649051+00:00 app[web.1]: Content root path: /app/heroku_output
2016-07-20T00:24:13.045397+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2016-07-20T00:24:13.045397+00:00 heroku[web.1]: Stopping process with SIGKILL
2016-07-20T00:24:13.991800+00:00 heroku[web.1]: Process exited with status 137
2016-07-20T00:24:14.006432+00:00 heroku[web.1]: State changed from starting to crashed
2016-07-20T00:24:16.016068+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/values" host=dot-net-heroku-test.herokuapp.com request_id=51558762-db25-46d4-8696-ab679f26f8b1 fwd="45.25.168.210" dyno= connect= service= status=503 bytes=
2016-07-20T00:24:16.442572+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/api/values" host=dot-net-heroku-test.herokuapp.com request_id=7845d9e2-efa2-46a0-8921-47155c3cab77 fwd="45.25.168.210" dyno= connect= service= status=503 bytes=
2016-07-20T00:24:16.703224+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=dot-net-heroku-test.herokuapp.com request_id=3c6a112a-e262-4a99-8c6a-0952df3b9bfc fwd="45.25.168.210" dyno= connect= service= status=503 bytes=

Any help is much appreciated.

Buildpack fails on heroku

After working for a while, the buildpack now fails on heroku.

112 package(s) to /tmp/btrq5c3y.na5/btrq5c3y.na5.csproj
remote: MSBUILD : error MSB1009: Project file does not exist.
remote: Switch: /tmp/tmp.oQS4JivqzZ
remote: ! Push rejected, failed to compile ASP.NET Core app.

.NET Core Version 1.1.x supported?

Hi,
I would like to use this buildpack for .NET Core Version 1.1 but it doesn't work. In the log (heroku logs), it said that Microsoft .Net Core 1.1 not found.

Does this buildpack support only .NET Core Version 1.0? Can I somehow to make it work with other version (for example 1.0.1 or 1.1.0)?
Thank you.

Multiple project.json files, startup failure.

This maybe due to my lack of knowledge how all of this is configured. However, I have two project.json files. One of these project files is a test. When the app starts up on heroku sometimes it starts the test project instead of the web project. Is there some way to get around this?

How to set up the app to bind at the right port?

Hey, I've just picked up .NET Core, I was only observing it until now and have decided it is time to try it out. I'd like to use this Heroku buildpack (because it doesn't use Mono), but I am not sure how to deploy the app. I have created a clean ASP .NET Core application (targetting .NET Core of course) and without change pushed it to heroku using heroku create โ€ฆ && git push heroku master.

I know I have to switch to self host instead of IIS and somehow configure the server start script to pick up the environment variable Heroku provides with the port, but I am not sure how to do it. Can you help, please?

EDIT: I see you have blogged about using this buildpack: http://notes.devzh.ml/2015/09/02/heroku-aspnet-5-buildpack/ I will try to use automated translation to follow the article, but it is one year old and mentions dnu when today dotnet should be used if I am not mistaked. Is there a more up to date resource? Can you include a short tutorial in ReadMe that would say how to build an example app with deployment configured and say PostgreSQL (because that's what Heroku provides I think) used for EF Core?

Compile project with dependent lib

Hello,

I actualy use this nice buildpack to deploy my website from my ci server to my heroku app.

The problem is that when I specify the project using the .deployment file I get an error about a
dependent lib (which resides alongside my project and is correctly referenced in the project.json) I get an error about the lib not having a lock file.

Is there any way I can solve this?

Thank you and keep up the good work.

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.