Azure Breakout 2.0 On Teaching To Do | Trello Instructions

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 3

DownloadAzure Breakout 2.0 On Teaching To Do | Trello Instructions
Open PDF In BrowserView PDF
Azure Breakout 2.0 on Teaching To Do | Trello

1 of 3

https://trello.com/c/jdeioRcc/139-azure-breakout-20

Azure Breakout 2.0
in list Breakouts
Edit the description…

Setup - Prepping Visual Studio and Making an Azure Account
Delete…
0%

0) This Card Assumes if you need a Database you've done so already. If you need to hook up a
Database use my Lab 22/23 breakout card to do so.

1) Make an Azure Account here (Holy cow Bill Gates really?): https://login.microsoftonline.com/common/oauth2/aut
%2fmanagement.core.windows.net%2f&response_mode=form_post&response_type=code+id_token&scope=user_
state=OpenIdConnect.AuthenticationProperties%3db3A7WNucuJsN1WNYO371GqOiSo56zI0HQbfPGhfPDxZC6cRvyf17J07UB9496YFjijXA2urjSyhqgq3_GoaxBn2hNiK6uUiKK7_5YpF
_USkA0IBuCXATOYpWWXqet21kKLVXaOL&
nonce=636377171951492069.MDcxMmZkZTAtMjJkNC00YjU2LWExOGMtNDVhZWExYjAxYTI4OTllNGIzODgtY2I3
client_id=c44b4083-3bb0-49c1-b47d-974e53cbdf3c&redirect_uri=https%3a%2f%2fportal.azure.com%2fsignin%2fin
2) Make sure your Azure Packages are up to date in Visual Studio, go to Tools --> Extensions and
updates and check under updates, if nothing Azure related shows up you should be golden
3) NB: When making pieces of Azure, ALWAYS MAKE SURE YOU PICK THE CHEAP OR FREE
OPTION.
4) Make sure in Visual Studio you're signed into your microsoft account. You can check it by looking at
the top right corner. It will say what email you're logged into. If you need to change it simply click on the
email, and go to account settings and log into the desired account.

Make an SQL Server
Delete…
0%

1) Go to your Azure portal Dashboard. When you create anything it will show up under resources. Note
that Azure changes frequently and regularly so these instruction may become outdated at any time.
2) Whenever, you want to create a new resource click the green plus sign towards the top left of the
page. To find what you need you have two options, you can search what you need or you can click
through the categories.
3) Go and create an SQL logical server.
4) Fill in the form REMEMBER WHAT YOU PUT UNDER SERVER ADMIN LOGIN AND PASSWORD.
They will be very important, they will be how you log into your server later. Again WRITE THEM DOWN.
5) For ease of access make sure you have pin to dashboard clicked. Hit that create button and let it build
out. (This can take a minute or two, be cool)
6) Not to harp on this, but MAKE SURE YOU STILL REMEMBER YOUR ADMIN LOGIN AND
PASSWORD. YOU WILL NOT BE ABLE PROGRESS WITHOUT THEM.
7) Go look at the caps in step 6 and 4, good grief, I sound like my dad

3/1/2018, 1:11 PM

Azure Breakout 2.0 on Teaching To Do | Trello

2 of 3

https://trello.com/c/jdeioRcc/139-azure-breakout-20

Visual Studio Magic
Delete…
0%

0) Again I'm assuming you've already connected to a DB and got VS up to date, if no refer to the first
check list.
1) Open up the project you wish to upload in Visual Studio
2) Right click on the project's namespace and select Publish...
3) A pop up should appear, under publish target select Microsoft Azure Web App Service.
4) On the next Pop Up under Web App Service select the new button.
5) Fill in the form, anything you don't have select new... and VS will lead you through building it. Don't hit
create just yet, there's one more step.
6) Select the services tab. In the top box, if you have a database, a DB resource should show up. Click
the plus sign and it should show up in the bottom box.
7) Moment of truth! Hit the create button. If done successfully your web APP should show up in your
browser. Note that URL, that will be where your Web APP lives on world wide web.
8) If everything has been done correctly, your project should be up and running on the cloooooud. Use
server explorer to check where .Net sees your DB and poke around on the aforementioned URL to make
sure your site is up and running. Most importantly, go and check your database pointing views and try to
create a new row just to be sure all the parts are clicking properly.

Connection String
Delete…
0%

Now it's time to add in our connection string, connection strings are like file paths but for databases,they
tell .Net where to go to pull in data, now normally for a local DB Entity will handle for us, for talking to
Azure there's several extra wrinkles mostly security that push us to change our connection string
1) Go to your Azure Portal Dash board
2) Click on your DB
3) Under your Database overview, select connection string
4) copy the string under ADO.Net
5) In visual studio go to your web config file
5) Find your  tag in web.config
6) Save the connection string that's already there, just in case things go awry.
7) under the add tag in the connection string attribute, paste in your connection string from the azure
portal
8) Note that in the string both user id and password are placeholders, put in your login info here
9) Run your project Does it work? If so yay!
10) If not, go to your model .edmx right click and update your model from your database.

3/1/2018, 1:11 PM

Azure Breakout 2.0 on Teaching To Do | Trello

3 of 3

https://trello.com/c/jdeioRcc/139-azure-breakout-20

11) Now retry it
12) If it worked, publish your project to the cloud, right click on your solution and hit publish
13) In the publish pop up, it will note all the files that have changed, hit publish and it will bring up your
site
14) Navigate to your database view and see if it worked
15) Make sure you store the connection string in a safe place

Activity

Show Details

3/1/2018, 1:11 PM



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.7
Linearized                      : No
Warning                         : Info object (47 0 obj) not found at 326025
EXIF Metadata provided by EXIF.tools

Navigation menu