Skip to content

Conversation

@jupre003
Copy link
Owner

@jupre003 jupre003 commented Dec 6, 2025

This pull request introduces several improvements focused on modernizing the build and release workflows, updating project configuration to .NET 8, and adding documentation and licensing information. The changes enhance cross-platform compatibility, streamline the NuGet publishing process, and introduce a new Razor extension package.

Build and Release Workflow Modernization:

  • Updated GitHub Actions workflows to use matrix builds for both Windows and Ubuntu, upgraded actions to latest versions, switched to .NET 8, and improved restore/build/test steps for BuildFromDevelop.yml and BuildFromMaster.yml. [1] [2]
  • Refactored the release workflow to use native dotnet pack and dotnet nuget push commands for publishing, replacing the previous third-party NuGet action. This also targets .NET 8 and improves artifact handling.

Project Configuration and New Package:

  • Added a new project file MbSoftLab.TemplateEngine.Core.Razor.csproj for the Razor extension, targeting .NET 8 and referencing RazorEngineCore and the core engine. Includes metadata for NuGet packaging.
  • Added a basic implementation of RazorTemplateEngine<T> in RazorTemplateEngine.cs, enabling Razor-based template rendering integrated with the core engine.

Documentation and Licensing:

  • Added a comprehensive German changelog in CHANGELOG.md, detailing recent features, technical details, and workflow updates.
  • Added an MIT license file to the repository to clarify usage and distribution rights.
  • Added a README for the Razor extension package with installation and usage examples.
  • Added an XML documentation stub for the Razor extension assembly.

Test Project Updates:

  • Updated the test project to target .NET 8, refreshed test dependencies, added a reference to the new Razor extension, and included a sample JSON data file for output. [1] [2]

jupre003 and others added 30 commits December 25, 2020 15:13
* TE-1 Added Extension Methods for reading data from JSON

* TE-1   Update Readme for v1.0.8-preview

* TE-1 Renamed Method CreateStringFromTemplateWithJson

* TE-1 Renamed Tests

* TE-1 Update AssemblyVersion and FileVersion
* TE-8 Extract interface for TemplateEngine<T> (ITemplateEngine<T>)

* TE-13 Implemented wrapper for RazorEngineCore 

* TE-13 Added UnitTests for RazorTemplateEngine

* TE-13  BugFixes and add ToDos

* Add NuGet official package source in Workflows
…n; modernisierte Programmlogik auf TopLevelStatements
…trategie für plattformübergreifende Builds
…n und ersetze sie durch dotnet pack und dotnet nuget push
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jupre003 <50733221+jupre003@users.noreply.github.com>
…re (#12)

* Add Razor support as an optional extension to TemplateEngine.Core

- Introduced MbSoftLab.TemplateEngine.Core.Razor project with RazorTemplateEngine implementation.
- Updated project references in existing projects to include the new Razor extension.
- Removed Razor dependencies from core classes and adjusted documentation to reflect optional usage.
- Enhanced README and other documentation files to guide users on installing and using the Razor extension.

* Disable package cache and specify solution file for restore, build, and test steps in CI workflows
@jupre003 jupre003 merged commit 1ed129c into master Dec 6, 2025
4 checks passed
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.

2 participants