This project is read-only.

ante marcus

Simple lorem Ipsum generator helper for Web matrix web page projects

Lorem Ipsum generator allows web page designers to quicly add dummy content to their site.
Developed in C# , you no longer have to worry about writing dummy content will testing your pages.
Just enter the following code :
and voila !

How to use it in your WebMatrix web pages ?

In the root of you site , create a folder named APP_CODE and put the provided Csharp class in it ( LoremIpsum.cs and RandomStringArrayTool.cs )

Within your html code, in a cshtml file , put the following statement :


availables options are :

- word number
- number of words in a paragraph
- apply a CSS class ( boolean ) ?
- the name of the CSS class to apply

for instance :


will generate a 200 words block of 2 paragraphs , and apply a CSS class name myClass on it.

The code is published under MIT license.

Enjoy !

Ante Marcus

Additional information on starting a new project is available here: Project Startup Guide.

Last edited Oct 7, 2010 at 9:47 AM by camus2, version 5