WEBVTT

0:00:02.920000 --> 0:00:09.380000
 In this video, we're going to take a
 look at creating an Azure App Service

0:00:09.380000 --> 0:00:13.800000
 web app. In other words, creating an app,
 a web app in, well, Azure, pretty

0:00:13.800000 --> 0:00:15.040000
 straightforward stuff.

0:00:15.040000 --> 0:00:17.160000
 I'm going to try and make it a little
 more complicated, no, I'm really

0:00:17.160000 --> 0:00:20.520000
 not. But I do want to cover at least
 some concept, if you're not familiar.

0:00:20.520000 --> 0:00:24.020000
 We'll talk about web app concepts,
 what a web app is, why it matters,

0:00:24.020000 --> 0:00:25.180000
 and what it gives you.

0:00:25.180000 --> 0:00:27.420000
 And then we're really
 going to demonstrate.

0:00:27.420000 --> 0:00:30.540000
 And I'm going to go through
 creating an Azure web app.

0:00:30.540000 --> 0:00:35.380000
 And then I'm going to take a look at
 deploying a brand new ASP.NET Core

0:00:35.380000 --> 0:00:36.940000
 MVC application.

0:00:36.940000 --> 0:00:40.820000
 The fact that it's ASP.NET Core
 MVC doesn't really matter.

0:00:40.820000 --> 0:00:43.560000
 Other than the fact that it's a brand
 new app, you can see the process

0:00:43.560000 --> 0:00:48.380000
 of deployment. For the demonstration,
 I'm going to use primarily PowerShell.

0:00:48.380000 --> 0:00:52.760000
 Although I will also at the end, if
 I remember, show you how it looks

0:00:52.760000 --> 0:00:54.240000
 within the portal as well.

0:00:54.240000 --> 0:00:56.960000
 The portal is pretty simple, but it's
 also good sometimes to just get

0:00:56.960000 --> 0:00:58.220000
 that look at it.

0:00:58.220000 --> 0:01:02.000000
 All right, so let's go ahead and
 let's get started up here.

0:01:02.000000 --> 0:01:05.940000
 I'm going to start out, again, by
 talking about some basic concepts.

0:01:05.940000 --> 0:01:08.000000
 And we're going to draw this out.

0:01:08.000000 --> 0:01:13.100000
 When I think about a web app, I can kind
 of think of web app as this holistic

0:01:13.100000 --> 0:01:16.440000
 concept. Here's my web app.

0:01:16.440000 --> 0:01:21.520000
 And let's get that a
 little bit smaller.

0:01:21.520000 --> 0:01:25.300000
 There we go, web app.

0:01:25.300000 --> 0:01:29.880000
 And with the web app, what I'm going
 to get is I'm going to get my code

0:01:29.880000 --> 0:01:31.660000
 and it's going to be hosted
 in the web app.

0:01:31.660000 --> 0:01:33.000000
 So I've got some code here.

0:01:33.000000 --> 0:01:37.880000
 This represents whatever my code
 is in those squiggly lines there.

0:01:37.880000 --> 0:01:41.280000
 And it's going to
 have an endpoint.

0:01:41.280000 --> 0:01:48.840000
 And I'm going to have
 my users over here.

0:01:48.840000 --> 0:01:53.020000
 Happy users, because I've
 got an awesome app.

0:01:53.020000 --> 0:01:56.440000
 And the users are going to go to that
 endpoint and they're going to access

0:01:56.440000 --> 0:01:58.640000
 my code. Right? They're going
 to access my web app.

0:01:58.640000 --> 0:01:59.760000
 Nice and simple.

0:01:59.760000 --> 0:02:03.860000
 From a developer standpoint, if I'm developing
 this, right, I'm over here

0:02:03.860000 --> 0:02:09.920000
 developing. And I, too, am a happy developer
 because, almost like I have

0:02:09.920000 --> 0:02:13.160000
 a hat. Right? But because I'm using
 web apps and it makes my life really

0:02:13.160000 --> 0:02:16.660000
 simple. And so really all I'm going to
 do is I'm going to say, look, I've

0:02:16.660000 --> 0:02:17.760000
 got this web app.

0:02:17.760000 --> 0:02:21.280000
 I really just want to deploy my code
 and make sure everything's good.

0:02:21.280000 --> 0:02:25.860000
 And at the highest level, that's
 really what a web app is.

0:02:25.860000 --> 0:02:30.120000
 It gives us this platform and this platform
 as a service that allows us

0:02:30.120000 --> 0:02:35.740000
 to simply deploy our code and not have
 to worry about the hosting environment.

0:02:35.740000 --> 0:02:41.520000
 And this is true for Windows applications,
 for Linux based applications,

0:02:41.520000 --> 0:02:44.440000
 for well as for container
 based applications.

0:02:44.440000 --> 0:02:49.580000
 So there's a lot of options here that
 allow us to easily deploy our code.

0:02:49.580000 --> 0:02:53.680000
 Now, I want to go and take a little
 deeper look at what a web app really

0:02:53.680000 --> 0:02:59.220000
 is because it's a good thing to have
 that core understanding of where

0:02:59.220000 --> 0:03:00.540000
 the web app actually sits.

0:03:00.540000 --> 0:03:04.120000
 To understand the web app and to talk
 about the web app, what you really

0:03:04.120000 --> 0:03:07.880000
 want to do is you really want to start
 with something called an app service

0:03:07.880000 --> 0:03:12.040000
 plan. Now, I mentioned hosting.

0:03:12.040000 --> 0:03:15.920000
 The app service plan really
 is the hosting environment.

0:03:15.920000 --> 0:03:20.240000
 And in fact, if you look at the way
 it's referenced under the hood, it's

0:03:20.240000 --> 0:03:21.880000
 referenced as a farm.

0:03:21.880000 --> 0:03:26.000000
 Now, within the app service plan, what
 you have is behind the scenes.

0:03:26.000000 --> 0:03:28.180000
 And this is something that
 you're not going to touch.

0:03:28.180000 --> 0:03:31.000000
 You have these instances
 that are running.

0:03:31.000000 --> 0:03:36.360000
 And you can choose the size and the
 number of instances and you can set

0:03:36.360000 --> 0:03:39.340000
 up auto scaling for the instances.


0:03:39.340000 --> 0:03:43.680000
 But I have these instances that
 are actually running my code.

0:03:43.680000 --> 0:03:47.660000
 And at the end of the day, that
 was a little bit too large.

0:03:47.660000 --> 0:03:50.180000
 Sorry, I'm going to get that
 a little bit smaller.

0:03:50.180000 --> 0:03:52.500000
 Try it again. There we go.

0:03:52.500000 --> 0:03:54.480000
 That's a little bit better.

0:03:54.480000 --> 0:03:57.980000
 Helps if I spell it
 correctly as well.

0:03:57.980000 --> 0:03:59.840000
 All right. So there we go.

0:03:59.840000 --> 0:04:02.540000
 I've got these instances, which are
 really just VMs, but I don't refer

0:04:02.540000 --> 0:04:05.900000
 to them as VMs because you don't interact
 with them the way you would

0:04:05.900000 --> 0:04:08.060000
 with a standard virtual machine.

0:04:08.060000 --> 0:04:12.920000
 Now, I also, within an app service
 plan, have given to me and managed

0:04:12.920000 --> 0:04:17.100000
 by Azure and Azure Load Balancer.

0:04:17.100000 --> 0:04:21.880000
 We'll just say ALB for
 Azure Load Balancer.

0:04:21.880000 --> 0:04:26.120000
 All right. Now, these are all things
 that are given to me by Azure.

0:04:26.120000 --> 0:04:29.980000
 Okay. And so really all I need to do
 as a developer, we'll go over here

0:04:29.980000 --> 0:04:35.120000
 and be that developer over here.

0:04:35.120000 --> 0:04:37.800000
 Okay. I've got some code.

0:04:37.800000 --> 0:04:40.740000
 Still a happy developer, a
 little larger than before.

0:04:40.740000 --> 0:04:43.060000
 And I write my code.

0:04:43.060000 --> 0:04:53.960000
 And I deploy that code to this really,
 what is really a concept of a web

0:04:53.960000 --> 0:04:58.680000
 app. And so I've got my web app or
 it could be an API app or a mobile

0:04:58.680000 --> 0:05:03.180000
 app. Okay. I just said, wait, web API
 because too many things saying it

0:05:03.180000 --> 0:05:03.780000
 once. All right.

0:05:03.780000 --> 0:05:08.140000
 So I've got my web app and I deploy
 my code to the web app.

0:05:08.140000 --> 0:05:11.540000
 I can provision the web app and then
 I deploy my code to the web app.

0:05:11.540000 --> 0:05:16.180000
 Now, what really happens is that that code
 actually gets deployed automatically

0:05:16.180000 --> 0:05:19.480000
 across these instances.

0:05:19.480000 --> 0:05:20.940000
 And so there's my code.

0:05:20.940000 --> 0:05:25.960000
 It's being deployed across all
 the instances that are, whoa.

0:05:25.960000 --> 0:05:29.220000
 Apparently got deployed a little bit
 shaky there on the third instance

0:05:29.220000 --> 0:05:30.760000
 node. It'd be the same.

0:05:30.760000 --> 0:05:36.540000
 All right. And there's automatically an
 endpoint established in the application

0:05:36.540000 --> 0:05:40.160000
 load balancer. Right.

0:05:40.160000 --> 0:05:42.800000
 That's going to balance across any instances
 that are running in the app

0:05:42.800000 --> 0:05:47.860000
 service plant. Now, keep in mind you're
 not going to deal with anything

0:05:47.860000 --> 0:05:51.880000
 other than really the configuration, of
 course, you'll be able to configure

0:05:51.880000 --> 0:05:54.960000
 both the application service plant
 in terms of its size and the way it

0:05:54.960000 --> 0:05:59.420000
 scales. And you'll also be able to
 really configure quite a number of

0:05:59.420000 --> 0:06:01.920000
 attributes for the web app itself.


0:06:01.920000 --> 0:06:06.480000
 But as far as, you know, having to deal
 with the underlying virtual machines

0:06:06.480000 --> 0:06:10.200000
 and their availability and making sure
 they're up to date and that the

0:06:10.200000 --> 0:06:14.720000
 server software and that the host software
 is all correct, you don't have

0:06:14.720000 --> 0:06:15.480000
 to worry about any of that.

0:06:15.480000 --> 0:06:17.540000
 You don't have to worry about
 setting up the load balancer.

0:06:17.540000 --> 0:06:21.420000
 All you're doing is taking your code at
 the highest level and you're deploying

0:06:21.420000 --> 0:06:25.820000
 it to this concept of a web app, which
 under the hood is being handled

0:06:25.820000 --> 0:06:30.260000
 through these, what in the end is infrastructure
 components, but infrastructure

0:06:30.260000 --> 0:06:33.220000
 components that you never
 have to deal with.

0:06:33.220000 --> 0:06:40.720000
 All right. Let's take a look at how
 you can actually deploy a web app.

0:06:40.720000 --> 0:06:44.440000
 All right. I have, hopefully this is
 going to come up nice and smooth

0:06:44.440000 --> 0:06:48.840000
 here. There we go.

0:06:48.840000 --> 0:06:50.600000
 It came out relatively smoothly.

0:06:50.600000 --> 0:06:57.120000
 I have a script that I wrote specifically
 for this demonstration.

0:06:57.120000 --> 0:06:59.900000
 So even though it's sort of canned,
 it's not completely canned.

0:06:59.900000 --> 0:07:02.280000
 All right. And I'm just going to go
 through this PowerShell script.

0:07:02.280000 --> 0:07:05.080000
 And if you're not real familiar with
 PowerShell, relatively easy to follow

0:07:05.080000 --> 0:07:06.800000
 and I'll walk you through it.

0:07:06.800000 --> 0:07:08.200000
 This first bit is the easiest.

0:07:08.200000 --> 0:07:10.060000
 I'm just setting up
 some variables.

0:07:10.060000 --> 0:07:14.600000
 So I've got a resource group name, a
 location, the name of my application.

0:07:14.600000 --> 0:07:18.880000
 Service plan that I'm going to create
 the name of my web app and the name

0:07:18.880000 --> 0:07:21.740000
 of an archive file that
 I'm going to use.

0:07:21.740000 --> 0:07:26.060000
 Now the first thing I'm going to do is I'm
 going to set up my Azure environment.

0:07:26.060000 --> 0:07:28.920000
 I'm going to create
 a resource group.

0:07:28.920000 --> 0:07:32.600000
 And I have, by the way,
 already logged in.

0:07:32.600000 --> 0:07:34.780000
 There we go. I've got
 my resource group.

0:07:34.780000 --> 0:07:37.840000
 Next, I am going to create
 an app service plan.

0:07:37.840000 --> 0:07:42.540000
 Now I'm going to go down here and build
 this out a little bit so you can

0:07:42.540000 --> 0:07:45.820000
 see what one already have.

0:07:45.820000 --> 0:07:47.040000
 And I'm running this.

0:07:47.040000 --> 0:07:51.460000
 If you're not familiar, I'm running
 this in Windows PowerShell ISE.

0:07:51.460000 --> 0:07:55.820000
 I'm sort of in the midst of transitioning
 from that to visual studio code

0:07:55.820000 --> 0:07:59.380000
 for my scripts, but this is still
 a little more comfortable for me.

0:07:59.380000 --> 0:08:02.500000
 But that's not really
 important either way.

0:08:02.500000 --> 0:08:05.020000
 But that's just if you see this and
 you haven't seen this before, that's

0:08:05.020000 --> 0:08:07.620000
 what this is. And I get
 lots of IntelliSense.

0:08:07.620000 --> 0:08:10.260000
 All right. So I just want to go down
 and show you the different options

0:08:10.260000 --> 0:08:13.780000
 you have. So the location, that's
 obviously going to be the region.

0:08:13.780000 --> 0:08:16.260000
 The tier, there are
 a number of tiers.

0:08:16.260000 --> 0:08:18.680000
 Let's see if I get all these
 off the top of my head.

0:08:18.680000 --> 0:08:25.740000
 There's free, shared, basic, standard
 premium P1, which you'll never use.

0:08:25.740000 --> 0:08:30.320000
 Premium P2 and Isolated
 are the different tiers.

0:08:30.320000 --> 0:08:33.860000
 The number of workers, it's going to
 be how many instances are running

0:08:33.860000 --> 0:08:37.760000
 underneath. The size of the worker
 within each one of those tiers, you

0:08:37.760000 --> 0:08:41.540000
 go from small to large.

0:08:41.540000 --> 0:08:44.600000
 So if you're using an application service
 environment, which we're not

0:08:44.600000 --> 0:08:48.140000
 really talking about right
 now, you can set that up.

0:08:48.140000 --> 0:08:51.200000
 If you want to scale individual
 sites, you can do that.

0:08:51.200000 --> 0:08:54.860000
 If you want to implement this in Hyper
-V, you can, which honestly I have

0:08:54.860000 --> 0:08:57.700000
 not yet done. It's a relatively
 new feature.

0:08:57.700000 --> 0:09:00.040000
 And then resource group and name.

0:09:00.040000 --> 0:09:03.140000
 And you would not put an app service
 plan and app service plan.

0:09:03.140000 --> 0:09:05.580000
 And the rest are just
 standard options.

0:09:05.580000 --> 0:09:10.860000
 So I'm going to go ahead
 and delete that.

0:09:10.860000 --> 0:09:13.480000
 And I'm going to go ahead and
 create the app service plan.

0:09:13.480000 --> 0:09:18.960000
 All right. I now have a happy, healthy
 application service plan.

0:09:18.960000 --> 0:09:22.280000
 The next thing that I'm going to create
 is the web app within the application

0:09:22.280000 --> 0:09:27.080000
 service plan. And again, I'll just
 show you the options here.

0:09:27.080000 --> 0:09:31.200000
 And then go ahead and create
 a base of a script.

0:09:31.200000 --> 0:09:35.100000
 So I've got the resource group, name,
 the name, the location, the app

0:09:35.100000 --> 0:09:37.560000
 service plan that it's
 associated with.

0:09:37.560000 --> 0:09:41.780000
 If I am duplicating a web app,
 which I'm not, I've got that.

0:09:41.780000 --> 0:09:44.860000
 If I already have traffic manager,
 I want to connect up to that.

0:09:44.860000 --> 0:09:49.500000
 I can. If I'm deploying this as a container,
 which I'm not, I have container

0:09:49.500000 --> 0:09:52.820000
 settings, a number of
 container settings.

0:09:52.820000 --> 0:09:57.320000
 If I want container continuous
 deployment, I can have that.

0:09:57.320000 --> 0:10:02.260000
 I can ignore any source control,
 host custom host names.

0:10:02.260000 --> 0:10:04.660000
 If I need any app settings,
 I can do that.

0:10:04.660000 --> 0:10:09.600000
 And then if I'm associating it with
 an application service environment,

0:10:09.600000 --> 0:10:11.560000
 then I've got app slots.

0:10:11.560000 --> 0:10:18.300000
 If I'm going to set those up and we'll
 get repository path is the next,

0:10:18.300000 --> 0:10:21.060000
 really the only remaining
 option that's important.

0:10:21.060000 --> 0:10:25.380000
 If I'm using continuous delivery
 for this, but I'm not.

0:10:25.380000 --> 0:10:27.920000
 So we'll just take all that away.

0:10:27.920000 --> 0:10:32.740000
 And I'm going to create this with fairly
 limited kind of basic options.

0:10:32.740000 --> 0:10:36.420000
 I've got the resource group, name,
 the name, the location and the app

0:10:36.420000 --> 0:10:39.300000
 service plan that I'm going
 to associate it with.

0:10:39.300000 --> 0:10:43.940000
 One thing to note, the web app name
 must be globally unique, whereas the

0:10:43.940000 --> 0:10:46.800000
 application service plan just needs
 to be unique for application service

0:10:46.800000 --> 0:10:50.640000
 plans within your resource group.

0:10:50.640000 --> 0:10:55.860000
 Also, fun fact, as of right now when
 this video is being recorded, you

0:10:55.860000 --> 0:11:00.320000
 cannot have a Windows application service
 plan and a Linux application

0:11:00.320000 --> 0:11:03.040000
 service plan in the
 same resource group.

0:11:03.040000 --> 0:11:06.160000
 It's kind of a weird thing,
 but just be aware of that.

0:11:06.160000 --> 0:11:14.920000
 All right, in the meantime, I'm going
 to go ahead and deploy my web app.

0:11:14.920000 --> 0:11:16.460000
 Okay, now I have a web app.

0:11:16.460000 --> 0:11:18.260000
 Let's see what I got back.

0:11:18.260000 --> 0:11:20.220000
 I saved that off to a variable.

0:11:20.220000 --> 0:11:21.580000
 You'll see the settings we have.

0:11:21.580000 --> 0:11:26.260000
 And you can see a number of settings
 for the web app, including the host

0:11:26.260000 --> 0:11:28.740000
 name. It actually has
 a lot of things.

0:11:28.740000 --> 0:11:30.580000
 For example, outbound
 IP addresses.

0:11:30.580000 --> 0:11:34.480000
 So if you're making calls, let's say
 to a REST API and you've got firewall

0:11:34.480000 --> 0:11:37.400000
 in on the REST API, these would be
 the IP addresses you would have to

0:11:37.400000 --> 0:11:41.380000
 let in. So there's quite a
 number of various options.

0:11:41.380000 --> 0:11:46.660000
 Let's take a look at
 this in the portal.

0:11:46.660000 --> 0:11:48.960000
 I'm going to app services.

0:11:48.960000 --> 0:11:51.540000
 There's my application service.

0:11:51.540000 --> 0:11:57.680000
 And here's the portal experience
 for an application for a web app.

0:11:57.680000 --> 0:11:59.000000
 Pretty straightforward.

0:11:59.000000 --> 0:12:00.980000
 It's your standard portal blade.

0:12:00.980000 --> 0:12:02.420000
 I've got a bunch of options here.

0:12:02.420000 --> 0:12:08.000000
 Stop, browse. We'll see
 browse in just a bit.

0:12:08.000000 --> 0:12:12.120000
 I've got deployment options here,
 which is not really going into.

0:12:12.120000 --> 0:12:14.000000
 And a range of settings.

0:12:14.000000 --> 0:12:18.440000
 If you have worked with web apps in
 the past and you haven't worked with

0:12:18.440000 --> 0:12:22.880000
 one for a while, it used to
 be application settings.

0:12:22.880000 --> 0:12:24.660000
 That has changed to configuration.


0:12:24.660000 --> 0:12:27.380000
 They just updated the interface
 a little bit.

0:12:27.380000 --> 0:12:30.040000
 For that, and you can see a
 number of other settings.

0:12:30.040000 --> 0:12:31.420000
 We're not going to go through
 all of those right now.

0:12:31.420000 --> 0:12:34.320000
 I do encourage you, particularly if you
 are studying for an exam, to click

0:12:34.320000 --> 0:12:36.620000
 on every one of these and
 just see what's there.

0:12:36.620000 --> 0:12:39.560000
 Most of them are covered throughout
 various courses, but you always want

0:12:39.560000 --> 0:12:42.780000
 to make sure that you get
 your hands on it as well.

0:12:42.780000 --> 0:12:46.160000
 Okay, let's go back
 to our deployment.

0:12:46.160000 --> 0:12:48.700000
 So I have this application
 service.

0:12:48.700000 --> 0:12:50.360000
 If I browse it right
 now, it's there.

0:12:50.360000 --> 0:12:52.360000
 It's working, but there's
 nothing in it.

0:12:52.360000 --> 0:12:56.340000
 And so I get this kind of vanilla, hey,
 you have something, but it's really

0:12:56.340000 --> 0:12:57.880000
 nothing interface.

0:12:57.880000 --> 0:12:59.860000
 And so now I want
 to have something.

0:12:59.860000 --> 0:13:06.080000
 So what I'm going to do is I'm going to
 create an ASP net core MVC application.

0:13:06.080000 --> 0:13:08.660000
 And let's see, make sure
 I'm in the right place.

0:13:08.660000 --> 0:13:16.500000
 I am. Go ahead and create
 my MVC application.

0:13:16.500000 --> 0:13:22.440000
 All right, and then I'm going
 to run it, make sure it works.

0:13:22.440000 --> 0:13:38.640000
 All right, it has started up,
 so let's pop over and test it.

0:13:38.640000 --> 0:13:42.520000
 And here is my extremely
 exciting web application.

0:13:42.520000 --> 0:13:45.500000
 Yeah, okay, not really much here, but
 again, the point is not to create

0:13:45.500000 --> 0:13:49.260000
 an incredible and incredibly
 complex web application.

0:13:49.260000 --> 0:13:53.000000
 It is simply to see if we can deploy one,
 which I'm feeling pretty comfortable

0:13:53.000000 --> 0:13:55.880000
 that we can, because it's possible
 I've done this before.

0:13:55.880000 --> 0:13:57.940000
 All right, so now I've got
 the web application.

0:13:57.940000 --> 0:14:05.580000
 Now, the next thing I need to do is
 I need to get the web application.

0:14:05.580000 --> 0:14:08.360000
 Let's go ahead and break there.

0:14:08.360000 --> 0:14:18.480000
 Oh, that is the only problem with running
 these from the Windows PowerShell.

0:14:18.480000 --> 0:14:23.160000
 So this is going to take a moment, but
 for you, it will seem like no time

0:14:23.160000 --> 0:14:27.940000
 at all. And like magic, it's back.


0:14:27.940000 --> 0:14:33.360000
 Okay, so the .NET run work, it just kind
 of locked up my ISE there a bit.

0:14:33.360000 --> 0:14:36.540000
 The next step, oh,
 not quite there.

0:14:36.540000 --> 0:14:42.620000
 Now we're there.

0:14:42.620000 --> 0:14:50.440000
 Now I want to publish, and I actually
 want to go, see, is going to be

0:14:50.440000 --> 0:14:56.780000
 release. Oh, no, that's,
 yeah, see release.

0:14:56.780000 --> 0:15:05.880000
 And let's go with, oh, publish.

0:15:05.880000 --> 0:15:11.680000
 Okay, so we're going to publish that
 .NET application, which is really

0:15:11.680000 --> 0:15:15.480000
 not critical to our process here.

0:15:15.480000 --> 0:15:27.380000
 Whoops. There we go.

0:15:27.380000 --> 0:15:32.200000
 Always good to get
 the right casing.

0:15:32.200000 --> 0:15:37.720000
 All right, and so I've got
 a published version.

0:15:37.720000 --> 0:15:46.200000
 The next thing that I want to do is,
 so go ahead and compress an archive

0:15:46.200000 --> 0:15:55.540000
 of that. Get all my
 variables here.

0:15:55.540000 --> 0:16:00.040000
 Okay, and let's go ahead and
 compress that archive.

0:16:00.040000 --> 0:16:03.520000
 So it's just creating a zip file.

0:16:03.520000 --> 0:16:08.180000
 And then I'm going to go ahead and
 publish that zip file up to my web

0:16:08.180000 --> 0:16:14.340000
 app. Ask me if I want to do
 that, and in fact I do.

0:16:14.340000 --> 0:16:18.360000
 All right, my web
 app has deployed.

0:16:18.360000 --> 0:16:20.740000
 Let's go take a look.

0:16:20.740000 --> 0:16:25.020000
 Code, I should say the code
 of my web app has deployed.

0:16:25.020000 --> 0:16:29.760000
 And we click browse.

0:16:29.760000 --> 0:16:30.980000
 And there we go.

0:16:30.980000 --> 0:16:36.220000
 There is my incredibly complex web app,
 and I will accept my own cookie

0:16:36.220000 --> 0:16:40.320000
 policy. Okay, so again, really
 pretty straightforward.

0:16:40.320000 --> 0:16:41.800000
 All right, a number
 of steps there.

0:16:41.800000 --> 0:16:47.820000
 Showed it to you from the really command
 line and from PowerShell specifically.

0:16:47.820000 --> 0:16:49.120000
 What was the process?

0:16:49.120000 --> 0:16:51.900000
 First we go ahead and create a resource
 group if you didn't already have

0:16:51.900000 --> 0:16:56.280000
 one. I create the application service
 plan that I'm going to use for my

0:16:56.280000 --> 0:17:00.960000
 web app. Then I go ahead and deploy
 my web app, or provision the web app

0:17:00.960000 --> 0:17:06.020000
 itself. Right, and then regardless
 of how the code is derived, really

0:17:06.020000 --> 0:17:09.640000
 down here on this line where I'm publishing
 it, I'm taking a zip file

0:17:09.640000 --> 0:17:13.540000
 that has all the code that I want, and
 I'm deploying that directly into

0:17:13.540000 --> 0:17:16.080000
 the Azure web app.

0:17:16.080000 --> 0:17:18.600000
 There's a number of other ways
 that you can deploy code.

0:17:18.600000 --> 0:17:20.360000
 This is just one example.

