WindnTrees.Abstraction.WebForms
1.0.1
dotnet add package WindnTrees.Abstraction.WebForms --version 1.0.1
NuGet\Install-Package WindnTrees.Abstraction.WebForms -Version 1.0.1
<PackageReference Include="WindnTrees.Abstraction.WebForms" Version="1.0.1" />
<PackageVersion Include="WindnTrees.Abstraction.WebForms" Version="1.0.1" />
<PackageReference Include="WindnTrees.Abstraction.WebForms" />
paket add WindnTrees.Abstraction.WebForms --version 1.0.1
#r "nuget: WindnTrees.Abstraction.WebForms, 1.0.1"
#:package WindnTrees.Abstraction.WebForms@1.0.1
#addin nuget:?package=WindnTrees.Abstraction.WebForms&version=1.0.1
#tool nuget:?package=WindnTrees.Abstraction.WebForms&version=1.0.1
CRUD2CRUD (Facade Anti-Facade (Sub-System Independent) Interface Controller System)
WindnTrees.NET abstraction library for WindnTrees application project. WindnTrees.Abstraction.WebForms extends .NET ApiController controller and provide BasicController, ContentController, CRUDController, CRUDLController and MultipartFormController that are required when writing a WindnTrees application.
WebForms Specific Required Settings:
Configure package with following settings in Application_Start method in Global.asax file.
GlobalConfiguration.Configuration.MapHttpAttributeRoutes(new DefaultRouteProviderSetting());
Above custom setting class DefaultRouteProviderSetting enables web methods inheritance on derived ApiControllers.
Learn CRUD, CRUD2CRUD (CRUDS) programming in WindnTrees JavaScript, ASP .NET and ASP .NET Core. Develop applications with minimal effort using client and server side CRUD controllers and views.
Benefits:
- MVVM
- CRUD2CRUD Controllers
- CRUD Repositories
- Neat Views and Scripting
- Professional Practice, and
- Simple Codebase
Support Websites & Resources:
https://www.invincibletec.com
https://github.com/shamszia/windntrees
https://github.com/shamszia/windntrees.nuget.support
https://github.com/shamszia/windntrees.support
https://github.com/shamszia/windntrees.websites
https://www.invincibletec.com/tutorial/detail/crudview-bootstrap-admin-template-website
https://www.invincibletec.com/tutorial/detail/getting-started-with-windntrees
https://www.invincibletec.com/softwares/windntrees/windntrees131/index.html (API)
Code Example:
Following is a client-side HTML Javascript CRUDView controller example.
var crudView = new CRUDView({
'uri': '/color',
'observer': new CRUDObserver({ 'contentType': new Color({}), 'messages': intialize(new MessageRepository()) })
});
Following is a server-side CRUDLController example, AntiforgeryFormController extends CRUDLController.
public class ColorController : CRUDLController<Color>
{
protected override DbContext GetDBContext()
{
return new LocalAppContext();
}
protected override CRUDLMRepository<Color> GetRepository()
{
return new ColorRepository((LocalAppContext)GetDBContext());
}
}
CRUDView and CRUDLController perform data (Color) communication with their own automated, integrated processing tasks.
CRUDView binds HTML view through Knockoutjs bindings.
CRUDLController integrate repositories for persistence and provide a mechanism to map between controller requests and repository methods without extending interface.
Typically above lines of code complete interfacing and data communication requirements with built-in CRUDLM intent communication. Increasing productivity, a typical CRUD2CRUD programmer can do 8 to 15 data controllers interfaced and ready. General lists (CRUDSLists) may be finished in a day time.
CRUDLMRepository based on EntityFramwork repositories centralize conditional and sorting logic reducing code.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.WebApi.Core (>= 5.2.7)
- Newtonsoft.Json (>= 12.0.3)
- WindnTrees.CRUDS.Repository (>= 1.0.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Introduces EmptyCRUD2EmptyCRUD.