Prototyping_MVC 1.3.1

Prototyping is a collection of helpers for MVC to assist with wireframing.

Quickly generate lorem ipsum for wireframing using the Ipsum helper and fluent api. @Html.Ipsum().h1().p().h2().p()

Easily generate placeholder images using the Placehold helper. @Html.Placehold(300, 400).

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.

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

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

Release Notes

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.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.1 1,280 9/13/2018
1.3.0 5,017 8/31/2015
1.2.0 4,682 5/29/2013
1.1.0 1,970 8/1/2012
1.0.0 1,112 1/20/2012