00:00:05.102 --> 00:00:05.732 All right.
00:00:05.742 --> 00:00:10.281 So we are going to make hopefully a short and concise
00:00:10.281 --> 00:00:14.232 video on how to set up signal R for a project.
00:00:15.382 --> 00:00:19.592 Umm, so there's probably 3 pieces that are important.
00:00:19.742 --> 00:00:24.269 One you have to enable signal R so in your projects umm
00:00:24.269 --> 00:00:29.443 workspace here you are going to just search for signalr in your
00:00:29.443 --> 00:00:34.698 app settings and I have one here and it's enabled set to true so
00:00:34.698 --> 00:00:39.711 that has to be there in order for everything to work and then
00:00:39.711 --> 00:00:44.562 to actually publish signal R you're going to open up Visual
00:00:44.562 --> 00:00:45.532 Studio code.
00:00:45.712 --> 00:00:50.861 Have your solution for the project open and then in your 07
00:00:50.861 --> 00:00:55.152 portals folder you're going to see Signal R core.
00:00:56.602 --> 00:00:59.872 If you right click on that, you're gonna see publish.
00:00:59.882 --> 00:01:02.052 Here you click on publish.
00:01:02.062 --> 00:01:04.302 That will bring you to the screen that you see here.
00:01:05.272 --> 00:01:08.302 Uh, this portion of it right here.
00:01:08.372 --> 00:01:09.382 This little section here.
00:01:09.392 --> 00:01:13.464 You may not see that, but basically what you're trying to
00:01:13.464 --> 00:01:16.202 do is point this at a target location.
00:01:17.052 --> 00:01:21.552 So you're going to click on new profile here folder.
00:01:23.192 --> 00:01:27.824 Click on next and then basically your your pointing at a specific
00:01:27.824 --> 00:01:30.982 folder that you want to publish signal R to.
00:01:31.032 --> 00:01:35.684 Now the folder name matters because it's gonna be where your
00:01:35.684 --> 00:01:38.582 app pool is pointing at specifically.
00:01:38.852 --> 00:01:44.588 So for this we already have it set up here, but you're gonna
00:01:44.588 --> 00:01:49.572 click browse and then go to where your projects are.
00:01:51.032 --> 00:01:52.932 Click on your particular project.
00:01:54.022 --> 00:01:54.252 Uh.
00:01:55.362 --> 00:01:59.403 And then signal R publish is the folder that my app pool is
00:01:59.403 --> 00:02:00.212 pointing at.
00:02:00.222 --> 00:02:03.938 So that is going to be what I select here and then I'm going
00:02:03.938 --> 00:02:07.532 to click OK and I actually have this portion done already.
00:02:07.542 --> 00:02:11.422 So once you do that, you're gonna see what you see right
00:02:11.422 --> 00:02:15.302 here and then just for good measure, if you want to make
00:02:15.302 --> 00:02:19.454 sure everything is good, if you go to show all settings your
00:02:19.454 --> 00:02:23.879 configuration, target framework, everything should look like the
00:02:23.879 --> 00:02:24.832 settings here.
00:02:27.252 --> 00:02:30.203 If for some reason you see something funky or you did
00:02:30.203 --> 00:02:33.810 something weird with your folder and you need to change that, you
00:02:33.810 --> 00:02:37.198 can click on connection here and you'll be able to change the
00:02:37.198 --> 00:02:38.182 folder from there.
00:02:39.882 --> 00:02:43.232 OK, so signal R publish is the folder that I needed.
00:02:43.242 --> 00:02:44.172 Why is that?
00:02:44.182 --> 00:02:48.825 If you open up IIS, uh, if you haven't set up your app pool
00:02:48.825 --> 00:02:50.992 yet, you'll need to do that.
00:02:51.482 --> 00:02:53.692 And I can show that really quickly here.
00:02:53.702 --> 00:02:57.543 So you're gonna go to app pools, add application pool and then
00:02:57.543 --> 00:03:01.444 you basically just type in the name of the app pool that you're
00:03:01.444 --> 00:03:02.542 looking to create.
00:03:02.692 --> 00:03:05.022 I already have mine here, so I'll just pull it up.
00:03:09.412 --> 00:03:11.922 OK, so it is.
00:03:11.932 --> 00:03:14.833 This is for a project 10, so this is kind of like the naming
00:03:14.833 --> 00:03:17.022 convention that we use for this specifically.
00:03:17.592 --> 00:03:22.872 So clarity client.com my project 10 local and then signalr.
00:03:25.102 --> 00:03:30.120 And then if you would like to go to sites and then that site that
00:03:30.120 --> 00:03:34.681 we just pointed to right there, desktop modules and clarity
00:03:34.681 --> 00:03:39.243 ecommerce that is where all your application pools live and
00:03:39.243 --> 00:03:43.881 you're going to see signal R there, if you right click on it
00:03:43.881 --> 00:03:48.747 like explore, it's going to take you exactly to the folder path
00:03:48.747 --> 00:03:51.712 that we are pointing this publish app.
00:03:56.642 --> 00:03:56.852 OK.
00:03:58.152 --> 00:04:02.766 So once we have that target location set there, we are ready
00:04:02.766 --> 00:04:04.052 to click publish.
00:04:04.852 --> 00:04:07.322 So I'm going to go ahead and do that and hopefully this works.
00:04:07.332 --> 00:04:07.932 See what happens.
00:05:28.312 --> 00:05:30.112 Alright, publish succeeded.
00:05:37.002 --> 00:05:40.331 Justin, while I'm still at this point here, is there a way to
00:05:40.331 --> 00:05:43.660 just make sure that everything's good once you get up to this
00:05:41.082 --> 00:05:41.282 Yep.
00:05:43.660 --> 00:05:43.982 point?
00:05:44.952 --> 00:05:48.462 Umm, no, I think that's pretty good for the actual publish.
00:05:48.472 --> 00:05:51.566 I would say just maybe turn on the app pools and start up the
00:05:51.566 --> 00:05:53.962 site and just verify that signalr does connect.
00:05:54.892 --> 00:05:55.092 OK.
00:05:57.722 --> 00:06:01.258 You can usually view that by uh looking in the console, like if
00:06:01.258 --> 00:06:03.192 you go to the catalog of the site.
00:06:04.382 --> 00:06:05.262 Right. OK.
00:06:51.742 --> 00:06:55.806 UM, go ahead and go to the catalog and you'll actually see
00:06:55.806 --> 00:06:57.942 it in the console, most likely.
00:07:00.002 --> 00:07:02.892 I think it's just being a bit slow for some reason.
00:07:03.042 --> 00:07:04.462 Turn in the app pulls back on.
00:07:03.212 --> 00:07:04.082 Ohh OK.
00:07:50.012 --> 00:07:51.452 Ah, OK.
00:07:56.642 --> 00:07:59.002 Think it'll actually be in the console?
00:07:59.742 --> 00:08:01.902 Ooh, you did say that.
00:08:02.052 --> 00:08:02.622 There we go.
00:08:02.692 --> 00:08:05.982 OK, signal R connection established.
00:08:02.822 --> 00:08:03.742 OK, cool.
00:08:06.052 --> 00:08:06.472 Good to go.
00:08:07.992 --> 00:08:09.122 And that's pretty much that.