From the course: ASP.NET Core: Health Checks and Logging

Prerequisites and setup - ASP.NET Core Tutorial

From the course: ASP.NET Core: Health Checks and Logging

Start my 1-month free trial

Prerequisites and setup

- [Narrator] If you go to visual studio.com in your web browser, you are redirected to visualstudio.microsoft.com, this page here, where basically you see the three versions official studio, Microsoft is offering. The original Visual Studio here on the left, and two other IDEs which share the wishlist studio name, but are just entirely different products. But still can be used for developing .net applications. Basically, you could use any of those three. We will be using the first one, Visual Studio in this course. If you cannot or do not want to use Visual Studio, I would recommend you use Visual Studio Code and you'll be able to follow along with everything we are doing here. Visual Studio, the full Visual Studio, Microsoft's IDE flagship, is probably the most powerful of all the available options. There are different versions or editions available of visual studio. The community edition, which is free to use for a variety of cases. Please check the license agreements, but if you qualify for that the community edition is good enough for everything we are doing in this course and actually is very very powerful. So it's good enough for most applications actually. If you have a higher edition, then of course feel free to use it. We will be using the current version, version of 2019. That doesn't mean the year 2019, but visual studio, 2019. It's now 2021 when I am recording this, but still the 2019 version is up to date. But of course I installed the latest update, the latest sub version. Because, there are updates every couple of weeks. You can also use Visual Studio Code which is well a text editor at first sight, but it's super super powerful. There are a lot of extensions available. And while of course it's original intended use is to create .net applications, you can create any kind of applications with it and it's cross platform. So it doesn't only run on windows, but also on Mac and Linux and surprisingly .net also runs on Mac iOS and on Linux. Especially if you're using one of those two platforms, Visual Studio Code is probably your go-to IDE or your go-to editor. You will be using throughout this course. Another prerequisite is SQL Server. I'm using the SQL Server express edition here which is free if you're using a different edition that of course works as well. The connection string in the sample application as part of the exercise files makes a few assumptions. So it's talking to the name SQL express instance on the local system. So the connection string will contain parentheses local and then backslash SQL express. If you have a different setup or if you are not using windows authentication but instead some other kind of authentication, just change the connection strings so that it fits to your system. And then we are working with a database called H plus sport. You most probably won't have it. I already have it, but no problem. Because, as part of the exercise files, you get a sequel script or an SQL script. And that SQL script sets everything up. It does make some assumptions here that create database call, by using the default folder name for SQL Server and SQL express and the version number, et cetera, et cetera. If that matches your system, you're good. You should be able to just run this. If you need to make changes either do the changes here or, mainly create a database for instance here in SQL server management studio, new database. And then remove this from the SQL script and just run the rest which after a few default settings creates issue tables we will be using and fills those tables with sample data. And once this is done, you are ready for the sample code, to run it, and to work on it as part of this course.

Contents