KgcCore.Interfaces
1.0.2
dotnet add package KgcCore.Interfaces --version 1.0.2
NuGet\Install-Package KgcCore.Interfaces -Version 1.0.2
<PackageReference Include="KgcCore.Interfaces" Version="1.0.2" />
paket add KgcCore.Interfaces --version 1.0.2
#r "nuget: KgcCore.Interfaces, 1.0.2"
// Install KgcCore.Interfaces as a Cake Addin #addin nuget:?package=KgcCore.Interfaces&version=1.0.2 // Install KgcCore.Interfaces as a Cake Tool #tool nuget:?package=KgcCore.Interfaces&version=1.0.2
KgcCore.Interfaces
KgcRazor is a Razor project developed by Alejandro Muñoz for Koff Guerrero Consultants (KGC).
Description
/**
- KgcCore.Interfaces 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. */
KgcCore.Interfaces Methods
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
- Dapper.Contrib (>= 2.0.78)
- KgcCore.Filters (>= 1.0.0)
- KgcCore.Models (>= 1.1.0)
- System.Data.SqlClient (>= 4.8.6)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on KgcCore.Interfaces:
Package | Downloads |
---|---|
KgcCore.Services
Package Description |
|
KgcDapper
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.