What's New

ASP.NET 5 buildpack updates for beta8 support

Share this post:

We just pushed out a new version of the ASP.NET 5 buildpack in Bluemix! The update allows you to run applications using the ASP.NET 5 beta8 release.

With the expanded .NET Core support for Linux in beta8, Mono is no longer needed and the buildpack provides the CoreCLR runtime instead.

Application changes required

Your applications now need to target a different framework. In the past the Bluemix ASP.NET 5 boilerplates were, for example, targeting “dnx451”. Now they need to target “dnxcore50”. Their project.json files have the following section:

<code>"frameworks": {
"dnxcore50": { }
}</code>

Also the release announcements lists breaking ASP.NET 5 changes you may encounter.

Other buildpack improvements

The dnu publish command will package an application into a self-contained directory which can optionally even include the runtime.

The buildpack will now recognize published applications and skip restoring packages. If the runtime is present, it will also skip downloading it. Simply change to the bin/output directory that is created and push the application from there. For example:

<code>$ dnu publish
$ cd bin/output
$ cf push myapp</code>

This is not a performance improvement. It is generally much slower to upload all the application dependencies than it is to download them while the application is staging in Bluemix. It may be useful, however, as a way to create a build artifact that could be promoted through a deployment pipeline or if the application’s build requires dependencies not available in Bluemix.

Try the updated boilerplates

To see sample beta8 .NET Core applications checkout the updated boilerplates in the Bluemix Labs Catalog.

More stories
April 30, 2019

Introducing IBM Analytics Engine v1.2 and Announcing the Deprecation of IBM Analytics Engine v1.0

We are excited to inform you about the new version of IBM Analytics Engine v1.2 that will be available starting May 15, 2019. Along with this release, Analytics Engine v1.0 will be retired.

Continue reading

April 23, 2019

Announcing the Deprecation of the Watson Machine Learning JSON Token Authentication Service

We’d like to inform you about the deprecation of the Watson Machine Learning JSON Token Authentication service. This method of authentication will be retired on May 30, 2019.

Continue reading

April 19, 2019

Introducing IBM Cloud Object Storage Firewall: Further Secure Your Data

IBM Cloud Object Storage (COS) is giving you more control over who can access your data. We have introduced a new capability allowing you to configure your buckets with trusted IP address(es) that will dictate access to the data in COS.

Continue reading