Last time I described project and technologies I plan to use for TeamScreen – especially ASP.NET Core. Today I’ll start with some code – initial project creation. I’ll be using Visual Studio 2017 Release Candidate, so keep in mind some screens may differ with normal version.
First new thing that you’ll encounter even before you’ll start using new VS is the new installer:
In my opinion much better than in previous versions, because it allows us to be more flexible. Personally for example I haven’t touched C++ in like 5 or 6 years, so it’s good for me, that I won’t have all C++ related services installed on my computer to slow down Visual Studio even more 🙂 Joking aside I believe right now VS is much more performant than it was few years ago and I really love all the updates that led to that 🙂
For the purpose of TeamScreen project we’ll need ASP.NET and web development workload and .NET Core cross-platform development, so we check those, click next and wait till installer do his job.
Okay, okay 🙂 it’s not that bad! It takes around 20mins – so you have a great occasion for tea or coffee break 🙂 We start Visual Studio 2017 and we see new title screen, with small improvements over the predecessors:
Option that is most interesting for us at the moment is new project hiding underneath the More project templates link.
Here we choose ASP.NET Core Web Application (.NET Core) – dropdown with framework versions isn’t applicable for us.
On next window we choose Web Application and we’re changing authentication to Individual User Accounts. This way we’ll have standard account authentication with necessary libraries and basic implementation. Authentication will be important later in project lifecycle, at a moment it’s a placeholder for the future. On this screen we also have possibility to Enable Docker Support. As I mentioned in the introduction post learning and using docker in this project is one of the bonus objectives, so it’s possible we’ll return to this later in the series, for now we just press OK to create project. When project is created we for the first time check if everything is working by pressing F5:
And it’s indeed working, we have initial web page created by Visual Studio creator. Hope you liked reading and see you next time 🙂
PS. Here you can find follow-up to this post where I describe actual content of empty ASP.NET Core project.