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 #94

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

liborpansky
Copy link
Contributor

@liborpansky liborpansky commented 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.

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

Successfully merging this pull request may close these issues.

1 participant