Installation

ASP.net Core

1) Download the MinSetupCoreDemo. 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
wwwroot/js: AwesomeMvc.js, awem.js, utils.js
wwwroot/css: themes folder
3) Add reference to
Omu.AwesomeMvc.dll
and
Omu.Awem.dll
. 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);
});
Optional: 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

1) Download the MinSetupDemo, 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) Open
_Layout.cshtml
and copy the references to the js and css files ( keep the same order ), and the call to
@Html.Awe().Init()
. Optional: 5) Copy the
Utils
and
Helpers
folder, edit the namespaces in the containing cs files to match your project. 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.

Additional notes

Grid crud icons used in our demos are located in
site.css
, to use them copy the code between comments
/* grid btns */
, and the
editdel.png
In the trial download there are binaries (dll files) for mvc3, mvc4, mvc5 and ASP.net Core.