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

SparkSample #2

Open
wants to merge 222 commits into
base: master
Choose a base branch
from
Open

SparkSample #2

wants to merge 222 commits into from

Conversation

mishrao
Copy link

@mishrao mishrao commented Sep 6, 2016

No description provided.

RobertTheGrey and others added 30 commits February 6, 2011 22:42
Rob: Please take a look at the comments/changes in:

- VisualBasicViewCompilerTester.cs
- SubViewFolderTester.cs
bounav and others added 30 commits January 24, 2024 09:20
…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)
CI pipeline to build and run unit test.
- Change dotnet version to 8.0
- steps should run in src sub folder
- Added solution filter to exclude Spark.JsTests from CI build
Added github action status icon.
…ewEngine/spark into microsoft-di-and-roslyn-compiler
- CodeDom complilation cannot target .net core
- BatchCompiler.cs contains the code to complile with codedom and/or roslyn
- Improved readability of RemoveSuffix method
- Improved readability of RemoveSuffix method
- 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)
…ng-views-of-generic-controllers

Templates of generic controllers are now pre-compiled
- Replaced by a callback in the IoC configuration
- See ServiceCollectionExtensions.cs
- 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
- Use of a new SparkRouteData class
- Avoids having a dependency on Microsoft.AspNet.Mvc
- 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
# Conflicts:
#	src/Spark.Web.Mvc/SparkViewFactory.cs
…re compilation

- Can now use name, full name or absolute path to an assembly
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.