Git Product home page Git Product logo

efa-azuredeploymentguide's Introduction

Azure Deployment

Getting started!

1. Create an Azure Account through the Azure Portal. Do this using your Microsoft account

2. Go to portal.azure.com

3. Here is a link to a repo if you would like to run a practice deployment

4. Clone the project and "cd" into that directory

5. Open the project, right click on the MVC assembly, and select Publish

6. Click Start under publish

7. Make sure you are in the App Service tab, click the Create New radio button

8. You should see something like this: CreateAppService

9. Give the App Name something unique

10. Select Free Trial or Pay-As-You-Go depending on whether or not you are in the free trial or not

11. Select new Resource group. Name it rg_YourAppName

12. Select the free hosting plan

13. Select Create

At this point you should have a deployed version of Admin-LTE



Deploying our Projects

The following are step by step instructions for deploying an ElevenNote styled n-tier application with a database

1. Open and build your project to make sure there are no errors. (crtl + shift + b)

2. Right click on the MVC assembly, and select Publish

3. Choose App Service

Make sure you are logged in to Azure

4. Select Create in the middle section then publish

5. Like we did before, in the App Service window give the app a unique name. You will see red if the name is already taken

6. Select Free Trial or Pay-As-You-Go depending on whether or not you are in the free trial or not

7. Select new Resource group. Name it rg_YourAppName

8. Select Free Trial or Pay-As-You-Go depending on whether or not you are in the free trial or not. The default name is fine for this


Now things diverge a little from before:

In the practice version, we did not have a database to worry about but with our projects we will want some sort of database on our deployed applications

9. On the right select "Create a SQL Database"

10. In the "Configure SQL Database" dialog, click "New" next to SQL Server

11. Name the server. Example name: yourappnamesqldbserver. (yourappname + sql + db + server)

12. Set up an Admin username and password. Make sure you can remember it or write it down somewhere, you will need these credentials later on

13. Click OK, but DO NOT move past that yet

14. In the Connection String Name, enter the name for your connection string. If you don't remeber where that is it should be in your web.config file in the MVC. It is likely "DefaulConnection"

15. At this point we should have four things resources you've configured in the Create App Service dialog

16. Deployment should begin and can take 5-20+ minutes the first time

efa-azuredeploymentguide's People

Contributors

jtux avatar

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.