{"id":9245,"date":"2016-03-25T20:48:23","date_gmt":"2016-03-26T04:48:23","guid":{"rendered":"http:\/\/blog.altoros.com\/?p=9245"},"modified":"2019-06-20T03:35:45","modified_gmt":"2019-06-20T00:35:45","slug":"how-to-push-an-asp-net-application-to-ibm-bluemix","status":"publish","type":"post","link":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/","title":{"rendered":"How to Push an ASP.NET 5 Application to IBM Bluemix"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-asp.net-5-asp.net-core-1.0-v1.png\" alt=\"ibm-bluemix-asp.net-5-asp.net-core-1.0-v1\" width=\"180\" style=\"margin: 0px 0px 0px 20px;\" class=\"alignright size-full wp-image-9250\" \/><\/p>\n<p>With <a href=\"https:\/\/www.ibm.com\/press\/us\/en\/pressrelease\/46810.wss\" target=\"_blank\" rel=\"noopener noreferrer\">the announcement<\/a> from IBM, Cloud Foundry-based environments became available for ASP.NET 5 applications. In this tutorial, we show how to deploy a simple ASP.NET application to Bluemix.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#Creating_an_application_in_the_Bluemix_console\" >Creating an application in the Bluemix console<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#Preparing_an_application_for_Bluemix\" >Preparing an application for Bluemix<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#Pushing_the_application_to_Bluemix\" >Pushing the application to Bluemix<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#Related_reading\" >Related reading<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Bluemix only supports ASP.NET 5, which Microsoft is currently renaming to ASP.NET Core 1.0, so the previous versions might not work in Bluemix.<\/p>\n<p>To follow the steps of this tutorial, you need:<\/p>\n<ul>\n<li>an <a href=\"https:\/\/cloud.ibm.com\/registration\/\" target=\"_blank\" rel=\"noopener noreferrer\">IBM Bluemix account<\/a><\/li>\n<li>Microsoft Visual Studio 2015<\/li>\n<li>the IBM Bluemix CLI<\/li>\n<li>the Cloud Foundry CLI<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Creating_an_application_in_the_Bluemix_console\"><\/span>Creating an application in the Bluemix console<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To create an application:<\/p>\n<ol>\n<li style=\"margin-bottom: 12px\">Log in to your Bluemix account and navigate to Dashboard.<\/li>\n<li style=\"margin-bottom: 12px\">Click <strong>Create App<\/strong>, choose <strong>Web<\/strong>, and then select the ASP.NET 5 runtime from the list.<\/li>\n<li>Name your application.<\/li>\n<\/ol>\n<p>That\u2019s it, you are done with the Bluemix console.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Preparing_an_application_for_Bluemix\"><\/span>Preparing an application for Bluemix<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In the Bluemix console, you can see the generated endpoint URL for your application similar to <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">http:\/\/&lt;your app name&gt;.eu-gb.mybluemix.net<\/code>.<\/p>\n<ol>\n<li style=\"margin-bottom: 12px\">Go to Microsoft Visual Studio 2015 and create a new project using a standard ASP.NET 5 template.<\/li>\n<li style=\"margin-bottom: 12px\">Compile and start the application to check if it works locally.<\/li>\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-microsoft-visual-studio-v1.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-microsoft-visual-studio-v1.png\" alt=\"ibm-bluemix-microsoft-visual-studio-v1\" width=\"640\" class=\"aligncenter size-full wp-image-9247\" \/><\/a><\/center><\/p>\n<li style=\"margin-bottom: 12px\">\n<p>For deploying the application in Bluemix, modify the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">project.json<\/code> file.<\/p>\n<p>First, include the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">Microsoft.AspNet.Server.Kestrel<\/code> dependency and the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">kestrel<\/code> command. Then, make sure your application targets the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">dnxcode50<\/code> framework.<\/p>\n<p>These changes help Bluemix to choose the correct buildpack for the application. Here is how the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">project.json<\/code> file should look like:<\/p>\n<pre style=\"padding-left: 30px;\">\"dependencies\": {\r\n...\r\n    \"Microsoft.AspNet.Server.Kestrel\": \"1.0.0-beta8\",\r\n},\r\n\"commands\": {\r\n...\r\n    \"kestrel\": \"Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.Kestrel\"\r\n},\r\n\"frameworks\": {\r\n    \"dnxcore50\": { }\r\n}\r\n...<\/pre>\n<\/li>\n<p><\/p>\n<li>Compile and start the application again to check if the configuration is valid.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Pushing_the_application_to_Bluemix\"><\/span>Pushing the application to Bluemix<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>After we prepared the application for Bluemix, it\u2019s time to deploy it with Cloud Foundry.<\/p>\n<p><center><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/ibm-bluemix-application-overview-v1.png\" alt=\"ibm-bluemix-application-overview-v1\" width=\"281\" height=\"439\" class=\"aligncenter size-full wp-image-9248\" \/><\/center><\/p>\n<p>First, open the Bluemix console, navigate to Dashboard, and click the recently created application. On the <strong>Overview<\/strong> page, select the <strong>Start Coding<\/strong> section from the left menu. This page has all the instructions needed to deploy the application. In particular, Bluemix offers two ways:<\/p>\n<ul>\n<li>using the Cloud Foundry Command Line Interface<\/li>\n<li>using Git<\/li>\n<\/ul>\n<p>I am going to use the command line interface. If you prefer working with Git, follow the instructions from <a href=\"https:\/\/www.youtube.com\/watch?v=9lXowDQ1FEY\" target=\"_blank\" rel=\"noopener noreferrer\">this video tutorial<\/a>.<\/p>\n<p>With the IBM Bluemix and Cloud Foundry command line interfaces installed, go through these steps:<\/p>\n<ol>\n<li style=\"margin-bottom: 12px\">\n<p>Open <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">cmd.exe<\/code> and change to your ASP.NET directory:<\/p>\n<pre style=\"padding-left: 30px;\">cd &lt;folder where project.json is located&gt;<\/pre>\n<\/li>\n<p><\/p>\n<li style=\"margin-bottom: 12px\">\n<p>Set Bluemix <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">api<\/code> for your further API calls:<\/p>\n<pre style=\"padding-left: 30px;\">bluemix api https:\/\/api.eu-gb.bluemix.net<\/pre>\n<\/li>\n<p><\/p>\n<li style=\"margin-bottom: 12px\">\n<p>Log in to your account:<\/p>\n<pre style=\"padding-left: 30px;\">bluemix login -u &lt;your bluemix email&gt; -o &lt;your bluemix organization&gt; -s dev<\/pre>\n<p><\/p>\n<p>where:<\/p>\n<ul>\n<li><code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">-u<\/code> sets the username.<\/li>\n<li><code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">-o<\/code> sets the organization.<\/li>\n<li style=\"margin-bottom: 12px\"><code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">-s<\/code> sets the environment.<\/li>\n<\/ul>\n<p>You will be also asked for your password\u2014the one you chose during the registration.<\/p>\n<\/li>\n<li style=\"margin-bottom: 12px\">\n<p>After logging in, push the application:<\/p>\n<pre style=\"padding-left: 30px;\">cf push eugenetestaspnet5 -b https:\/\/github.com\/cloudfoundry-community\/asp.net5-buildpack.git<\/pre>\n<p><\/p>\n<p>The <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">cf push<\/code> command has two parameters:<\/p>\n<ul>\n<li style=\"margin-bottom: 12px\">the Bluemix application name (<em>required<\/em>)<\/li>\n<li>the Cloud Foundry buildpack (<em>optional<\/em>). If you skip the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">-b<\/code> parameter, Bluemix automatically decides which buildpack to use based on your <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">project.json<\/code> file.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>You can see the result in the browser: <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">http:\/\/&lt;your app name&gt;.eu-gb.mybluemix.net\/<\/code>.<\/p>\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/pushing-asp.net-5-app-to-ibm-bluemix-v1.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/pushing-asp.net-5-app-to-ibm-bluemix-v1.png\" alt=\"pushing-asp.net-5-app-to-ibm-bluemix-v1\" width=\"640\" class=\"aligncenter size-full wp-image-9249\" \/><\/a><\/center><\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It took me about two minutes to create the droplet for the first time and upload it to the Bluemix server. This process, however, can take a bit more or less time depending on your Internet connection. In addition, <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">cf push<\/code> has some caching functionality to decrease the command execution time. In my future posts, I am going to show how to work with different Bluemix services from our sample ASP.NET application.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Related_reading\"><\/span>Related reading<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-ibm-bluemix-deploying-a-sample-ruby-sinatra-app\/\">Getting Started with IBM Bluemix: Deploying a Sample Ruby\/Sinatra App<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/continuous-integration-and-continuous-delivery-in-ibm-bluemix\/\">Continuous Integration and Continuous Delivery in IBM Bluemix<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/the-ibm-bluemix-object-storage-service-in-ruby-projects\/\">Using IBM Bluemix Object Storage in Ruby Projects<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/deploying-a-rails-app-with-elasticsearch-to-ibm-bluemix\/\">Deploying a Rails App with Elasticsearch to IBM Bluemix<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/using-the-bluemix-insights-for-twitter-service-with-a-rails-app\/\">Using the Bluemix Insights for Twitter Service with a Rails App<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/deploying-a-rails-5-app-with-mongodb-redis-and-carrierwave-to-ibm-bluemix\/\">Deploying a Rails 5 App with MongoDB, Redis, and CarrierWave to IBM Bluemix<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<\/p>\n<p>With the announcement from IBM, Cloud Foundry-based environments became available for ASP.NET 5 applications. In this tutorial, we show how to deploy a simple ASP.NET application to Bluemix.<\/p>\n<p>&nbsp;<\/p>\n<p>Prerequisites<\/p>\n<p>Bluemix only supports ASP.NET 5, which Microsoft is currently renaming to ASP.NET Core 1.0, so the previous versions might not work in Bluemix.<\/p>\n<p>To [&#8230;]<\/p>\n","protected":false},"author":103,"featured_media":44462,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[214],"tags":[873,187],"class_list":["post-9245","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-cloud-native","tag-ibm-bluemix"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Push an ASP.NET 5 Application to IBM Bluemix | Altoros<\/title>\n<meta name=\"description\" content=\"Last year, IBM introduced several new services in Bluemix, including the .NET Runtime and open-source ASP.NET 5 buildpack.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Push an ASP.NET 5 Application to IBM Bluemix | Altoros\" \/>\n<meta property=\"og:description\" content=\"With the announcement from IBM, Cloud Foundry-based environments became available for ASP.NET 5 applications. In this tutorial, we show how to deploy a simple ASP.NET application to Bluemix. &nbsp; Prerequisites Bluemix only supports ASP.NET 5, which Microsoft is currently renaming to ASP.NET Core 1.0, so the previous versions might not work in Bluemix. To [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/\" \/>\n<meta property=\"og:site_name\" content=\"Altoros\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-26T04:48:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-20T00:35:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/pushing-asp.net-5-app-to-ibm-bluemix-v1-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1341\" \/>\n\t<meta property=\"og:image:height\" content=\"711\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Eugene Lahansky\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eugene Lahansky\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/\"},\"author\":{\"name\":\"Eugene Lahansky\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#\\\/schema\\\/person\\\/41eafcad445ed8378c19eaaf9612668d\"},\"headline\":\"How to Push an ASP.NET 5 Application to IBM Bluemix\",\"datePublished\":\"2016-03-26T04:48:23+00:00\",\"dateModified\":\"2019-06-20T00:35:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/\"},\"wordCount\":581,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/pushing-asp.net-5-app-to-ibm-bluemix-v1-1.png\",\"keywords\":[\"Cloud-Native\",\"IBM Bluemix\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/\",\"name\":\"How to Push an ASP.NET 5 Application to IBM Bluemix | Altoros\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/pushing-asp.net-5-app-to-ibm-bluemix-v1-1.png\",\"datePublished\":\"2016-03-26T04:48:23+00:00\",\"dateModified\":\"2019-06-20T00:35:45+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#\\\/schema\\\/person\\\/41eafcad445ed8378c19eaaf9612668d\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/pushing-asp.net-5-app-to-ibm-bluemix-v1-1.png\",\"contentUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/pushing-asp.net-5-app-to-ibm-bluemix-v1-1.png\",\"width\":1341,\"height\":711},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/how-to-push-an-asp-net-application-to-ibm-bluemix\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Push an ASP.NET 5 Application to IBM Bluemix\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/\",\"name\":\"Altoros\",\"description\":\"Insight\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#\\\/schema\\\/person\\\/41eafcad445ed8378c19eaaf9612668d\",\"name\":\"Eugene Lahansky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/Lahanskiy.Evgeniy.jpg\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/Lahanskiy.Evgeniy.jpg\",\"contentUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/Lahanskiy.Evgeniy.jpg\",\"caption\":\"Eugene Lahansky\"},\"description\":\"Eugene Lahansky is a Solutions Architect at Altoros. With his extensive experience in .NET programming, he designs and develops web-based software for Windows platforms. Eugene also works with the UNIX stack of technologies, including NGINX, Docker, and Node.js.\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/author\\\/e-lahansky\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Push an ASP.NET 5 Application to IBM Bluemix | Altoros","description":"Last year, IBM introduced several new services in Bluemix, including the .NET Runtime and open-source ASP.NET 5 buildpack.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/","og_locale":"en_US","og_type":"article","og_title":"How to Push an ASP.NET 5 Application to IBM Bluemix | Altoros","og_description":"With the announcement from IBM, Cloud Foundry-based environments became available for ASP.NET 5 applications. In this tutorial, we show how to deploy a simple ASP.NET application to Bluemix. &nbsp; Prerequisites Bluemix only supports ASP.NET 5, which Microsoft is currently renaming to ASP.NET Core 1.0, so the previous versions might not work in Bluemix. To [...]","og_url":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/","og_site_name":"Altoros","article_published_time":"2016-03-26T04:48:23+00:00","article_modified_time":"2019-06-20T00:35:45+00:00","og_image":[{"width":1341,"height":711,"url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/pushing-asp.net-5-app-to-ibm-bluemix-v1-1.png","type":"image\/png"}],"author":"Eugene Lahansky","twitter_misc":{"Written by":"Eugene Lahansky","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#article","isPartOf":{"@id":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/"},"author":{"name":"Eugene Lahansky","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/41eafcad445ed8378c19eaaf9612668d"},"headline":"How to Push an ASP.NET 5 Application to IBM Bluemix","datePublished":"2016-03-26T04:48:23+00:00","dateModified":"2019-06-20T00:35:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/"},"wordCount":581,"commentCount":0,"image":{"@id":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#primaryimage"},"thumbnailUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/pushing-asp.net-5-app-to-ibm-bluemix-v1-1.png","keywords":["Cloud-Native","IBM Bluemix"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/","url":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/","name":"How to Push an ASP.NET 5 Application to IBM Bluemix | Altoros","isPartOf":{"@id":"https:\/\/www.altoros.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#primaryimage"},"image":{"@id":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#primaryimage"},"thumbnailUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/pushing-asp.net-5-app-to-ibm-bluemix-v1-1.png","datePublished":"2016-03-26T04:48:23+00:00","dateModified":"2019-06-20T00:35:45+00:00","author":{"@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/41eafcad445ed8378c19eaaf9612668d"},"breadcrumb":{"@id":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#primaryimage","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/pushing-asp.net-5-app-to-ibm-bluemix-v1-1.png","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/pushing-asp.net-5-app-to-ibm-bluemix-v1-1.png","width":1341,"height":711},{"@type":"BreadcrumbList","@id":"https:\/\/www.altoros.com\/blog\/how-to-push-an-asp-net-application-to-ibm-bluemix\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.altoros.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Push an ASP.NET 5 Application to IBM Bluemix"}]},{"@type":"WebSite","@id":"https:\/\/www.altoros.com\/blog\/#website","url":"https:\/\/www.altoros.com\/blog\/","name":"Altoros","description":"Insight","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.altoros.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/41eafcad445ed8378c19eaaf9612668d","name":"Eugene Lahansky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/Lahanskiy.Evgeniy.jpg","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/Lahanskiy.Evgeniy.jpg","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/Lahanskiy.Evgeniy.jpg","caption":"Eugene Lahansky"},"description":"Eugene Lahansky is a Solutions Architect at Altoros. With his extensive experience in .NET programming, he designs and develops web-based software for Windows platforms. Eugene also works with the UNIX stack of technologies, including NGINX, Docker, and Node.js.","url":"https:\/\/www.altoros.com\/blog\/author\/e-lahansky\/"}]}},"_links":{"self":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/9245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/users\/103"}],"replies":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/comments?post=9245"}],"version-history":[{"count":3,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/9245\/revisions"}],"predecessor-version":[{"id":44463,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/9245\/revisions\/44463"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media\/44462"}],"wp:attachment":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media?parent=9245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/categories?post=9245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/tags?post=9245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}