ASP.NET Core libraries.
CodeCapital.AspNetCore.Mvc.TagHelpers
- Json Flattener
- Tag Helpers
- asp-class
- asp-if [negate]
- Razor to String Renderer
- Configuration in ASP.NET Core
- AddRemoteJsonFile(url)
- Services
- MailGun
- ReCaptcha v2
- RazorLibrary
- Calendar (blazor)
- Table (blazor, with column sorting)
Namespace: CodeCapital.System.Text.Json
This library flattens json string into
List<dynamic>
.
var flattener = new JsonFlattener();
var list = flattener.Flatten(json);
Namespace: CodeCapital.AspNetCore.Mvc.TagHelpers
ASP.NET Core
<p asp-class-text-success="@Model.IsSuccess">Hello, World!</p>
HTML (If a condition is true, a class attribute is added to html tag)
<p class="text-success">Hello, World!</p>
ASP.NET Core
<asp-if condition="@Model.IsSuccess">
<p>Hello, World!</p>
<asp-if>
<p asp-if="@Model.IsSucces">Hello, World!</p>
HTML (If a condition is true)
<p>Hello, World!</p>
ASP.NET Core
<asp-if condition="@Model.IsSuccess" negate>
<p>Hello, World!</p>
<asp-if>
<p asp-if="@Model.IsSucces" negate>Hello, World!</p>
HTML (If a condition is true, nothing renders.)
https://stackoverflow.com/questions/58512542/read-a-json-file-and-generate-string-keys-with-values-in-a-dictionary-like-objec https://stackoverflow.com/questions/7394551/c-sharp-flattening-json-structure