From the course: Deploying ASP.NET Core Applications: From Fundamentals to Advanced Deployment Strategies

Internet Information Services (IIS) setup and configuration

- [Instructor] Hi, everyone, and welcome to this chapter, where we're going to talk about deploying a speed up net applications to on-premises servers. You learn how to deploy them to a local server using IIS. IIS or the Internet Information Services is Microsoft's web server software for hosting websites, web applications, and services. IIS is a robust web server software developed by Microsoft. It offers reliable performance and scalability, making it suitable for both small scale deployments and large enterprise solutions. As part of the Windows server ecosystem, IIS easily integrates with other Microsoft technologies, such as dotnet framework, aspeedupnet, and active directory. This integration simplifies management and enhances security through features like Windows authentication. IIS also supports a wide range of web technologies and protocols, including HTTP, HTTPS, FTP, SMTP, and more. It offers extensive configuration options, allowing administrators to tailor settings to meet specific performance, security, and operational requirements. Using IIS can therefore provide a reliable, integrated, and flexible platform for hosting web applications and services on Windows servers. On this part, you'll learn how to set up IIS or the Internet Information Service. So let's see it in action. Now the first thing that you need to do is that you need to make sure that you have not already configured, or the IIS is not configured by default. To check that, just go to search and then type in your IIS. And if you don't get any options, it means that IIS is not set up, and that is what we need to do. To configure IIS, you need to go to programs. So, in control panel, going here to programs, and then in the programs and feature you have this option, turn Windows features on or off. Click in here. And then in your search for IIS or the Internet Information Services, so expand this one and you can see that inside here we have multiple options, including FTP server, web management tools, and also the World Wide Web. Now inside the FTP server you can see two options, which is the FTP extensibility. And this supports custom FTP modules to extend the functionality of the FTP service. And the FTP service itself, which enables the server to host FTP sites for file transfers. We are going to enable both of them or you can enable these options if you want to enable server to host FTP sites. The other option, the web management tools, does have other options. The first option, which is the IIS 6 Management Compatibility, provides backward compatibility tools for managing IIS 6.0 features. The IIS Management Console is the main interface for configuring and managing IIS settings, so we need to definitely have this checked. The third one, which is the IIS Management Script and Tools, offers command line tools and scripts for automating IIS management tasks. You can optionally check this one if you want to use command line interface. And IIS Management Service allows remote management of the IIS server using the IIS manager, or other compatible tools. The third one, which is the Worldwide Web Services, does have some other options. The first one, the application development features, supports running different web applications. The Common HTTP Features manages default documents, directory browsing, HTTP errors, and static content. The Health and Diagnostics provides logging, request monitoring, and tracing tools for troubleshooting. The Performance Features enables compression of static and dynamic content to improve website performance. And the last one, which is security, includes features for request filtering and authentication to secure web applications. I'm going to check all these options. Check this one, this one, and also this one. And then I'm going to click the okay button. Now this is going to search for all the files, it's going to install them. And this way, IIS is going to be set up. Now that we got these windows completed, the requested changes, we can just close this window. We can also close this other one. And now let us search for IIS. Now we can see that in the search result, we get Internet Information Services Manager. So let us click this option. And this is what we are going to get. And this is the tool or the manager that we're going to use to manage the deployment. Now to check the default website, what you need to do is that you can just go in here, you can expand this one, then go to site. Open the sites, you have the default website, and then here on the right you have the browse and the port is 80. So you can just click that button. This is going to open the browser and this is the default website that you're going to see. If you get the same screen, it means that everything worked as expected. On the next part, we're going to set up or we're going to prepare our app for the IIS deployment. So see you on the next one.

Contents