SweetIndex 1.0.0

dotnet add package SweetIndex --version 1.0.0
                    
NuGet\Install-Package SweetIndex -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="SweetIndex" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SweetIndex" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="SweetIndex" />
                    
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 SweetIndex --version 1.0.0
                    
#r "nuget: SweetIndex, 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.
#:package SweetIndex@1.0.0
                    
#: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=SweetIndex&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=SweetIndex&version=1.0.0
                    
Install as a Cake Tool

_Index
@model IEnumerable<Evidance.Models.Product>
@{
   ViewBag.Title = "Index";
}

<div class="d-flex justify-content-end">
   @Html.ActionLink("Add New Product", "Create", null, new { @class = "btn btn-primary btn-sm crBtn my-3 px-4" })
</div>

<div>
   @foreach (var product in Model)
   {
       <div class="card mb-2">
           <div class="card-header d-flex justify-content-between">
               <div>
                   <img src="@product.Image" width="32" style="border-radius:6px;" />
                   <label class="me-2">Product Name: <strong>@Html.DisplayFor(x => product.PName)</strong></label>
                   <label class="me-2">Price: <strong>@Html.DisplayFor(x => product.Price)</strong></label>
                   <label class="me-2">P Date: <strong>@Html.DisplayFor(x => product.Pdate)</strong></label>
                   <label class="me-2">Available: <strong>@Html.DisplayFor(x => product.IsAviable)</strong></label>
               </div>
               <div>
                   <button class="btn btn-success btn-sm edBtn" type="button" data-id="@product.PId">Edit</button>
                   @Html.ActionLink("Delete", "Delete", null, new { id = product.PId }, new { @class = "btn btn-danger btn-sm" })
               </div>
           </div>
           <div class="card-body">
               <table class="table table-bordered text-center">
                   <thead class="table-primary">
                       <tr>
                           <th>Color Id</th>
                           <th>Color Name</th>
                       </tr>
                   </thead>
                   <tbody>
                       @foreach (var i in product.Details)
                       {
                           <tr>
                               <td>@i.Color.CId</td>
                               <td>@i.Color.CName</td>
                           </tr>
                       }
                   </tbody>
               </table>
           </div>
       </div>
   }
</div>
<section class="mcon" style="display:none;">
   <div class="mbod p-5">
       <div class="macon"></div>
       <hr />
       <div class="modal-footer">
           <button class="btn btn-danger clbtn">Close</button>
       </div>
   </div>
</section>

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.0.0 229 3/10/2025