<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Alphie.io</title>
    <description>The latest articles on Forem by Alphie.io (@alphie).</description>
    <link>https://forem.com/alphie</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F187%2F07c4d965-e455-4554-93f8-cb9015651cc5.png</url>
      <title>Forem: Alphie.io</title>
      <link>https://forem.com/alphie</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/alphie"/>
    <language>en</language>
    <item>
      <title>HOW TO: Create a microservice MVC application in 5 steps with alphie.io</title>
      <dc:creator>Alasdair</dc:creator>
      <pubDate>Wed, 18 Apr 2018 21:34:34 +0000</pubDate>
      <link>https://forem.com/alphie/how-to-create-a-microservice-mvc-application-in-5-steps-with-alphieio-4h6f</link>
      <guid>https://forem.com/alphie/how-to-create-a-microservice-mvc-application-in-5-steps-with-alphieio-4h6f</guid>
      <description>&lt;p&gt;Getting started is always the hard part, in fact, knowing where to start can stop people in their tracks.&lt;/p&gt;

&lt;p&gt;To help you out, we have 5 steps to creating your first microservice MVC application which you can edit as a template, scale as required and extend with other services.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step 1: Login or register&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Go to &lt;a href="https://platform.alphie.io"&gt;https://platform.alphie.io&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step 2: Create new service&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;With alphie, you can select from pre-defined templates structures to help you get going quickly.  Select &lt;code&gt;"build from template"&lt;/code&gt; on the side menu then choose &lt;code&gt;"c# MVC Web Application"&lt;/code&gt;.  Give it a name like "webportal" and click build&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step 3:  Create an environment&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;You are going to need somewhere to launch your new service once it is built.  Select "add &amp;amp; manage" under the environments menu. &lt;/p&gt;

&lt;p&gt;Give your environment a name and slug or URL you want it to run under.  Alphie runs a standard approach of &lt;code&gt;{service_name}-{environment}-{username}.alphie.io&lt;/code&gt; for every service so that all services are unique.&lt;/p&gt;

&lt;p&gt;Don't forget to click "save".&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step 4: Launch&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Now, go to &lt;code&gt;"launch business function"&lt;/code&gt; under the services menu, select your new service from the drop down and your environment.  Go ahead and click &lt;code&gt;"launch"&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Step 5: Test &amp;amp; Manage&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Now that the service is up and running its time to test and manage.  Click on the &lt;code&gt;"manage"&lt;/code&gt; item under the services menu.  Here you can see the unique URL of your service.  Go ahead and click it, this should open a new window and hay presto a nice new MVC web application.&lt;/p&gt;

&lt;p&gt;From here you can start editing the code under &lt;code&gt;"source code"&lt;/code&gt;.  This will give you the login details and URL for your unique GIT instance.  As soon as you edit your code and commit, Alphie will recompile and create a new version which you can launch when ready. &lt;/p&gt;

&lt;p&gt;Now go get them!&lt;/p&gt;

</description>
      <category>microservices</category>
      <category>mvc</category>
      <category>howto</category>
    </item>
  </channel>
</rss>
