Skip to content

Commit 6ea32fd

Browse files
committed
badideas
1 parent c45c808 commit 6ea32fd

19 files changed

Lines changed: 1731 additions & 190 deletions

File tree

README.md

Lines changed: 59 additions & 44 deletions
Large diffs are not rendered by default.

later.md

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -158,151 +158,145 @@ Why I have not tested : later
158158

159159

160160

161-
26) [https://github.com/sonnemaf/ReflectionIT.ComparisonOperatorsGenerator]( https://github.com/sonnemaf/ReflectionIT.ComparisonOperatorsGenerator) , https://github.com/sonnemaf/ReflectionIT.ComparisonOperatorsGenerator
161+
26) [https://github.com/stbychkov/AutoLoggerMessage]( https://github.com/stbychkov/AutoLoggerMessage) , https://github.com/stbychkov/AutoLoggerMessage
162162

163163
Why I have not tested : later
164164

165165

166166

167-
27) [https://github.com/stbychkov/AutoLoggerMessage]( https://github.com/stbychkov/AutoLoggerMessage) , https://github.com/stbychkov/AutoLoggerMessage
167+
27) [https://github.com/Stepami/visitor-net]( https://github.com/Stepami/visitor-net) , https://github.com/Stepami/visitor-net
168168

169169
Why I have not tested : later
170170

171171

172172

173-
28) [https://github.com/Stepami/visitor-net]( https://github.com/Stepami/visitor-net) , https://github.com/Stepami/visitor-net
173+
28) [https://github.com/SzymonHalucha/Minerals.AutoCommands]( https://github.com/SzymonHalucha/Minerals.AutoCommands) , https://github.com/SzymonHalucha/Minerals.AutoCommands
174174

175175
Why I have not tested : later
176176

177177

178178

179-
29) [https://github.com/SzymonHalucha/Minerals.AutoCommands]( https://github.com/SzymonHalucha/Minerals.AutoCommands) , https://github.com/SzymonHalucha/Minerals.AutoCommands
179+
29) [https://github.com/Teleopti/Saspect]( https://github.com/Teleopti/Saspect) , https://github.com/Teleopti/Saspect
180180

181181
Why I have not tested : later
182182

183183

184184

185-
30) [https://github.com/Teleopti/Saspect]( https://github.com/Teleopti/Saspect) , https://github.com/Teleopti/Saspect
185+
30) [https://github.com/TheFo2sh/AsyncFlow]( https://github.com/TheFo2sh/AsyncFlow) , https://github.com/TheFo2sh/AsyncFlow
186186

187187
Why I have not tested : later
188188

189189

190190

191-
31) [https://github.com/TheFo2sh/AsyncFlow]( https://github.com/TheFo2sh/AsyncFlow) , https://github.com/TheFo2sh/AsyncFlow
191+
31) [https://github.com/wieslawsoltes/ReactiveGenerator]( https://github.com/wieslawsoltes/ReactiveGenerator) , https://github.com/wieslawsoltes/ReactiveGenerator
192192

193193
Why I have not tested : later
194194

195195

196196

197-
32) [https://github.com/wieslawsoltes/ReactiveGenerator]( https://github.com/wieslawsoltes/ReactiveGenerator) , https://github.com/wieslawsoltes/ReactiveGenerator
197+
32) [laker]( https://github.com/Lakerfield/Lakerfield.Rpc) , https://github.com/Lakerfield/Lakerfield.Rpc
198198

199199
Why I have not tested : later
200200

201201

202202

203-
33) [laker]( https://github.com/Lakerfield/Lakerfield.Rpc) , https://github.com/Lakerfield/Lakerfield.Rpc
203+
33) [ManagedDotnetProfiler]( https://github.com/kevingosse/ManagedDotnetProfiler) , https://github.com/kevingosse/ManagedDotnetProfiler
204204

205205
Why I have not tested : later
206206

207207

208208

209-
34) [ManagedDotnetProfiler]( https://github.com/kevingosse/ManagedDotnetProfiler) , https://github.com/kevingosse/ManagedDotnetProfiler
209+
34) [Maui.BindableProperty.Generator]( https://github.com/rrmanzano/maui-bindableproperty-generator) , https://github.com/rrmanzano/maui-bindableproperty-generator
210210

211211
Why I have not tested : later
212212

213213

214214

215-
35) [Maui.BindableProperty.Generator]( https://github.com/rrmanzano/maui-bindableproperty-generator) , https://github.com/rrmanzano/maui-bindableproperty-generator
215+
35) [Minerals.AutoCQRS]( https://github.com/SzymonHalucha/Minerals.AutoCQRS) , https://github.com/SzymonHalucha/Minerals.AutoCQRS
216216

217217
Why I have not tested : later
218218

219219

220220

221-
36) [Minerals.AutoCQRS]( https://github.com/SzymonHalucha/Minerals.AutoCQRS) , https://github.com/SzymonHalucha/Minerals.AutoCQRS
221+
36) [Minerals.AutoDomain]( https://github.com/SzymonHalucha/Minerals.AutoDomain) , https://github.com/SzymonHalucha/Minerals.AutoDomain
222222

223223
Why I have not tested : later
224224

225225

226226

227-
37) [Minerals.AutoDomain]( https://github.com/SzymonHalucha/Minerals.AutoDomain) , https://github.com/SzymonHalucha/Minerals.AutoDomain
227+
37) [MvvmGen]( https://github.com/thomasclaudiushuber/mvvmgen) , https://github.com/thomasclaudiushuber/mvvmgen
228228

229229
Why I have not tested : later
230230

231231

232232

233-
38) [MvvmGen]( https://github.com/thomasclaudiushuber/mvvmgen) , https://github.com/thomasclaudiushuber/mvvmgen
233+
38) [observable]( https://github.com/notanaverageman/Bindables) , https://github.com/notanaverageman/Bindables
234234

235235
Why I have not tested : later
236236

237237

238238

239-
39) [observable]( https://github.com/notanaverageman/Bindables) , https://github.com/notanaverageman/Bindables
239+
39) [Overloader]( https://github.com/emptycoder/Overloader) , https://github.com/emptycoder/Overloader
240240

241241
Why I have not tested : later
242242

243243

244244

245-
40) [Overloader]( https://github.com/emptycoder/Overloader) , https://github.com/emptycoder/Overloader
245+
40) [PolySharp]( https://github.com/Sergio0694/PolySharp) , https://github.com/Sergio0694/PolySharp
246246

247247
Why I have not tested : later
248248

249249

250250

251-
41) [PolySharp]( https://github.com/Sergio0694/PolySharp) , https://github.com/Sergio0694/PolySharp
251+
41) [RazorGen]( https://github.com/dartk/RazorGen) , https://github.com/dartk/RazorGen
252252

253253
Why I have not tested : later
254254

255255

256256

257-
42) [RazorGen]( https://github.com/dartk/RazorGen) , https://github.com/dartk/RazorGen
257+
42) [schema]( https://github.com/MeltyPlayer/Schema) , https://github.com/MeltyPlayer/Schema
258258

259259
Why I have not tested : later
260260

261261

262262

263-
43) [schema]( https://github.com/MeltyPlayer/Schema) , https://github.com/MeltyPlayer/Schema
263+
43) [SogePoco]( https://github.com/d-p-y/SogePoco) , https://github.com/d-p-y/SogePoco
264264

265265
Why I have not tested : later
266266

267267

268268

269-
44) [SogePoco]( https://github.com/d-p-y/SogePoco) , https://github.com/d-p-y/SogePoco
269+
44) [SourceCrafter.HttpServiceClientGenerator]( https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/) , https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/
270270

271271
Why I have not tested : later
272272

273273

274274

275-
45) [SourceCrafter.HttpServiceClientGenerator]( https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/) , https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/
275+
45) [ST.NSwag.ServerSourceGenerator]( https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator) , https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator
276276

277277
Why I have not tested : later
278278

279279

280280

281-
46) [ST.NSwag.ServerSourceGenerator]( https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator) , https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator
281+
46) [StrongInject]( https://github.com/YairHalberstadt/stronginject/) , https://github.com/YairHalberstadt/stronginject/
282282

283283
Why I have not tested : later
284284

285285

286286

287-
47) [StrongInject]( https://github.com/YairHalberstadt/stronginject/) , https://github.com/YairHalberstadt/stronginject/
287+
47) [TupleOverloadGenerator]( https://github.com/ProphetLamb/TupleOverloadGenerator) , https://github.com/ProphetLamb/TupleOverloadGenerator
288288

289289
Why I have not tested : later
290290

291291

292292

293-
48) [TupleOverloadGenerator]( https://github.com/ProphetLamb/TupleOverloadGenerator) , https://github.com/ProphetLamb/TupleOverloadGenerator
293+
48) [ValueLink]( https://github.com/archi-Doc/ValueLink) , https://github.com/archi-Doc/ValueLink
294294

295295
Why I have not tested : later
296296

297297

298298

299-
49) [ValueLink]( https://github.com/archi-Doc/ValueLink) , https://github.com/archi-Doc/ValueLink
300-
301-
Why I have not tested : later
302-
303-
304-
305-
50) [Visor]( https://github.com/Tinkoff/Visor) , https://github.com/Tinkoff/Visor
299+
49) [Visor]( https://github.com/Tinkoff/Visor) , https://github.com/Tinkoff/Visor
306300

307301
Why I have not tested : later
308302

v2/Generator/all.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,4 @@ Nr,Key,Source,Category
213213
212,StackXML, https://github.com/ZingBallyhoo/StackXML,Serializer
214214
213,Blazor.TSRuntime, https://github.com/BlackWhiteYoshi/Blazor.TSRuntime,Blazor
215215
214,Genbox.FastEnum, https://github.com/Genbox/FastEnum,Enum
216+
215,BadIdeas.Icons.FontAwesome, https://github.com/phil-scott-78/Icons/,Blazor

v2/RSCGExamplesData/GeneratorDataRec.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,5 +1292,11 @@
12921292
"Category": 19,
12931293
"dtStart": "2025-08-03T00:00:00",
12941294
"show": true
1295+
},
1296+
{
1297+
"ID":"BadIdeas.Icons.FontAwesome",
1298+
"Category":21,
1299+
"dtStart": "2025-08-03T00:00:00",
1300+
"show": true
12951301
}
12961302
]

v2/RSCGExamplesData/NoExample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@
843843
},
844844
{
845845
"ID":194,
846-
"name":"https://github.com/ramhari-dev/`PropGenAoT",
846+
"name":"https://github.com/ramhari-dev/PropGenAoT",
847847
"why":"later"
848848
},
849849

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Package Description
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# BadIdeas.Icons
2+
3+
I had a bad idea about building out all the icons in Font Awesome in a huge blazor assembly and relying on dotnet trimming to keep the file size low.
4+
5+
This is the result.
6+
7+
## Install
8+
9+
```
10+
dotnet add package BadIdeas.Icons.FontAwesome
11+
```
12+
13+
## Use
14+
15+
All the icons are components in the Icon namespace. They have zero styling, so you'll need to apply a width and a fill color with whatever CSS library you're into.
16+
17+
```csharp
18+
@using BadIdeas.FontAwesome.Icons
19+
20+
<Icon Data="Brands.Github()" class="...your styling..."> </Icon>
21+
```
22+
23+
## Neat
24+
25+
This will render the svg for the GitHub icon. No external javascript or CSS is needed for this, just a few KBs for the SVG content. And because of the assembly trimming, only the SVGs that are needed are deployed.
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
2+
{
3+
"$schema": "https://aka.ms/codetour-schema",
4+
"title": "BadIdeas.Icons.FontAwesome",
5+
"steps":
6+
[
7+
{
8+
"file": "DemoBlazor/DemoBlazor.csproj",
9+
"description": "First, we add Nuget [BadIdeas.Icons.FontAwesome](https://www.nuget.org/packages/BadIdeas.Icons.FontAwesome/) in csproj ",
10+
"pattern": "BadIdeas.Icons.FontAwesome"
11+
}
12+
13+
,{
14+
"file": "DemoBlazor/Pages/Home.razor",
15+
"description": "File Home.razor ",
16+
"pattern": "this is the code"
17+
}
18+
19+
20+
,{
21+
"file": "DemoBlazor/obj/GX/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/_Imports_razor.g.cs",
22+
"description": "Generated File 7 from 7 : _Imports_razor.g.cs ",
23+
"line": 1
24+
}
25+
26+
,{
27+
"file": "DemoBlazor/obj/GX/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Pages_Weather_razor.g.cs",
28+
"description": "Generated File 6 from 7 : Pages_Weather_razor.g.cs ",
29+
"line": 1
30+
}
31+
32+
,{
33+
"file": "DemoBlazor/obj/GX/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Pages_Home_razor.g.cs",
34+
"description": "Generated File 5 from 7 : Pages_Home_razor.g.cs ",
35+
"line": 1
36+
}
37+
38+
,{
39+
"file": "DemoBlazor/obj/GX/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Pages_Counter_razor.g.cs",
40+
"description": "Generated File 4 from 7 : Pages_Counter_razor.g.cs ",
41+
"line": 1
42+
}
43+
44+
,{
45+
"file": "DemoBlazor/obj/GX/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Layout_NavMenu_razor.g.cs",
46+
"description": "Generated File 3 from 7 : Layout_NavMenu_razor.g.cs ",
47+
"line": 1
48+
}
49+
50+
,{
51+
"file": "DemoBlazor/obj/GX/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Layout_MainLayout_razor.g.cs",
52+
"description": "Generated File 2 from 7 : Layout_MainLayout_razor.g.cs ",
53+
"line": 1
54+
}
55+
56+
,{
57+
"file": "DemoBlazor/obj/GX/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/App_razor.g.cs",
58+
"description": "Generated File 1 from 7 : App_razor.g.cs ",
59+
"line": 1
60+
}
61+
62+
],
63+
64+
"ref": "main"
65+
66+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"scriptName": "BadIdeas.Icons.FontAwesome",
3+
"steps":
4+
[
5+
{"typeStep":"exec","arg":"clipchamp.exe launch"},
6+
{"typeStep":"text","arg": "Welcome to Roslyn Examples"},
7+
{"typeStep":"text","arg":"If you want to see more examples , see List Of RSCG"},
8+
{"typeStep":"browser","arg":"https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG"},
9+
{"typeStep":"text","arg": "My name is Andrei Ignat and I am deeply fond of Roslyn Source Code Generator. "},
10+
11+
{"typeStep":"text","arg": "Today I will present BadIdeas.Icons.FontAwesome . generate font awesome icons ."},
12+
{"typeStep":"browser","arg":"https://www.nuget.org/packages/BadIdeas.Icons.FontAwesome/"},
13+
{"typeStep":"text","arg": "The whole example is here"},
14+
{"typeStep":"browser","arg":"https://ignatandrei.github.io/RSCG_Examples/v2/docs/BadIdeas.Icons.FontAwesome"},
15+
{"typeStep":"text","arg": "You can download the code from here"},
16+
{"typeStep":"browser","arg":"https://ignatandrei.github.io/RSCG_Examples/v2/docs/BadIdeas.Icons.FontAwesome#download-example-net--c-"},
17+
{"typeStep":"text","arg":"Here is the code downloaded "},
18+
{"typeStep":"exec","arg":"explorer.exe /select,D:\\gth\\RSCG_Examples\\v2\\rscg_examples\\BadIdeas.Icons.FontAwesome\\src\\DemoBlazor.sln"},
19+
{"typeStep":"text","arg": "So , let's start the project with Visual Studio Code "},
20+
{"typeStep":"stepvscode","arg": "-n D:\\gth\\RSCG_Examples\\v2\\rscg_examples\\BadIdeas.Icons.FontAwesome\\src"},
21+
22+
{"typeStep":"text","arg": "To use it ,you will put the Nuget BadIdeas.Icons.FontAwesome into the csproj "},
23+
24+
{"typeStep":"stepvscode","arg": "-r -g D:\\gth\\RSCG_Examples\\v2\\rscg_examples\\BadIdeas.Icons.FontAwesome\\src\\DemoBlazor\\DemoBlazor.csproj"},
25+
26+
{"typeStep":"text","arg": "And now I will show you an example of using BadIdeas.Icons.FontAwesome"},
27+
28+
{"typeStep":"hide","arg": "now execute the tour in VSCode"},
29+
{"typeStep":"tour", "arg": "src/.tours/"},
30+
{"typeStep":"text","arg":" And I will execute the project"},
31+
{"typeStep":"showproj", "arg":"DemoBlazor.csproj"},
32+
{"typeStep":"text","arg":" This concludes the project"},
33+
{"typeStep":"waitseconds","arg":"30"},
34+
{"typeStep":"text","arg": "Remember, you can download the code from here"},
35+
{"typeStep":"browser","arg":"https://ignatandrei.github.io/RSCG_Examples/v2/docs/BadIdeas.Icons.FontAwesome#download-example-net--c-",
36+
SpeakTest=" "},
37+
{"typeStep":"waitseconds","arg":"30"},
38+
]
39+
}
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<h1>Blazor</h1>
22

3-
Number RSCG: 3
3+
Number RSCG: 4
44

5-
1 [Blazor.TSRuntime](/docs/Blazor.TSRuntime)
5+
1 [BadIdeas.Icons.FontAwesome](/docs/BadIdeas.Icons.FontAwesome)
66

7-
2 [Blazorators](/docs/Blazorators)
7+
2 [Blazor.TSRuntime](/docs/Blazor.TSRuntime)
88

9-
3 [GoLive.Generator.BlazorInterop](/docs/GoLive.Generator.BlazorInterop)
9+
3 [Blazorators](/docs/Blazorators)
10+
11+
4 [GoLive.Generator.BlazorInterop](/docs/GoLive.Generator.BlazorInterop)
1012

0 commit comments

Comments
 (0)