KgcCore.Razor
1.0.1
dotnet add package KgcCore.Razor --version 1.0.1
NuGet\Install-Package KgcCore.Razor -Version 1.0.1
<PackageReference Include="KgcCore.Razor" Version="1.0.1" />
paket add KgcCore.Razor --version 1.0.1
#r "nuget: KgcCore.Razor, 1.0.1"
// Install KgcCore.Razor as a Cake Addin #addin nuget:?package=KgcCore.Razor&version=1.0.1 // Install KgcCore.Razor as a Cake Tool #tool nuget:?package=KgcCore.Razor&version=1.0.1
KgcRazor
KgcRazor is a Razor project developed by Alejandro Muñoz for Koff Guerrero Consultants (KGC).
Description
/**
- KgcRazor is a project that utilizes the Razor syntax for creating dynamic web pages in the Kgc framework.
- It provides a convenient way to generate HTML content by combining HTML markup with C# code.
- This project aims to simplify the process of building web applications by allowing developers to write
- server-side code directly within the HTML files. */
KgcRazor Components
Here is a list of Razor components available in the KgcRazor project:
- KgcBorder: /**
- The
KgcBorder
component is a reusable component that provides a styled border around its content. - It can be used to visually separate sections of a page or to highlight specific content.
- Usage:
-
- <KgcBorder>
- </KgcBorder>
-
- Props:
-
color
(string, optional): The color of the border. Defaults to "#000".
-
thickness
(number, optional): The thickness of the border in pixels. Defaults to 1.
-
radius
(number, optional): The border radius in pixels. Defaults to 0. */
- KgcButtonLink: /**
- Represents a button link component in the KGC (Koff & Guerrero Consultants - www.koffguerrero.com) application.
- This component is used to render a clickable button that navigates to a specified URL.
- @component
- @example
- // Usage:
- <KgcButtonLink url="/home" label="Go to Home" />
- @param {string} url - The URL to navigate to when the button is clicked.
- @param {string} label - The label text to display on the button.
- @param {string} [color] - The color of the button (optional).
- @param {string} [size] - The size of the button (optional).
- @param {boolean} [disabled] - Specifies whether the button is disabled (optional).
- @param {function} [onClick] - The callback function to be called when the button is clicked (optional).
- @returns {JSX.Element} The rendered button link component. */
- Component 3: [Description of Component 3]
- Component 4: [Description of Component 4]
- Component 5: [Description of Component 5]
Feel free to explore and utilize these components in your web application development.
Installation
- Clone the repository
- Navigate to the project directory
- Run the project
Usage
To use the KgcRazor project, follow these steps:
- Open the project in your preferred development environment.
- Build the project to ensure all dependencies are resolved.
- Configure the necessary settings in the
appsettings.json
file. - Run the project.
- Access the application in your web browser at
http://localhost:5000
(or the specified port).
You can now interact with the KgcRazor project and explore its features.
Contributing
Not Allowed
License
This library es exclusive for Koff & Guerrero Consultants users
Contact
For any inquiries, please contact alejandro.munoz@koffguerrero.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- KgcCore.Attributes (>= 1.2.4)
- KgcCore.Helpers (>= 1.0.3)
- Microsoft.AspNetCore.Components (>= 8.0.8)
- Microsoft.AspNetCore.Components.Authorization (>= 8.0.8)
- Microsoft.AspNetCore.Components.Web (>= 8.0.8)
- Syncfusion.Blazor (>= 26.2.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.