KgcCore.Razor 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package KgcCore.Razor --version 1.0.0                
NuGet\Install-Package KgcCore.Razor -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KgcCore.Razor" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KgcCore.Razor --version 1.0.0                
#r "nuget: KgcCore.Razor, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install KgcCore.Razor as a Cake Addin
#addin nuget:?package=KgcCore.Razor&version=1.0.0

// Install KgcCore.Razor as a Cake Tool
#tool nuget:?package=KgcCore.Razor&version=1.0.0                

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:

  1. 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. */
  1. 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. */
  1. Component 3: [Description of Component 3]
  2. Component 4: [Description of Component 4]
  3. Component 5: [Description of Component 5]

Feel free to explore and utilize these components in your web application development.

Installation

  1. Clone the repository
  2. Navigate to the project directory
  3. Run the project

Usage

To use the KgcRazor project, follow these steps:

  1. Open the project in your preferred development environment.
  2. Build the project to ensure all dependencies are resolved.
  3. Configure the necessary settings in the appsettings.json file.
  4. Run the project.
  5. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 136 8/19/2024
1.0.0 113 8/14/2024