Skip to content

Stephany Batista Posts

.Net Comand Line Interface (CLI), create a project by terminal

.Net Command Line Interface (CLI) is a new tool essential for development in ASP.NET Core. What do I mean by “essential?” Simple, any person or tool that wants to develop in the new platform of Microsoft must use this tool. It is the first layer of development. The Visual Studio (VS) uses the .Net CLI to build, publish, run and other things. .Net CLI also is cross-platform, that is, it can run in Windows, Apple and Linux and to start with it you must download your distribuition to your SO.

.Net CLI (Command Line Interface), crie um projeto pelo terminal

.Net CLI (Command Line Interface) é a nova ferramenta essencial para desenvolvimento no ASP.NET Core, o que quer dizer com essencial? Simples, qualquer pessoa que queira desenvolver na nova plataforma da Microsoft deve utilizar essa ferramenta. O Visual Studio (VS) utiliza o .Net CLI para build, publish, run e entre outros. .Net CLI também é cross-platform, isso é, pode rodar em windows, apple e linux e para iniciar basta baixar a distribuição certa para o seu sistema operacional em https://github.com/dotnet/cli.

Startup.cs Class In ASP.NET Core, where the configuration start

Startup.cs class in ASP.NET Core was changed and now it is clearer and divided in better sections. This is my opinion. The first thing that we have to understand: what is it for? How is it run? I begin the answer that this class is intended to be the initial point of project, by default the class called Startup is initialized by configuration of host, I am going to explain later. In this class is initialized all configurations needed to the project and now I am going to show so you can understand better.