SweetP 1.2.4

dotnet add package SweetP --version 1.2.4
                    
NuGet\Install-Package SweetP -Version 1.2.4
                    
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="SweetP" Version="1.2.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SweetP" Version="1.2.4" />
                    
Directory.Packages.props
<PackageReference Include="SweetP" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SweetP --version 1.2.4
                    
#r "nuget: SweetP, 1.2.4"
                    
#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.
#:package SweetP@1.2.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SweetP&version=1.2.4
                    
Install as a Cake Addin
#tool nuget:?package=SweetP&version=1.2.4
                    
Install as a Cake Tool

<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> <link href="~/Content/Site.css" rel="stylesheet" /> <link href="~/Content/bootstrap.css" rel="stylesheet" /> <script src="~/Scripts/jquery-3.7.0.js"></script> </head> <body> <nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-dark bg-dark"> <div class="container-fluid"> @Html.ActionLink("Application name", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" }) <button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" title="Toggle navigation" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse d-sm-inline-flex justify-content-between"> <ul class="navbar-nav flex-grow-1"> <li>@Html.ActionLink("Home", "Index", "Home", new { area = "" }, new { @class = "nav-link" })</li> <li>@Html.ActionLink("About", "About", "Home", new { area = "" }, new { @class = "nav-link" })</li> <li>@Html.ActionLink("Contact", "Contact", "Home", new { area = "" }, new { @class = "nav-link" })</li> </ul> </div> </div> </nav> <div class="container-fluid body-content"> @RenderBody()

</div>
<footer class="container-fluid">
    <p class="text-center">&copy; @DateTime.Now.Year - My ASP.NET Application</p>
</footer>
<script src="~/Scripts/bootstrap.js"></script>
@RenderSection("scripts", required: false)

<script>
    $(document).ready(() => {
        $(".crBtn").click((e) => {
            e.preventDefault();
            $.ajax({
                url: "/Products/Create",
                type: "get",
                success: (d) => {
                    $(".macon").html(d);
                    $(".mcon").show();
                }
            });
        });

        $(".edBtn").click((e) => {
            e.preventDefault();
            var id = $(e.currentTarget).data("id");
            $.ajax({
                url: "/Products/Edit/" + id,
                type: "get",
                success: (d) => {
                    $(".macon").html(d);
                    $(".mcon").show();
                }
            });
        });

        $(document).on("click", ".remove", (e) => {
            e.preventDefault();
            $(e.currentTarget).closest(".rc").remove();
        })
        $(".clbtn").click(() => {
            $(".mcon").hide();
            $(".pcon").show();
        })
    })
</script>

</body> </html>

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.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
1.2.4 222 3/10/2025