Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Blazor templates for ASP.NET Core 2.1 #16282

Closed
danroth27 opened this issue Mar 29, 2018 · 8 comments
Closed

Add Blazor templates for ASP.NET Core 2.1 #16282

danroth27 opened this issue Mar 29, 2018 · 8 comments
Labels
area-blazor Includes: Blazor, Razor Components

Comments

@danroth27
Copy link
Member

Looks like there is quite a bit of drop off in the number of people that successfully create a Blazor template after getting the VSIX. One hypothesis is that they can't find the templates. Currently the Blazor templates only show up if you select .NET Core and ASP.NET Core 2.0 in the "New ASP.NET Core Web Application" dialog. It would help if the Blazor templates showed up when the .NET Framework is selected and for ASP.NET Core 2.1.

@redowl3
Copy link

redowl3 commented Mar 30, 2018

I would guess it's more to do with whether Blazor moves from experimental to supported. If MSFT would hurry up and confirm it's going ahead you would get more usage.

@chrissainty
Copy link
Contributor

@danroth27 I'm happy to have a go at this one. Is it just a case of updating the various json files in the .template.config folders for each of the two templates and the .csproj files?

@danroth27
Copy link
Member Author

We think so, but we'll have to test to make sure. Feel free to have a go at it!

@chrissainty
Copy link
Contributor

I'm about there with the changes. I've just got one question. In the BlazorHosted.CSharp.Server.csproj file the project is targeting netstandard2.0 and not netcoreapp2.0 is there a specific reason for this?

@danroth27
Copy link
Member Author

@chrissainty The server project is an ASP.NET Core project that runs on .NET Core, so it targets netcoreapp2.0. The client project is a Blazor app, which currently should target netstandard2.0.

@chrissainty
Copy link
Contributor

chrissainty commented Apr 2, 2018

@danroth27 Apologies my copy of that file was targeting netstandard2.0 not netcoreapp2.0 hence the question. Not sure how that happened, I'll get it updated.

@danroth27
Copy link
Member Author

@SteveSandersonMS I think this one is done, correct?

@mkArtakMSFT mkArtakMSFT transferred this issue from dotnet/blazor Oct 27, 2019
@mkArtakMSFT mkArtakMSFT added the area-blazor Includes: Blazor, Razor Components label Oct 27, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

No branches or pull requests

4 participants