Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

missing “ASP.NET Core Web Application (.NET Core)” template

I am trying to develop a ASP.NET Core application. I tried following the documentation (for example this tutorial), but I fail to find the ASP.NET Core template. The dialog that should contain it looks like that instead: the new project dialog.

I am using Microsoft Visual Studio Enterprise 2015 Version 14.0.25431.01 Update 3, and installed the Microsoft .NET Core 1.0.1 VS 2015 Tooling Preview 2 (I have also repaired and reinstalled it, without success).

like image 694
Jannis Froese Avatar asked Nov 26 '16 23:11

Jannis Froese


People also ask

Is .NET Core discontinued?

That said, Microsoft will end long-term support for the most recent release of Core (3.1. 7) around December 2022 and has just announced that . NET Core 2.1 will reach EOS on 21 August 2021, so you should still begin at least planning your migration.

Is ASP.NET Core same as .NET Core?

Asp.net Core is a new version of Asp.net released by Microsoft. It is an open-source used to develop a web framework and can be executed with different browsers like Windows, Mac or Linux. ASP.Net Core is a new version of asp.net. It is a free open source which can run on different OS like Mac, Windows and Linux.

Does .NET Core have web forms?

ASP.NET Web Forms isn't supported in ASP.NET Core (nor are ASP.NET Web Pages). Typically, the functionality of these pages must be rewritten when porting to ASP.NET Core. There are, however, some strategies you can apply before or during such migration to help reduce the overall effort required.


2 Answers

Ensure you have the Microsoft Web Development Tools installed which you can find in the Visual Studio installer under Windows and Web Development

Once installed, start up Visual Studio and check your templates again and you should see the ASP.NET Core templates.

Update

Per the comment below,

For those who already had visual studio 2015+ installed but didn't add the feature during the inital installation, you have to download the main visual studio installer and modify its features

like image 164
ColinM Avatar answered Oct 26 '22 20:10

ColinM


Tools > Options > Environment > Preview Features > Checked Use previews of the .NET Core SDK and UnChecked Showw all .NET Core templates in the New project dialog... then restart visual studio.

like image 36
doVa Avatar answered Oct 26 '22 20:10

doVa