Prototyping_MVC 1.3.1

.NET Framework
Install-Package Prototyping_MVC -Version 1.3.1
dotnet add package Prototyping_MVC --version 1.3.1
<PackageReference Include="Prototyping_MVC" Version="1.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Prototyping_MVC --version 1.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Prototyping_MVC, 1.3.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Prototyping_MVC as a Cake Addin
#addin nuget:?package=Prototyping_MVC&version=1.3.1

// Install Prototyping_MVC as a Cake Tool
#tool nuget:?package=Prototyping_MVC&version=1.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Prototyping for ASP.Net MVC The Prototyping for MVC package provides a fluent API that creates Lorem Ipsum text and placeholder images at runtime using simple helper extension methods. The Prototyping package for MVC is specifically for reducing prototyping markup.

Install Prototyping for MVC via NuGet: http://nuget.org/packages/Prototyping_MVC or PM> Install-Package Prototyping_MVC

Getting started.

@using Prototyping.Ipsum;
@using Prototyping.Placeholdit;
//Ipsum examples //Random paragraph
@Html.Ipsum()
//Paragraph
@Html.Ipsum().p()
//Four paragraphs, ten sentences
@Html.Ipsum().p(4, 10)
//Paragraph with the attribute class="fancy"
@Html.Ipsum().p(htmlAttributes: new { @class = "fancy" })
//h1 tag
@Html.Ipsum().h1()
//h1 tag, just one word long
@Html.Ipsum().h1(1)
//h2 tag, with the attribute data-special="true"
@Html.Ipsum().h2(5, new { data_special = "true" })
//unordered list
@Html.Ipsum().ul()
//unordered list of links
@Html.Ipsum().ul(links: true)
//a mock blog post
@Html.Ipsum().BlogPost()
//non HTML ipsum
@Html.Ipsum().Words(50)
@Html.Ipsum().Paragraphs(2)
//Fluent api
@Html.Ipsum().h1().p().h2().p().h3().ol(10,3, true)
//Image placeholder
@Html.Placehold(300,300)
//Table Builder
@Html.Ipsum().Table(10,6,new string[]{"d","t","n"} )
Credits Placeholder helper uses the http://placehold.it service and requires a network connection.

NLipsum generator http://code.google.com/p/nlipsum/ for the Lorem Ipsum engine

Product Versions
.NET Framework net
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Prototyping_MVC:

Package Downloads
KendoQsBoilerplate

Learn how to get started with Telerik UI for ASP.NET MVC with this step by step turorial.

StyleGuideKit

This is a starter kit for creating a Style Guide for your MVC application. This kit was created as a code sample for the article On Creating a Live Style Guide for MVC Application Development (Simple-Talk.com).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.1 3,463 9/13/2018
1.3.0 6,497 8/31/2015
1.2.0 7,408 5/29/2013
1.1.0 2,517 8/1/2012
1.0.0 1,651 1/20/2012

1.3
Added htmlAttributes to the table API

1.2
Added table element

1.1
Added dl > dd element

1.0
Initial release

Placeholder helper uses the http://placehold.it/ service and requires a network connection.
Credits to http://code.google.com/p/nlipsum/ for the NLipsum generator.