• Stars
    star
    304
  • Rank 137,274 (Top 3 %)
  • Language
    C#
  • License
    MIT License
  • Created about 13 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

MVC5, Core or standalone - Generate rich HTML5 forms from your ViewModels, or build them programatically

FormFactory - dynamic HTML form engine

Visit http://formfactoryaspmvc.azurewebsites.net/ for live documentation and to see what FormFactory can do!

Installation

For ASP.NET MVC 5

install-package FormFactory install-package FormFactory.AspMvc install-package EmbeddedResourceVirtualPathProvider * (or you can install FormFactory.Templates if you don't want to use the EmbeddedResourceVirtualPathProvider)

For ASP.NET MVC Core

install-package FormFactory install-package FormFactory.AspNetCore configure core to serve embedded files - see startup.cs lines 36 and 60

For both

Add the assets to your page <link href="/Content/FormFactory/FormFactory.css" rel="stylesheet" type="text/css"/> <script src="/Scripts/FormFactory/FormFactory.js" type="text/javascript"></script>

How to use it

Inside an cshtml file: @FF.PropertiesFor(someObject).Render(Html);

.PropertiesFor(someObject) will reflect over the someObject and create an enumerable of PropertyVm objects, and .Render(Html) will render each object out the page

See the documentation site for how to mark up your viewmodel

More Repositories

1

OneOf

Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching
C#
2,718
star
2

ValueOf

Deal with Primitive Obsession - define ValueObjects in a single line (of C#).
C#
758
star
3

mvc.jquery.datatables

ASP MVC Helpers for connecting IQueryables with the amazing DataTables.net plugin
JavaScript
185
star
4

LinqToAnything

Turn any data source into an IQueryable
C#
87
star
5

EmbeddedResourceVirtualPathProvider

A custom VirtualPathProvider for IIS - load views and assets from Embedded Resources in referenced assemblies
C#
62
star
6

JsonDiffPatch

C#
45
star
7

PieDb

MIT licenced .NET document db with IQueryable support
C#
22
star
8

WebAPI-Proxy

An HTTP proxy built on ASP.NET Web API
C#
20
star
9

metalinq

serialize, modify, and deserialize LINQ Expressions
C#
19
star
10

Harden

Harden your .NET objects with dynamic access controls. Tie domain behaviour to objects not classes!
C#
12
star
11

Noodles

a .NET library for building model driven web/API/mobile* applications on top of ASP MVC or WebApi - SEE BELOW!
JavaScript
9
star
12

Giveth

The less annoying BDD / Gherkin library for .NET
C#
9
star
13

jquery-datatables-column-filter

JavaScript
7
star
14

SimpleScriptRunner

Very simple way to execute MSSQL change scripts
C#
7
star
15

Linqdex

lucene indexing for in-memory collection objects (a proof of concept)
C#
6
star
16

SirenDotNet

Classes for working with Siren hypermedia format
C#
5
star
17

RangeQueryDotNet

Middleware to allow use of custom range headers for filtering and transforming HTTP responses
C#
4
star
18

MigrationScriptGenerator

C#
4
star
19

Handlebars.Net.Mvc

CSS
3
star
20

NTraits

A runtime trait/mixin library for .NET
C#
3
star
21

NhCodeFirst

Code first NHibernate mappings - create your domain model first and generate your database
C#
3
star
22

HyperMapper

A hypermedia (REST) endware for Owin
C#
2
star
23

DependencySort

c# Library for sorting objects in a dependency heirarchy
C#
2
star
24

MiniProfilerDashboard

A portable area to show you your miniprofiler stats
JavaScript
2
star
25

AspNetCoreJTokenModelBinder

ASP.NET Core ModelBinder for NewtonSoft JSON.NET JToken
C#
2
star
26

ObservableCollectionHelpers

C#
2
star
27

Sourcery

Black magic automatic event sourcing in memory database
C#
1
star
28

Walkies

C#
1
star
29

express-jmesrange

TypeScript
1
star
30

SirenToHtmlClientProxy

C#
1
star
31

JsViewEngine

A prototype server side Javascript ASP MVC view engine
JavaScript
1
star
32

Siggs

Generate types at runtime for method signatures for model binding
C#
1
star
33

PiwikTrackerSharp

C#
1
star