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

Remove server side rendering functionalities #496

Open
3 of 5 tasks
Kaliumhexacyanoferrat opened this issue May 31, 2024 · 0 comments · May be fixed by #500
Open
3 of 5 tasks

Remove server side rendering functionalities #496

Kaliumhexacyanoferrat opened this issue May 31, 2024 · 0 comments · May be fixed by #500
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Kaliumhexacyanoferrat
Copy link
Owner

Kaliumhexacyanoferrat commented May 31, 2024

As a developer of web applications, I would like to use JS based frontend technologies for UI (via SPAs) as well as a simple backend layer, so that I can quickly create feature rich apps.

Currently, the GenHTTP server framework features a path for server-side rendering of websites. This functionality creates some complexity within the server code (e.g. GetContent() and loads of routing logic) but is merely used.

Therefore, all capabilities for server-side rendering are now considered deprecated and will be removed with version 9 released together with .NET 9 end of 2024.

This will allow future development to focus on much-needed features such as OpenAPI integration or JWT authentication.

This change induces the removal of the following modules:

  • Authentication.Web
  • AutoReload
  • Pages
  • Razor, Scriban, Markdown
  • Robots
  • Minification
  • Sitemaps
  • Websites
  • All of the GenHTTP.Themes

The changes will be done in an additional branch to allow features to be added to master as long as possible.

Steps and roadmap

  • Update the readme, nuget packages, templates, themes and website to reflect the deprecated state
  • Create the new branch and remove the functionality
  • Create new documentation branches having the old functionality already removed from the website
  • Merge the removal into master
  • Release the changes alongside .NET 9 support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant