bundling
A library for optimizing and bundling web assets of ASP.NET Core applications. (by adams85)
aspnetskeleton2
A foundation for building robust web applications on ASP.NET Core. (by adams85)
bundling | aspnetskeleton2 | |
---|---|---|
5 | 6 | |
42 | 4 | |
- | - | |
6.1 | 0.0 | |
27 days ago | 10 months ago | |
C# | C# | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bundling
Posts with mentions or reviews of bundling.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-05.
-
Template for TypeScript with Razor Pages
According to your explanation, it seems this pretty much matches what you're looking for. Although this particular one happens to be an ASP.NET MVC project, the setup works with Razor Pages exactly the same way.
-
Bring WCF apps to the latest .NET with CoreWCF and Upgrade Assistant
If you want something a bit close to .net framework's bundling feature, there's this library that I've used on one of our projects. The syntax is a bit different, but overall it should be less work needed than moving the whole bundling system to use the nodejs ecosystem.
-
Modern ASP Web Application with Typescript and SASS
I created a .NET bundler library for exactly this purpose: to provide a migration path for .NET Framework projects which was built with System.Web.Optimization.
-
What are the best options for front-end minification and bundling that don't depend on node/npm?
You may check out this library as well. I created it exactly with the goal of getting rid of JS-based tools in my .NET projects.
-
What's your frontend workflow with razor pages?
I happen to be the author of such a library. The project contains a fully set up template for RazorPages, which use LibMan, SCSS and ES6 module bundling. It can bundle your assets at build-time (à la webpack) or at run-time (like the bundler of the classic ASP.NET). I find the latter usually more convenient.
aspnetskeleton2
Posts with mentions or reviews of aspnetskeleton2.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-26.
-
Modern ASP Web Application with Typescript and SASS
There's another sample project which demonstrates how to set up the latter strategy. (In this case the TS compiler configuration is included in the csproj but, of course, you can use tsconfig.json as well. For that, here's another example.)
-
Small to medium RESTful APIs with EF Core, what is a good architecture default?
It's not at all. For more complex applications (which benefits from a service layer) I use exactly this architecture you described. I've built a few applications with it and it worked fine for me. If you want to take a closer look, I also have a template for this. (Haven't had the time for documentation yet but it can still give you some ideas.)
-
Table Sorting and Paging in Razor Pages
Table rendering logic (implemented as global razor helpers)
-
What are the best options for front-end minification and bundling that don't depend on node/npm?
As for TypeScript, you're kinda out of luck because the TS compiler is written in TS, so it inevitably needs a JS runtime (like node) to run. However, IMO it's strongly advisable to use TS for any client-side logic bigger than 100-200 lines of code. So regarding this I usually just accept the compromise. At least, the following setup works for me perfectly: I configure the TS compiler to emit ES6 modules and I bundle the emitted JS modules using the lib. You can find a working example of this in my web project template: tsconfig.json, bundler configuration.
-
Code Generation .net core / 5.0 / future (with templating?)
I use this code generation strategy combined with .NET Core Local Tools to generate boilerplate code (2-3 source files at specific locations) for CQS commands and queries and I'm quite satisfied with this method so far. You can check out the sources of my codegen tool here if you want to explore it. Might give you some ideas.
-
System.Text.Json Rant
But TBH the only feature I really missed when I work with STJ is polymorphism support. You don't even need a 3rd party lib for that: it requires some gymnastics but it can be implemented relatively easily by creating a custom JsonConverterFactory + JsonConverter. This implementation of mine can give you some ideas. (Also does type whitelisting based on Protobuf configuration.)
What are some alternatives?
When comparing bundling and aspnetskeleton2 you can also consider the following projects:
RazorSvelte - Template project for the .NET Razor Pages with Svelte Framework, Bootstrap, and Rollup
Dahomey.Json - The main purpose of this library is to bring missing features to the official .Net namespace System.Text.Json
BundlerMinifier - Visual Studio extension
clean-minimal-api - A project showcasing how you can build a clean Minimal API using FastEndpoints