{"id":12784,"date":"2023-08-09T13:53:44","date_gmt":"2023-08-09T13:53:44","guid":{"rendered":"https:\/\/www.concettolabs.com\/blog\/?p=12784"},"modified":"2025-02-04T11:00:16","modified_gmt":"2025-02-04T11:00:16","slug":"asp-net-core-and-docker","status":"publish","type":"post","link":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/","title":{"rendered":"Introduction to ASP.NET Core and Docker"},"content":{"rendered":"<p>ASP.NET Core and Docker are the two technologies that simplify deployment, enhances scalability, and ensures consistency. In this blog, we will check the benefits of .NET Core and Docker technologies. Also, understand why the combination of both the technologies is a powerful choice for web development.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_is_ASPNET_Core\"><\/span>What is ASP.NET Core?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12817 size-full\" title=\"What is ASP.NET Core?\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-ASP.NET-Core_.png\" alt=\"What is ASP.NET Core?\" width=\"1170\" height=\"598\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-ASP.NET-Core_.png 1170w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-ASP.NET-Core_-300x153.png 300w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-ASP.NET-Core_-1024x523.png 1024w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-ASP.NET-Core_-768x393.png 768w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-ASP.NET-Core_-600x307.png 600w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-ASP.NET-Core_-945x483.png 945w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-ASP.NET-Core_-695x355.png 695w\" sizes=\"auto, (max-width: 1170px) 100vw, 1170px\" \/><\/p>\n<p>ASP.NET Core is an open-source, cross-platform framework developed by Microsoft to build web apps, APIs, and other microservices. It is a modified version of dotNET framework, which is optimized for performance, modularity, and flexibility.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_are_the_Features_of_ASPNET_Core\"><\/span>What are the Features of ASP.NET Core?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12820 size-full\" title=\"What are the Features of ASP.NET Core?\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-ASP.NET-Core_.png\" alt=\"What are the Features of ASP.NET Core?\" width=\"1170\" height=\"598\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-ASP.NET-Core_.png 1170w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-ASP.NET-Core_-300x153.png 300w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-ASP.NET-Core_-1024x523.png 1024w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-ASP.NET-Core_-768x393.png 768w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-ASP.NET-Core_-600x307.png 600w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-ASP.NET-Core_-945x483.png 945w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-ASP.NET-Core_-695x355.png 695w\" sizes=\"auto, (max-width: 1170px) 100vw, 1170px\" \/><\/p>\n<p><strong>Check the top features of ASP.NET Core:<\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_Cross-platform_Compatibility\"><\/span>1. Cross-platform Compatibility<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>.NET Core runs on various platforms like Windows, Linux, and MacOS. <a href=\"https:\/\/www.concettolabs.com\/hire-dot-net-core-developer\"><strong>.NET Core Developers<\/strong><\/a> to select their preferred OS for deployment and development.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_MVC_and_Web_APIs\"><\/span>2. MVC and Web APIs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>.NET Core supports MVC(Model-View-Controller) architecture for developing web apps. It also provides seamless support for APIs.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_High_Performance\"><\/span>3. High Performance<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>.NET Core is developed with performance, and delivers a lightweight and modular architecture ensuring faster response time and enhanced performance.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_Scalability\"><\/span>4. Scalability<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>.NET Core provides tools and techniques to scale applications effortlessly. This helps to meet the demands of small-scale projects and large enterprise applications.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_is_Docker\"><\/span>What is Docker?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12819 size-full\" title=\"What is Docker?\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-Docker_.png\" alt=\"What is Docker?\" width=\"1170\" height=\"598\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-Docker_.png 1170w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-Docker_-300x153.png 300w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-Docker_-1024x523.png 1024w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-Docker_-768x393.png 768w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-Docker_-600x307.png 600w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-Docker_-945x483.png 945w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-is-Docker_-695x355.png 695w\" sizes=\"auto, (max-width: 1170px) 100vw, 1170px\" \/><\/p>\n<p>Docker is a platform allowing developers to develop applications and their dependencies into self-contained units called containers. The users can deploy these containers across various environments ensuring that apps run smoothly regardless of underlying infrastructure.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_are_the_Features_of_Docker\"><\/span>What are the Features of Docker?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12818 size-full\" title=\"What are the Features of Docker?\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-Docker_.png\" alt=\"What are the Features of Docker?\" width=\"1170\" height=\"598\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-Docker_.png 1170w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-Docker_-300x153.png 300w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-Docker_-1024x523.png 1024w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-Docker_-768x393.png 768w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-Docker_-600x307.png 600w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-Docker_-945x483.png 945w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/What-are-the-Features-of-Docker_-695x355.png 695w\" sizes=\"auto, (max-width: 1170px) 100vw, 1170px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_Resource_Efficiency\"><\/span>1. Resource Efficiency<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Docker Container shares the host OS Kernel, which then reduces resource overheads. This allows it to execute more containers on the one hardware compared to traditional virtualization.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Scalability\"><\/span>2. Scalability<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Docker makes it simple to scale apps by changing up various containers running the same apps and distributing the load efficiently.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_Portability\"><\/span>3. Portability<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Docker containers encapsulates the dependencies making the applications portable and easily transferable between development, testing, and production environments.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_Isolation\"><\/span>4. Isolation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Every Docker container executes in its isolated environment, which avoids conflicts between dependencies and delivers consistent behavior across several infrastructure.<br \/>\n<div class=\"blog-cta blog-block-1\"><h4>Unaware about .NET Core and Docker? Read the below content.<\/h4><a class=\"btn btn-contact mt-20\" href=\"https:\/\/www.concettolabs.com\/inquiry\">Talk To Our Experts<\/a><\/div><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Docket_Tooling_in_Visual_Studio\"><\/span>Docket Tooling in Visual Studio<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Docker tooling in Visual Studio IDE can assist to develop and add Docker support. This will also support the appropriate Docker file. The user will be able to modify this file and the container and can execute it on the visual studio code executing studio.<\/p>\n<p>During the project development time, ensure whether the \u201cEnable Docker Support\u201d is checked in or not, this will result in enabling docker support for your project.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12786 size-full\" title=\"Docket Tooling in Visual Studio\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/11.png\" alt=\"Docket Tooling in Visual Studio\" width=\"512\" height=\"273\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/11.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/11-300x160.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>The user can also add Dockerfile in the project folder later by using \u201cAdding Docker Support\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12787 size-full\" title=\"Adding Docker Support\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/12.png\" alt=\"Adding Docker Support\" width=\"512\" height=\"271\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/12.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/12-300x159.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>This will request for the option for which OS the user wants to target to execute the Docker. Here you can choose Linux from the available options of Docker commands.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12788 size-full\" title=\"Here you can choose\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/13.png\" alt=\"Here you can choose\" width=\"512\" height=\"301\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/13.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/13-300x176.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Then, this will deliver the DockerFile of the application. This file is similar to commands that are the same as the stepwise instructions on building up the docker image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12789 size-full\" title=\"DockerFile of the application\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/14.png\" alt=\"DockerFile of the application\" width=\"512\" height=\"273\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/14.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/14-300x160.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>This is a multi-stage file of docker, meaning the user can use any base image and also modify it. Then, it will be possible to create a container to develop other container images. The example of the container image will contain the .NET Core SDK which is effective for Linux. This will allow developers to develop an application with a mentioned container but it will also happen that you will not need extra SDK for finalizing your deployment image.<\/p>\n<p>The user must assure that to develop a container image having .NET core SDK. It consists of all the required packages. In the below image it is shown that after selecting the new option DOCKER, Docker support will get automatically added.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12790 size-full\" title=\"Docker support\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/15.png\" alt=\"Docker support\" width=\"512\" height=\"277\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/15.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/15-300x162.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>We will Get Hello World!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12791 size-full\" title=\"We will Get Hello World!\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/16.png\" alt=\"We will Get Hello World!\" width=\"512\" height=\"371\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/16.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/16-300x217.png 300w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/16-490x355.png 490w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Visual Studio will also support debugging by inserting the breakpoint.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12792 size-full\" title=\"inserting the breakpoint.\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/17.png\" alt=\"inserting the breakpoint.\" width=\"512\" height=\"269\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/17.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/17-300x158.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_are_Steps_to_Deploy_a_NET_Core_App_to_Docker_Hub_Using_Visual_Studio_and_Execute_it_in_Azure_App_Service\"><\/span>What are Steps to Deploy a .NET Core App to Docker Hub Using Visual Studio and Execute it in Azure App Service?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"1_Prerequisite\"><\/span>1. Prerequisite<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Initially the user will have to install Docker for Windows before creating a Docker Container. It will also be possible to download and execute the installation files. The user will simply need to login using a Docker hub account.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12793 size-full\" title=\"Docker hub account. \" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/18.png\" alt=\"Docker hub account. \" width=\"512\" height=\"274\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/18.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/18-300x161.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>While installing, there will be various options to choose from Windows\/Linux containers. Here, we will choose Windows Containers. You can also change it later in the Docker Settings.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Containerize_an_Dot_NET_Core_Applications_and_Hosting_the_Image\"><\/span>2. Containerize an Dot NET Core Applications and Hosting the Image<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Creating a New Project. For this process, we will visit the File &gt; New Project &gt; Web &gt; ASP.NET Core web application.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12795 size-full\" title=\"ASP.NET Core Applications and Hosting the Image\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/19.png\" alt=\"ASP.NET Core Applications and Hosting the Image\" width=\"512\" height=\"294\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/19.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/19-300x172.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Here the user can select the checkbox named \u201cEnable Docker Support\u201d or the user can also add a docker file in the project.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12796 size-full\" title=\"Enable Docker Support\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/20.png\" alt=\"Enable Docker Support\" width=\"512\" height=\"286\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/20.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/20-300x168.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>As shown below, it is possible to have a Docker File in the project. This file will contain configuration. Also, it uses OS images to develop the container and execute the application.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12797 size-full\" title=\"container and execute the application. \" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/21.png\" alt=\"container and execute the application. \" width=\"512\" height=\"254\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/21.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/21-300x149.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Check the project and click on publish. Here, we will select container registry and Docker Hub, because we want to place the container on the hub.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12799 size-full\" title=\"container on the hub\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/22.png\" alt=\"container on the hub\" width=\"512\" height=\"351\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/22.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/22-300x206.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Inset Dockerhub username and password. Your username will not be e-mail address.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12800 size-full\" title=\" e-mail address\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/23.png\" alt=\" e-mail address\" width=\"512\" height=\"349\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/23.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/23-300x204.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Now we will publish it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12801 size-full\" title=\"Now we will publish it. \" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/24.png\" alt=\"Now we will publish it. \" width=\"512\" height=\"283\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/24.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/24-300x166.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>The user will now need to login to the Docker Hub Website. This will be the container image published from Visual Studio.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12803 size-full\" title=\"image published from Visual Studio\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/25.png\" alt=\"image published from Visual Studio\" width=\"512\" height=\"215\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/25.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/25-300x126.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Here you will find that the visual studio has added tags that you can use for identification and verification.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12804 size-full\" title=\"use for identification and verification\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/26.png\" alt=\"use for identification and verification\" width=\"512\" height=\"329\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/26.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/26-300x193.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_Use_Azure_App_Service_for_Web_Apps_and_for_Containers_to_Execute_the_Container_Image\"><\/span>3. Use Azure App Service for Web Apps and for Containers to Execute the Container Image<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>From here we will create a new application for Containers. This will be similar to web app like the standard App services web app running containers instead of running an app directly.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12805 size-full\" title=\"Web Apps and for Containers \" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/27.png\" alt=\"Web Apps and for Containers \" width=\"512\" height=\"336\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/27.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/27-300x197.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>An .NET Core app can easily add container support from Visual Studio. Once published, you can run it in Azure or any other Containers Registry with ease.<\/p>\n<p>Let&#8217;s build one. Let&#8217;s complete this form completely. We must first enter a name and resource group.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12806 size-full\" title=\"ASP.NET Core app \" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/28.png\" alt=\"ASP.NET Core app \" width=\"474\" height=\"512\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/28.png 474w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/28-278x300.png 278w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/28-329x355.png 329w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/p>\n<p>Here is the container now. Where the Container originates is up to me. We will pick Docker Hub because that&#8217;s where the container is now located. So we will then add the tag that is the most recent and insert all the information into the container name.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12808 size-full\" title=\"information into the container name.\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/29.png\" alt=\"information into the container name. \" width=\"512\" height=\"269\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/29.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/29-300x158.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>This is a web application for containers that is operating inside of a container that also contains an .NET Core application. Let&#8217;s check the URL now to see if it functions.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12809 size-full\" title=\"ASP.NET Core application\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/30.png\" alt=\"ASP.NET Core application\" width=\"512\" height=\"264\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/30.png 512w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/30-300x155.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Here, you will check execution in the container.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>ASP.NET Core and Docker are the duo that will empower development with the various tools. The integration of .NET Core and Docker will boost a DevOps culture, enhance collaboration between development and operations teams and will enable agile development practices. As the demand for scalable, powerful and maintainable applications increases, the integration between these two technologies will play an important role. So contact <a href=\"https:\/\/www.concettolabs.com\/asp-net-core-development\"><strong>.NET Core App Development<\/strong><\/a> <span style=\"font-weight: 400;\">Firm<\/span> to empower this combination and let your .NET Core applications get a new height.<br \/>\n<div class=\"blog-cta blog-block-12 text-center\"><h4>Looking for Various web Development Services?<\/h4><p><\/p><a class=\"btn btn-contact mt-20\" href=\"https:\/\/www.concettolabs.com\/inquiry\">Contact our Developers Now!<\/a><\/div><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#What_is_ASPNET_Core\" >What is ASP.NET Core?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#What_are_the_Features_of_ASPNET_Core\" >What are the Features of ASP.NET Core?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#1_Cross-platform_Compatibility\" >1. Cross-platform Compatibility<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#2_MVC_and_Web_APIs\" >2. MVC and Web APIs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#3_High_Performance\" >3. High Performance<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#4_Scalability\" >4. Scalability<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#What_is_Docker\" >What is Docker?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#What_are_the_Features_of_Docker\" >What are the Features of Docker?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#1_Resource_Efficiency\" >1. Resource Efficiency<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#2_Scalability\" >2. Scalability<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#3_Portability\" >3. Portability<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#4_Isolation\" >4. Isolation<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#Docket_Tooling_in_Visual_Studio\" >Docket Tooling in Visual Studio<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#What_are_Steps_to_Deploy_a_NET_Core_App_to_Docker_Hub_Using_Visual_Studio_and_Execute_it_in_Azure_App_Service\" >What are Steps to Deploy a .NET Core App to Docker Hub Using Visual Studio and Execute it in Azure App Service?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#1_Prerequisite\" >1. Prerequisite<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#2_Containerize_an_Dot_NET_Core_Applications_and_Hosting_the_Image\" >2. Containerize an Dot NET Core Applications and Hosting the Image<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#3_Use_Azure_App_Service_for_Web_Apps_and_for_Containers_to_Execute_the_Container_Image\" >3. Use Azure App Service for Web Apps and for Containers to Execute the Container Image<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#Final_Thoughts\" >Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n","protected":false},"excerpt":{"rendered":"<p>ASP.NET Core and Docker are the two technologies that simplify deployment, enhances scalability, and ensures consistency. In this blog, we will check the benefits of .NET Core and Docker technologies. Also, understand why the combination of both the technologies is a powerful choice for web development. What is ASP.NET Core? ASP.NET Core is an open-source, [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":12816,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[186,146],"tags":[],"class_list":["post-12784","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-asp-net","category-web"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Introduction to ASP.NET Core vs Docker<\/title>\n<meta name=\"description\" content=\"ASP.NET Core and Docker are the duo that will empower development with the various tools. key facets of creating an application using DotNET Core and Docker integration.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introduction to ASP.NET Core vs Docker\" \/>\n<meta property=\"og:description\" content=\"ASP.NET Core and Docker are the duo that will empower development with the various tools. key facets of creating an application using DotNET Core and Docker integration.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Concetto Labs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/concettolabs\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-09T13:53:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-04T11:00:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/Introduction-to-ASP.NET-Core-and-Docker.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1170\" \/>\n\t<meta property=\"og:image:height\" content=\"598\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Tejas Patel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@concettolabs\" \/>\n<meta name=\"twitter:site\" content=\"@concettolabs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tejas Patel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/\"},\"author\":{\"name\":\"Tejas Patel\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/aa44058e26a37aa7490e92bba403dac8\"},\"headline\":\"Introduction to ASP.NET Core and Docker\",\"datePublished\":\"2023-08-09T13:53:44+00:00\",\"dateModified\":\"2025-02-04T11:00:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/\"},\"wordCount\":1166,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/Introduction-to-ASP.NET-Core-and-Docker.png\",\"articleSection\":[\"ASP.NET\",\"Web Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/\",\"name\":\"Introduction to ASP.NET Core vs Docker\",\"isPartOf\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/Introduction-to-ASP.NET-Core-and-Docker.png\",\"datePublished\":\"2023-08-09T13:53:44+00:00\",\"dateModified\":\"2025-02-04T11:00:16+00:00\",\"description\":\"ASP.NET Core and Docker are the duo that will empower development with the various tools. key facets of creating an application using DotNET Core and Docker integration.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#primaryimage\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/Introduction-to-ASP.NET-Core-and-Docker.png\",\"contentUrl\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/Introduction-to-ASP.NET-Core-and-Docker.png\",\"width\":1170,\"height\":598,\"caption\":\"Introduction to ASP.NET Core and Docker\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.concettolabs.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introduction to ASP.NET Core and Docker\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#website\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/\",\"name\":\"Blog Concetto Labs\",\"description\":\"Microsoft Power Platform &amp; Mobile App Development Company\",\"publisher\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#organization\"},\"alternateName\":\"Concetto Labs\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.concettolabs.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#organization\",\"name\":\"Concetto Labs\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/04\/c-logo.png\",\"contentUrl\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/04\/c-logo.png\",\"width\":150,\"height\":150,\"caption\":\"Concetto Labs\"},\"image\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/concettolabs\",\"https:\/\/x.com\/concettolabs\",\"https:\/\/www.instagram.com\/concettolabs\/\",\"https:\/\/www.linkedin.com\/company\/concetto-labs-private-limited\",\"https:\/\/in.pinterest.com\/concettolabs\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/aa44058e26a37aa7490e92bba403dac8\",\"name\":\"Tejas Patel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/03\/tejas-96x96.jpg\",\"contentUrl\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/03\/tejas-96x96.jpg\",\"caption\":\"Tejas Patel\"},\"description\":\"Tejas Patel is a Co-Founder of Concetto Labs and he have 18+ years of technical experience in building high quality and scalable Web &amp; Mobile Applications.\",\"sameAs\":[\"https:\/\/www.concettolabs.com\",\"https:\/\/www.linkedin.com\/in\/tejas-patel-52051615\/\"],\"url\":\"https:\/\/www.concettolabs.com\/blog\/author\/tejas-patel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Introduction to ASP.NET Core vs Docker","description":"ASP.NET Core and Docker are the duo that will empower development with the various tools. key facets of creating an application using DotNET Core and Docker integration.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/","og_locale":"en_US","og_type":"article","og_title":"Introduction to ASP.NET Core vs Docker","og_description":"ASP.NET Core and Docker are the duo that will empower development with the various tools. key facets of creating an application using DotNET Core and Docker integration.","og_url":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/","og_site_name":"Blog Concetto Labs","article_publisher":"https:\/\/www.facebook.com\/concettolabs","article_published_time":"2023-08-09T13:53:44+00:00","article_modified_time":"2025-02-04T11:00:16+00:00","og_image":[{"width":1170,"height":598,"url":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/Introduction-to-ASP.NET-Core-and-Docker.png","type":"image\/png"}],"author":"Tejas Patel","twitter_card":"summary_large_image","twitter_creator":"@concettolabs","twitter_site":"@concettolabs","twitter_misc":{"Written by":"Tejas Patel","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#article","isPartOf":{"@id":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/"},"author":{"name":"Tejas Patel","@id":"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/aa44058e26a37aa7490e92bba403dac8"},"headline":"Introduction to ASP.NET Core and Docker","datePublished":"2023-08-09T13:53:44+00:00","dateModified":"2025-02-04T11:00:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/"},"wordCount":1166,"commentCount":0,"publisher":{"@id":"https:\/\/www.concettolabs.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/Introduction-to-ASP.NET-Core-and-Docker.png","articleSection":["ASP.NET","Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/","url":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/","name":"Introduction to ASP.NET Core vs Docker","isPartOf":{"@id":"https:\/\/www.concettolabs.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#primaryimage"},"image":{"@id":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/Introduction-to-ASP.NET-Core-and-Docker.png","datePublished":"2023-08-09T13:53:44+00:00","dateModified":"2025-02-04T11:00:16+00:00","description":"ASP.NET Core and Docker are the duo that will empower development with the various tools. key facets of creating an application using DotNET Core and Docker integration.","breadcrumb":{"@id":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#primaryimage","url":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/Introduction-to-ASP.NET-Core-and-Docker.png","contentUrl":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2023\/08\/Introduction-to-ASP.NET-Core-and-Docker.png","width":1170,"height":598,"caption":"Introduction to ASP.NET Core and Docker"},{"@type":"BreadcrumbList","@id":"https:\/\/www.concettolabs.com\/blog\/asp-net-core-and-docker\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.concettolabs.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Introduction to ASP.NET Core and Docker"}]},{"@type":"WebSite","@id":"https:\/\/www.concettolabs.com\/blog\/#website","url":"https:\/\/www.concettolabs.com\/blog\/","name":"Blog Concetto Labs","description":"Microsoft Power Platform &amp; Mobile App Development Company","publisher":{"@id":"https:\/\/www.concettolabs.com\/blog\/#organization"},"alternateName":"Concetto Labs","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.concettolabs.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.concettolabs.com\/blog\/#organization","name":"Concetto Labs","url":"https:\/\/www.concettolabs.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.concettolabs.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/04\/c-logo.png","contentUrl":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/04\/c-logo.png","width":150,"height":150,"caption":"Concetto Labs"},"image":{"@id":"https:\/\/www.concettolabs.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/concettolabs","https:\/\/x.com\/concettolabs","https:\/\/www.instagram.com\/concettolabs\/","https:\/\/www.linkedin.com\/company\/concetto-labs-private-limited","https:\/\/in.pinterest.com\/concettolabs\/"]},{"@type":"Person","@id":"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/aa44058e26a37aa7490e92bba403dac8","name":"Tejas Patel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/03\/tejas-96x96.jpg","contentUrl":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/03\/tejas-96x96.jpg","caption":"Tejas Patel"},"description":"Tejas Patel is a Co-Founder of Concetto Labs and he have 18+ years of technical experience in building high quality and scalable Web &amp; Mobile Applications.","sameAs":["https:\/\/www.concettolabs.com","https:\/\/www.linkedin.com\/in\/tejas-patel-52051615\/"],"url":"https:\/\/www.concettolabs.com\/blog\/author\/tejas-patel\/"}]}},"_links":{"self":[{"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/posts\/12784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/comments?post=12784"}],"version-history":[{"count":21,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/posts\/12784\/revisions"}],"predecessor-version":[{"id":16189,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/posts\/12784\/revisions\/16189"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/media\/12816"}],"wp:attachment":[{"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/media?parent=12784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/categories?post=12784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/tags?post=12784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}