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

Migrate to .NET 6? #83

Open
markcouvaras opened this issue May 17, 2022 · 5 comments
Open

Migrate to .NET 6? #83

markcouvaras opened this issue May 17, 2022 · 5 comments

Comments

@markcouvaras
Copy link

Hi,

Hope you are all well?

Just wanted to say that I really find your template useful and very grateful for your time and effort maintaining it.

Could you please let me know if there are any plans to upgrade the project to .NET 6 as it will have Long Term Support (LTS) as opposed to .NET 5.

Thanks

@liborpansky
Copy link
Contributor

Hi, I'm happy you find it useful 🥳

I'm definitely going to add .NET 6 support, I already had some branch parked somewhere, but I didn't find enough time to finish it yet. There were some modifications to Angular and React templates in the latest version, and I didn't have enough time to port it also to the Vue structure.

I will try to give a bit more priority to the task, it's been released more than 6 months ago 💪

@markcouvaras
Copy link
Author

That is great news @liborpansky and I hope you can find the time.

Keep up the good work 👍

@pomeara
Copy link

pomeara commented Jun 19, 2022

I just updated it myself in the .csproj when I pulled it out

image

Am I missing anything here?

@liborpansky
Copy link
Contributor

If you check the new SPA templates, there were some structural modifications and client and server separations, it's not just about the target framework.

@liborpansky
Copy link
Contributor

@pomeara You can find more info about it here.

liborpansky added a commit that referenced this issue Oct 1, 2024
Related to #83

Migrate the project to .NET 6 and update the project structure to reflect the new SPA template structure.

* **`AspNetCoreVueStarter.csproj`**
  - Update the `TargetFramework` to `net6.0`.
  - Update the `PackageReference` for `Microsoft.AspNetCore.SpaServices.Extensions` to version `6.0.0`.
  - Update the `PackageReference` for `VueCliMiddleware` to version `6.0.0`.

* **`README.md`**
  - Update references from ASP.NET Core 5.0 to ASP.NET Core 6.0.
  - Update instructions to reflect the new SPA template structure.

* **`Program.cs`**
  - Update the `CreateHostBuilder` method to use `WebApplication.CreateBuilder` and `WebApplication` for .NET 6.
  - Update the `Main` method to use `builder.Build().Run()` for .NET 6.
  - Add configuration for `AddControllersWithViews` and `AddSpaStaticFiles`.
  - Add routing and endpoint configuration.
  - Add SPA configuration for development and production environments.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/SoftwareAteliers/asp-net-core-vue-starter/issues/83?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants