Tags: cajuncoding/PdfTemplating.XslFO
Tags
- Update dependencies to resolve issues with Vulnerabilities and Depr… …ecated versions. - Breaking Change: Updated to use System.Text.Json instead of Newtonsoft.Json which mainly impacts the ApacheFOPServerlessApiException class and client code that may attempt to use the raw Json for interrogation of errors.
ApacheFOP.Serverless project: eliminate unnecessary dependency on Mic… …rosoft.AspNetCore.WebUtilities since Flurl also offers the needed functionality. XslFO.Razor.AspNetMvc project: WIP...updating project to run with with latest Flurl, depdendencies, etc. (Still failing).
- Error handling improvements to now wrap FlurlHttpExceptions as new … …ApacheFOPServerlessApiException class (potentially breaking change); which now encapsulates and abstracts the main exception while providing more details including request payload, and automatically parsing the response error message from the response body. - Fix bug rendering Footer in Sample AspNetCore app.
Merge branch 'master' of https://github.com/cajuncoding/PdfTemplating… ….XslFO # Conflicts: # PdfTemplating.Common/PdfTemplating.XslFO.Common.csproj # PdfTemplating.XslFO.Razor.AspNetCoreMvc/PdfTemplating.XslFO.Razor.AspNetCoreMvc.csproj # PdfTemplating.XslFO.Razor.AspNetMvc/PdfTemplating.XslFO.Razor.AspNetMvc.csproj # PdfTemplating.XslFO.Render.ApacheFOP.Serverless/PdfTemplating.XslFO.Render.ApacheFOP.Serverless.csproj # PdfTemplating.XslFO.Render.Fonet/PdfTemplating.XslFO.Render.Fonet.csproj # PdfTemplating.XslFO.Xslt/PdfTemplating.XslFO.Xslt.csproj
Feature/rewrite apachefop serverless client with flurl (#14) * WIP: Project is compiling now with primary views and code updated, but pending full testing... currently can't find the View (likely due to using virtual path ~/). * .ConfigureAwait(false) cleanup * Fixed View Find/Get methods and improved logic stability (try to find the view in all possible places. Added support to customize the web app root location, but defaults to Directory.GetCurrentDirectory() which appears to work well also (at least when running locally). * Full working version of AspNetCore MVC! Tested and working for both Razor & Xslt! Also finished some code cleanup, enhancements and improvements for flexibility -- and in some cases simplified/streamlined. And ensured compatibility with the original Asp.NET MVC library so they are relatively close in functionality; but inevitably different as many things work very differently in AspNetCore. Finished support for configuring View search paths manually at app startup, but also provided decent built in default paths so this is likely not necessary in most cases. * Fix backwards compatible shim (missing inheritance). Restore Nuspec for .Net 4.8 project deployment to Nuget. * Migrated PdfTemplating.XslFO.Razor.AspNet to new SDK style project, and updated to support publishing to Nuget via GitHub action. Re-tested and verified fully functioning sample applications. General namespaces, naming, typo cleanups, etc. * Migrated PdfTemplating.XslFO.Razor.AspNet to new SDK style project, and updated to support publishing to Nuget via GitHub action. Re-tested and verified fully functioning sample applications. General namespaces, naming, typo cleanups, etc. Nuget updates to publish new versions & other configuration cleanup. * Config update. * Factored out the Movie search logic into shared library and removed/elimnated dependencies on RESTSharp as this now uses Flurl. Resolved risks/issues with netstandard20 libraries not resolving all dependencies when used with .NET Framework apps (e.g. net48 - Asp.NET MVC Sample app). Clean up old project physical files now that new SDK project is working as expected. Additional project structure cleanup; removing old PublishToNuget Build configuration, Nuget package details updated, etc. * WIP: Initial draft of rewritten ApacheFOP.Serverless client * Fixed and initial testing complete. Completely removed dependencies on RESTSharp, and fixed issues with Exception handling in the Controllers. Removed and invalidated Tokens accidentally committed into Console app. WIP: Implement proper handling of Event Log Encoding, to support GZipped Log response. * Implemented support for GZIP encoded EventLog in the Response. * Refactor Interfaces to be DI friendly so that ApacheFOPServerlessPdfRenderService can be used with DI if desired. This is a breaking change to the interfaces and therefore will be a new version once testing is complete. Fixed various issues with Exceptions serializing to Json, fixed package reference problems with Newtonsoft.json & System.Drawing. Renamed Xslt base template renderer to be consistent with Razor now since we have other breaking changes, etc. * Implemented true DI for ApacheFOPServerlessPdfRenderService in the Asp.NET Core project. Added initial draft for ImageConversion support... WIP! * - Factor out image conversion into separate branch for possible future implementation. - Update and simplify constructor for Options. - Project cleanup and resolve version conflict errors. * Update Project to v3.0.0 and target .Net6 directly in preparation for Nuget deploy.
Feature/add asp net core implementation (#11) * WIP: Project is compiling now with primary views and code updated, but pending full testing... currently can't find the View (likely due to using virtual path ~/). * .ConfigureAwait(false) cleanup * Fixed View Find/Get methods and improved logic stability (try to find the view in all possible places. Added support to customize the web app root location, but defaults to Directory.GetCurrentDirectory() which appears to work well also (at least when running locally). * Full working version of AspNetCore MVC! Tested and working for both Razor & Xslt! Also finished some code cleanup, enhancements and improvements for flexibility -- and in some cases simplified/streamlined. And ensured compatibility with the original Asp.NET MVC library so they are relatively close in functionality; but inevitably different as many things work very differently in AspNetCore. Finished support for configuring View search paths manually at app startup, but also provided decent built in default paths so this is likely not necessary in most cases. * Fix backwards compatible shim (missing inheritance). Restore Nuspec for .Net 4.8 project deployment to Nuget. * Migrated PdfTemplating.XslFO.Razor.AspNet to new SDK style project, and updated to support publishing to Nuget via GitHub action. Re-tested and verified fully functioning sample applications. General namespaces, naming, typo cleanups, etc. * Migrated PdfTemplating.XslFO.Razor.AspNet to new SDK style project, and updated to support publishing to Nuget via GitHub action. Re-tested and verified fully functioning sample applications. General namespaces, naming, typo cleanups, etc. Nuget updates to publish new versions & other configuration cleanup. * Config update. * Factored out the Movie search logic into shared library and removed/elimnated dependencies on RESTSharp as this now uses Flurl. Resolved risks/issues with netstandard20 libraries not resolving all dependencies when used with .NET Framework apps (e.g. net48 - Asp.NET MVC Sample app). Clean up old project physical files now that new SDK project is working as expected. Additional project structure cleanup; removing old PublishToNuget Build configuration, Nuget package details updated, etc.
Feature/add asp net core implementation (#11) * WIP: Project is compiling now with primary views and code updated, but pending full testing... currently can't find the View (likely due to using virtual path ~/). * .ConfigureAwait(false) cleanup * Fixed View Find/Get methods and improved logic stability (try to find the view in all possible places. Added support to customize the web app root location, but defaults to Directory.GetCurrentDirectory() which appears to work well also (at least when running locally). * Full working version of AspNetCore MVC! Tested and working for both Razor & Xslt! Also finished some code cleanup, enhancements and improvements for flexibility -- and in some cases simplified/streamlined. And ensured compatibility with the original Asp.NET MVC library so they are relatively close in functionality; but inevitably different as many things work very differently in AspNetCore. Finished support for configuring View search paths manually at app startup, but also provided decent built in default paths so this is likely not necessary in most cases. * Fix backwards compatible shim (missing inheritance). Restore Nuspec for .Net 4.8 project deployment to Nuget. * Migrated PdfTemplating.XslFO.Razor.AspNet to new SDK style project, and updated to support publishing to Nuget via GitHub action. Re-tested and verified fully functioning sample applications. General namespaces, naming, typo cleanups, etc. * Migrated PdfTemplating.XslFO.Razor.AspNet to new SDK style project, and updated to support publishing to Nuget via GitHub action. Re-tested and verified fully functioning sample applications. General namespaces, naming, typo cleanups, etc. Nuget updates to publish new versions & other configuration cleanup. * Config update. * Factored out the Movie search logic into shared library and removed/elimnated dependencies on RESTSharp as this now uses Flurl. Resolved risks/issues with netstandard20 libraries not resolving all dependencies when used with .NET Framework apps (e.g. net48 - Asp.NET MVC Sample app). Clean up old project physical files now that new SDK project is working as expected. Additional project structure cleanup; removing old PublishToNuget Build configuration, Nuget package details updated, etc.
Feature/add asp net core implementation (#11) * WIP: Project is compiling now with primary views and code updated, but pending full testing... currently can't find the View (likely due to using virtual path ~/). * .ConfigureAwait(false) cleanup * Fixed View Find/Get methods and improved logic stability (try to find the view in all possible places. Added support to customize the web app root location, but defaults to Directory.GetCurrentDirectory() which appears to work well also (at least when running locally). * Full working version of AspNetCore MVC! Tested and working for both Razor & Xslt! Also finished some code cleanup, enhancements and improvements for flexibility -- and in some cases simplified/streamlined. And ensured compatibility with the original Asp.NET MVC library so they are relatively close in functionality; but inevitably different as many things work very differently in AspNetCore. Finished support for configuring View search paths manually at app startup, but also provided decent built in default paths so this is likely not necessary in most cases. * Fix backwards compatible shim (missing inheritance). Restore Nuspec for .Net 4.8 project deployment to Nuget. * Migrated PdfTemplating.XslFO.Razor.AspNet to new SDK style project, and updated to support publishing to Nuget via GitHub action. Re-tested and verified fully functioning sample applications. General namespaces, naming, typo cleanups, etc. * Migrated PdfTemplating.XslFO.Razor.AspNet to new SDK style project, and updated to support publishing to Nuget via GitHub action. Re-tested and verified fully functioning sample applications. General namespaces, naming, typo cleanups, etc. Nuget updates to publish new versions & other configuration cleanup. * Config update. * Factored out the Movie search logic into shared library and removed/elimnated dependencies on RESTSharp as this now uses Flurl. Resolved risks/issues with netstandard20 libraries not resolving all dependencies when used with .NET Framework apps (e.g. net48 - Asp.NET MVC Sample app). Clean up old project physical files now that new SDK project is working as expected. Additional project structure cleanup; removing old PublishToNuget Build configuration, Nuget package details updated, etc.
PreviousNext