CodeSync.Tools.RazorViewToHtml 1.0.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package CodeSync.Tools.RazorViewToHtml --version 1.0.0
NuGet\Install-Package CodeSync.Tools.RazorViewToHtml -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="CodeSync.Tools.RazorViewToHtml" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodeSync.Tools.RazorViewToHtml --version 1.0.0
#r "nuget: CodeSync.Tools.RazorViewToHtml, 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 CodeSync.Tools.RazorViewToHtml as a Cake Addin
#addin nuget:?package=CodeSync.Tools.RazorViewToHtml&version=1.0.0

// Install CodeSync.Tools.RazorViewToHtml as a Cake Tool
#tool nuget:?package=CodeSync.Tools.RazorViewToHtml&version=1.0.0

CodeSync.Tools.RazorToHtml

CodeSync.Tools.RazorToHtml is a NuGet package that provides a set of useful extension methods to enhance developer productivity. These extensions are designed to simplify common coding tasks and improve code readability.

Installation

To install CodeSync.Tools.RazorToHtml, you can use the NuGet Package Manager Console or the NuGet Package Manager in Visual Studio.

Package Manager Console:

Install-Package CodeSync.Tools.RazorToHtml -Version X.X.X

Visual Studio:

  1. Right-click on your project in Visual Studio.
  2. Select "Manage NuGet Packages..."
  3. Search for "CodeSync.Tools.RazorToHtml" and click on "Install."

What's New

  • Easy way to template Razor Page and convert to Html string

Usage

Once you have installed the package, you can start using the extension methods provided by CodeSync.Tools.RazorToHtml in your code.

  • ToHTMLAsync(View Location, RazorPage Name, Mage Model)

Here's an example that demonstrates how to use one of the extension methods:

using CodeSync.Tools.RazorToHtml;

public class ExampleClass
{
    public void ExampleMethod()
    {
        var helloWold = new helloWold {Greeting = "Hello", Name = "Razor to Html Template" };
        string htmlString = ToHTMLAsync("RazorViews", "HelloWold", helloWold);

        Console.WriteLine(htmlString);
    }
}

Disclaimer

CodeSync.Tools.RazorToHtml is provided as-is and is intended for private use. It is not recommended for commercial use, and the developers do not take any responsibility for any issues or damages that may arise from using this package in a commercial context. The package does not come with any warranty or guarantees.

Contributing

We appreciate any contributions to improve CodeSync.Tools.RazorToHtml. If you encounter any bugs, have suggestions for new features, or would like to contribute code, please open an issue or submit a pull request on the GitHub repository.

License

CodeSync.Tools.RazorToHtml is released under the MIT License. Please review the license file for more information.


Thank you for using CodeSync.Tools.RazorToHtml! We hope it enhances your development experience and helps improve your productivity.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.
  • net7.0

    • No dependencies.

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