Welcome to the TechNet Wiki Tuesday – TNWiki Article Spotlight.
This is my first blog post for 2018,This New Year, I'm starting the blog post by picking an interesting article for Tuesday Spotlight.Today in this blog post we will see about ASP.NET Core 2.0 and Docker on MacOS by Vincent Maverick Durano
This article explains in detail about getting started with ASP.NET Core 2.0 and Docker for Mac OS.
We all know that as ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-based, Internet-connected applications. With ASP.NET Core, we can:
- Build web apps and services, IoT apps, and mobile backends.
- Use your favorite development tools on Windows, macOS, and Linux.
- Deploy to the cloud or on-premises
- Run on .NET Core or .NET Framework.
We have been developing ASP.NET for Windows OS but now by using ASP.NET Core we can develop applications for Windows, macOS, and Linux.There are only few articles which explains how to create ASP.NET core applications other than Windows OS.Vincent Maverick Durano has explained in detail about how to work with ASP.NET Core 2.0 and Docker on Mac OS.
What is Docker:
Docker is an open-source project for automating the deployment of applications as portable, self-sufficient containers that can run on the cloud or on-premises. Docker works in collaboration with cloud, Linux, and Windows vendors, including Microsoft. Click here to know more about Docker.
If you want to work with Docker then you should also be need to know as what is Docker containers, images, and registries.
When using Docker, a developer creates an app or service and packages it and its dependencies into a container image. An image is a static representation of the app or service and its configuration and dependencies.Click here to know more about Docker containers, images, and registries.
Vincent Maverick Durano has explained in detail with step by step explanation starting from Prerequisites needed to be installed till test and running ASP.NET Core 2.0 application using Docker on Mac OS
In this article you can learn
- Prerequisites needed to be installed.
- Docker Images for .NETCore 2.0 and ASP.NET Core 2.0
- Running the Project for the First Time
- Let's Get Going!
- Adding a Docker File
- Integrating EF Core and PostgreSql
- Creating the Application
- Setting Up a Database ConnectionString
- Creating a Model
- Defining a DbContext
- Registering Services with Dependency Injection
- Adding Migrations
- Creating a Web API Controller
- Running the Application on Docker
- Testing the Web API Endpoints
I believe this article will be a great feast for all who is looking to work with ASP.NET Core 2.0 and Docker on MacOS and don't miss to read this article from here ASP.NET Core 2.0 and Docker on MacOS by Vincent Maverick Durano I hope you all enjoy reading his article.
See you all soon in another blog post.
PS: Today’s banners come from Ousama El Hor .
Thank you all.