Add ASP.NET Core MVC template for Tauri applications#890
Open
Taiizor wants to merge 5 commits intotauri-apps:devfrom
Open
Add ASP.NET Core MVC template for Tauri applications#890Taiizor wants to merge 5 commits intotauri-apps:devfrom
Taiizor wants to merge 5 commits intotauri-apps:devfrom
Conversation
Introduced a new ASP.NET template for project scaffolding, including necessary files and configurations. Updated the template matrix, README files, and package manager logic to support the new template. This addition enables developers to scaffold ASP.NET projects with Tauri integration.
Moved 'aspnet.svg' from '_assets_' to 'src/wwwroot/img' in the ASP.NET template and updated the .manifest file to reflect the new location. This improves the organization of template assets.
Updated appsettings.Development.json and appsettings.json to include Kestrel HTTP endpoint configuration with URL 'http://*:1420'. This change ensures consistent endpoint settings for the application.
The Privacy action method was removed from HomeController as it is no longer used. This helps to clean up the code and improve maintainability.
Deleted appsettings.Development.json and appsettings.json from the ASP.NET template. These files may have been removed to avoid hardcoding configuration or to centralize settings management.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a new ASP.NET Core MVC template for Tauri applications, similar to the existing Blazor template. This enables developers to create desktop applications with Tauri using ASP.NET Core MVC as the frontend framework.
Features
Why ASP.NET Core MVC?
While Blazor offers a modern component-based approach, many developers still prefer the MVC pattern for web applications. This template provides another option for .NET developers who want to leverage their existing MVC knowledge while building Tauri desktop applications.
Implementation Details
Testing
The template has been tested with various project names and builds correctly in both development and production modes.