tryphotino / photino.NET

https://tryphotino.io
Apache License 2.0
833 stars 68 forks source link

Photino blazor template #155

Closed josago97 closed 5 months ago

josago97 commented 7 months ago

Hello, would it be possible to add a Visual Studio Community template to create applications with photino and Blazor? Thank you

MikeYeager commented 7 months ago

We do have a set of VS project templates for all of our samples EXCEPT Blazor as well as project templates you can use from the dotnet CLI. They are currently a little out of date (it's on our list), but you can update the NuGet references manually. The VS templates can be found here https://github.com/tryphotino/PhotinoSamples.VSExtension and the CLI templates here https://github.com/tryphotino/PhotinoSamples.VSCodeTemplates. For Blazor, we recommend copying the Sample app from the Photino.Blazor repo https://github.com/tryphotino/photino.Blazor (download the repo as a .zip file) to a local folder. We are considering adding better support for Blazor now that Microsoft has made some advancements with .NET8 and that would include adding the Blazor sample to the other samples and creating a project template for it.

josago97 commented 7 months ago

Yes please, although you can now download the example project and modify it, a template for VS would be much more convenient. Thank you.

josago97 commented 5 months ago

We do have a set of VS project templates for all of our samples EXCEPT Blazor as well as project templates you can use from the dotnet CLI. They are currently a little out of date (it's on our list), but you can update the NuGet references manually. The VS templates can be found here https://github.com/tryphotino/PhotinoSamples.VSExtension and the CLI templates here https://github.com/tryphotino/PhotinoSamples.VSCodeTemplates. For Blazor, we recommend copying the Sample app from the Photino.Blazor repo https://github.com/tryphotino/photino.Blazor (download the repo as a .zip file) to a local folder. We are considering adding better support for Blazor now that Microsoft has made some advancements with .NET8 and that would include adding the Blazor sample to the other samples and creating a project template for it.

I would like to help add a template to create projects with Blazor, however, I have entered both repositories that you indicated but it turns out that they no longer exist.

ottodobretsberger commented 5 months ago

@josago97 the repository visibility was private. I have changed it to public and you should be able to see those repos now.

josago97 commented 4 months ago

I have created a PR to add a template for Blazor in the .NET 8 version for Visual Studio, so that you can review it and, if appropriate, include it.