Fody
NTypewriter
Fody | NTypewriter | |
---|---|---|
12 | 8 | |
4,237 | 109 | |
0.5% | - | |
8.7 | 8.2 | |
18 days ago | 19 days ago | |
C# | C# | |
MIT License | MIT License |
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.
Fody
-
Metalama.Compiler VS Fody - a user suggested alternative
2 projects | 7 Dec 2023
While Fody works at binary (MSIL) level, Metalama Compiler is a fork of Roslyn and allows for AST transformations, at the C# level.
-
Metalama VS Fody - a user suggested alternative
2 projects | 7 Dec 2023
-
C# Equivalent of Python Decorators
As an alternative to PostSharp you may take a look at Fody.
-
What does Realm.Fody do?
Working with IL weaving as part of the building process is quite complex though, and this is where Fody enters into the picture. Fody is an extensible tool that allows to simplify the weaving process by taking care of all the heavy lifting.
- Automated logging
-
Code generator like plop.js for dotnet
Fodyplugins can modify exists code during compilation.
-
What do think is the most advanced C# concept that most developers will never get?
I've seen coworkers using Fody for such MSIL weaving stuff, but I have a bad feeling about this. It's a little bit like jailbreaking your phone. Cool stuff ahead, but voids warranty.
-
EntityFramework installed in customers' GAC causing bugs in our software
Implement your own (in C++/outside dotnet/CLR) IHostAssemblyManager stuff, this is the "replace/bypass how assemblies are loaded" trick. There used to be a prebuilt thing on the old old codepages, but I can't find it. I wonder if newer code/assemblie weavers such as Fody can do the similar thing?
- Coding classes be like
-
Debugging hard to track transform changes. Can I pick your brains on tool design approach?
Great place to start is https://github.com/Fody/Fody and existing 'addins' - fody does it at compile time - generally quite useful for your own code if you want to dip into aspect oriented programming.
NTypewriter
-
This week I released v2.1 of my text-templating library Weave that now uses Source Generators by default.
I am currently using NTypewriter for code generation.
-
Embedded source generation?
With NTypewriter you can generate anything. It connects Scriban templates with data exposed from Roslyn API. You can run templates from VS (design time) or embed them (run time) into your application with the help of Buildalayzer.
-
Typescript models to C# POCOs
With NTypewriter you can generate clients for any language (TS, Java), because you have full control over generated code, but similar to other tools, it uses C# as an input language.
- A useful project I found a couple months ago
-
Code generator like plop.js for dotnet
You can use NTypewriter for that, it is mainly for generating typed TS clients, but in general, you can generate whatever you want.
- Library for generating C# code strings programmatically(Or "Object Oriented-ly")?
-
Tools you use to help you with rapid application development.
You can try to use NTypewriter for code generation, but its main purpose is generation of java script clients for APIs or documentation.
-
Best, most useful extensions for Visual Studio 2022?
NTypewriter is better and alive, but I am definitely biased.
What are some alternatives?
Mono.Cecil - Cecil is a library to inspect, modify and create .NET programs and libraries.
Typewriter - Automatic TypeScript template generation from C# source files
Aspect Injector - AOP framework for .NET (c#, vb, etc)
Textrude - Code generation from YAML/JSON/CSV models via SCRIBAN templates
dnSpy
TemplateStudio - Template Studio accelerates the creation of new WinUI 3, WPF, and UWP apps using a wizard-based experience.
ILRepack - Open-source alternative to ILMerge
easygen - Easy to use universal code/text generator
NConcern - NConcern .NET AOP Framework
scriban - A fast, powerful, safe and lightweight scripting language and engine for .NET
Harmony - A library for patching, replacing and decorating .NET and Mono methods during runtime
jntemplate - jntemplate is an fast and lightweight html templating engine for C# .NET.