-
Notifications
You must be signed in to change notification settings - Fork 86
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
Asp net core support #79
Commits on Jan 24, 2024
-
Using the Microsoft.Extensions.DependencyInjection apis to resolved d…
…ependencies - Now using constructor injection instead of auto-initializing properties - Removed ISparkServiceInitialize and ISparkServiceContainer (and it's implementation) - New IBatchCompiler interface so that we can use different compilers - ~2x performance improvement when compiling views with Roslyn - CodeDom compilation can still be used at the moment (class marked as obsolete) - CastleMonoRail still using codedom (rosylin doesn't like the assembly name when compiling in that project)
Configuration menu - View commit details
-
Copy full SHA for 7de6466 - Browse repository at this point
Copy the full SHA 7de6466View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67c0bcf - Browse repository at this point
Copy the full SHA 67c0bcfView commit details
Commits on Jan 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dad2b39 - Browse repository at this point
Copy the full SHA dad2b39View commit details
Commits on Jan 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0ef3206 - Browse repository at this point
Copy the full SHA 0ef3206View commit details -
Merge branch 'microsoft-di-and-roslyn-compiler' of github.com:SparkVi…
…ewEngine/spark into microsoft-di-and-roslyn-compiler
Configuration menu - View commit details
-
Copy full SHA for d9ce0dc - Browse repository at this point
Copy the full SHA d9ce0dcView commit details
Commits on Jan 29, 2024
-
No depedency to System.CodeDom when targetting .net 8.0
- CodeDom complilation cannot target .net core - BatchCompiler.cs contains the code to complile with codedom and/or roslyn
Configuration menu - View commit details
-
Copy full SHA for b0349d7 - Browse repository at this point
Copy the full SHA b0349d7View commit details
Commits on Jan 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 16c4250 - Browse repository at this point
Copy the full SHA 16c4250View commit details
Commits on Feb 20, 2024
-
Templates of generic controllers are now pre-compiled
- Improved readability of RemoveSuffix method
Configuration menu - View commit details
-
Copy full SHA for ab0caca - Browse repository at this point
Copy the full SHA ab0cacaView commit details -
Reduced code duplication between ISparkSettings and ViewCompiler class
- Renamed ISparkSettings.PageBaseType to BaseClassTypeName - An instance of ISparkSettings is used instead of duplicated properties on the ViewCompiler base class - New ISparkSettings.ExcludeAssemblies property that can be used to the prevent the view compiler from loading .DLLs that would containt precompile views (and would might already be loaded)
Configuration menu - View commit details
-
Copy full SHA for 87455e7 - Browse repository at this point
Copy the full SHA 87455e7View commit details
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ace1221 - Browse repository at this point
Copy the full SHA ace1221View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23b5dd4 - Browse repository at this point
Copy the full SHA 23b5dd4View commit details
Commits on Feb 29, 2024
-
Removed DefaultCacheServiceProvider
- Replaced by a callback in the IoC configuration - See ServiceCollectionExtensions.cs
Configuration menu - View commit details
-
Copy full SHA for d8152fb - Browse repository at this point
Copy the full SHA d8152fbView commit details -
New InMemoryCacheService implementation of ICacheService in Spark
- InMemoryCacheService cache can be used in any .net standard project - CacheExpires class not longer has depenency on System.Web.Caching.Cache - Renamed DefaultCacheService to WebCacheService - Moved NullCacheService to Castle.MonoRail.Views project (it's the only place using it) - Moved some classes back to Spark project when possible - Moved markdown dependency back to spark
Configuration menu - View commit details
-
Copy full SHA for 09e540c - Browse repository at this point
Copy the full SHA 09e540cView commit details
Commits on Mar 4, 2024
-
Moved descriptor builder and filters to spark
- Use of a new SparkRouteData class - Avoids having a dependency on Microsoft.AspNet.Mvc
Configuration menu - View commit details
-
Copy full SHA for 544fcb7 - Browse repository at this point
Copy the full SHA 544fcb7View commit details
Commits on Apr 19, 2024
-
New project to support AspNetCore.Mvc applications
- New OutputValue(value, automaticEncoding) on SparkViewBase - Removed H() method (replaced by OutputValue - GeneratedCodeVisitor calls new OutputValue() method instead of Output.Write() - This method gives simplifies the HTML encoding logic - This method handles MvcHtmlString for MVC 5 - This method handles IHtmlContent for aspnetcore - HtmlHelperResultFilter to help get funnel the IHtmlHelper from the controllers to the view - Can now set base class for views with new SparkSettings<TBaseClass>() shortcut
Configuration menu - View commit details
-
Copy full SHA for 948e341 - Browse repository at this point
Copy the full SHA 948e341View commit details
Commits on Apr 23, 2024
-
Merge branch 'master' into asp-net-core
# Conflicts: # src/Spark.Web.Mvc/SparkViewFactory.cs
Configuration menu - View commit details
-
Copy full SHA for d5d2f96 - Browse repository at this point
Copy the full SHA d5d2f96View commit details
Commits on Apr 24, 2024
-
BatchCompiler now loads the assemblies defined in spark settings befo…
…re compilation - Can now use name, full name or absolute path to an assembly
Configuration menu - View commit details
-
Copy full SHA for 3d8701a - Browse repository at this point
Copy the full SHA 3d8701aView commit details