Creating ASP.NET Core project in Visual Studio 2017

Creating ASP.NET Core project in Visual Studio 2017

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.

2 thoughts on “Creating ASP.NET Core project in Visual Studio 2017

  1. I’m still thinking about using .NET Core for my project, but after experiences from last year it’s still hard to trust that this platform is stable and won’t require major changes in my application with each update or release 😛

    So I’ll continue to follow the blog and see what experiences you have with VS2017 and .NET Core before stepping into it 🙂

  2. buli, I had similar experiences with .NET Core before :/ At this point with the release of VS 2017 I really hope that .Net Core is stable enough to work with it. We’ll see if Microsoft surprise us 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *