Installation

ASP.net Core

1) Download the MinSetupCoreDemo. 2) Copy from it and put in the same folders in your solution the following:
wwwroot/js ( `AwesomeMvc.js, awem.js, utils.js` )
wwwroot/css/themes folder
3) Install
Omu.AwesomeMvc.Trial
and
Omu.Awem.Trial
nuget packages. 4) Open
_Layout.cshtml
and copy the references to the js and css files ( keep the same order ), and the call to
@Html.Awe().Init()
. 5) In
Startup.cs -> ConfigureSerices
add/merge this (this is for the metadata attributes):
var provider = new AweMetaProvider();
services.AddMvc(o =>
{
    o.ModelMetadataDetailsProviders.Add(provider);
});
6) Copy the
Utils
and
Helpers
folder, and
ViewModel/Input/DeleteConfirmInput.cs
, edit the namespaces in the copied
.cs
files to match your project. 7) Copy/merge the content of
Views\_ViewImports.cshtml
, you need to modify some lines to match the namespaces of your project (e.g.
MyProject.Helpers
instead of
MinSetupCore.Helpers
). 8) Copy
Shared/Delete.cshtml
,
Shared/_FieldLayout.cshtml
, and
Shared/EditorTemplates
folder.

ASP.net MVC 5/4/3

Method1 1) Download the minimum setup demo from here, 2) Copy from it and put in the same folders in your solution the following:
libs folder: Omu.AwesomeMvc.dll/xml, Omu.Awem.dll/xml
Scripts folder: AwesomeMvc.js, awem.js, utils.js
Content/themes folder: copy the whole folder
3) Reference
Omu.AwesomeMvc.dll
and
Omu.Awem.dll
in your web project. 4) Copy the
Utils
and
Helpers
folder, edit the namespaces in the containing cs files to match your project. 5) Open
_Layout.cshtml
and copy from there the script and link tags, the order of the script tags is important: jQuery.js, AwesomeMvc.js, awem.js, utils.js, and jQueryUI can be at the end. Call
@Html.Awe().Init()
after utils.js and jquery.validate.js. 6) Assuming you're using razor views (cshtml), open
Views\web.config
and in
<system.web.webPages.razor> -> <pages> -> <namespaces>
add
<add namespace="Omu.AwesomeMvc" />
<add namespace="Omu.Awem.Helpers" />
<add namespace="YourAppNamespace.Utils" />
<add namespace="YourAppNamespace.Helpers.Awesome" />
on web-forms views (aspx, ascx) you would add the same in the main web.config in
<system.web> -> <pages> -> <namespaces>
7) You can also copy the
Views/Shared/EditorTemplates
folder and
Views/Shared/Delete.cshtml
, if you're following/copying from our demos it is likely that you're going to need them. Method2 (minimal) 1) Get the installation files if you havent already. 2) Add reference to
Omu.AwesomeMvc.dll
,
Omu.Awem.dll
. 3) In
_Layout.cshtml / Site.master
add
AwesomeMvc.js, awem.js, utils.js, AwesomeMvc.css, jquery.js, jquery-ui.js, jquery-ui.css
and call
@Html.Awe().Init()
, example:
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewBag.Title - ASP.net MVC Awesome MVC5 min setup demo</title>
    
    <link href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/wui/AwesomeMvc.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/wui/awem.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Common.css")" rel="stylesheet" type="text/css" />

    <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
    @*jquery needs to be at the top*@
</head>
<body>
    <div class="main">
        @RenderBody()
    </div>
    
    <script src="@Url.Content("~/Scripts/AwesomeMvc.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/awem.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/utils.js")" type="text/javascript"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.min.js" type="text/javascript"></script>
    
    @*call init after utils.js and validate.js*@
    @Html.Awe().Init()

    <script src="http://ajax.aspnetcdn.com/ajax/mvc/5.1/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="http://code.jquery.com/ui/1.11.3/jquery-ui.min.js"></script>
</body>
</html>
jQuery.js needs to be at the top of the page, not bottom, basically before any awesome helper is declared. In the Method1 above you also copy the custom crud helpers and other utils classes.

Additional notes

In the trial download there are binaries (dll files) for mvc3, mvc4, mvc5 and ASP.net Core.