WindnTrees.CRUDS 0.0.21

dotnet add package WindnTrees.CRUDS --version 0.0.21
NuGet\Install-Package WindnTrees.CRUDS -Version 0.0.21
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WindnTrees.CRUDS" Version="0.0.21" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WindnTrees.CRUDS --version 0.0.21
#r "nuget: WindnTrees.CRUDS, 0.0.21"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WindnTrees.CRUDS as a Cake Addin
#addin nuget:?package=WindnTrees.CRUDS&version=0.0.21

// Install WindnTrees.CRUDS as a Cake Tool
#tool nuget:?package=WindnTrees.CRUDS&version=0.0.21

WCF CRUDS API: Develop cross-process and cross-platform distributed applications using WCF (Windows Communication Foundation) CRUDS API. #WCF #CRUD2CRUD #CRUD2CRUD2CRUD #CRUDS http://www.invincibletec.com/tutorial/detail/introduction-to-wcf-cruds

Benefits:

  1. Generalized Communication CRUD2CRUD (CRUDS)
  2. One interface, no need of multiple service contract interfaces.
  3. CRUD Repositories for data persistence.
  4. Extend CRUD repositories with customized functions and integrate in CRUD controllers (CRUD Services) with one IService (or IWCFService).
  5. Invoke remote methods from clients (ServiceClients CRUDController) by specifying server side method "target" names.
  6. Support for MVVM desktop application development.
  7. WCF CRUDS application server.
  8. Cross-process and cross-platform clients.
  9. Data communication using synchronous (IService) and asynchronous (IServiceAsync) interface channels.
  10. Support for event driven response handling.
  11. Reduced effort and cost of developing multiple service contracts. Think of CRUDL communication with CRUD repository for persistence.
  12. Reduced complexity and elaborated architecture (CRUDL data communication).
  13. Distribute applications with simple interfacing model

This version introduces EmptyCRUD, EmptyCRUD2EmptyCRUD communication design pattern.

EmptyCRUD2EmptyCRUD service interface is class or type function scope design pattern without parameterized messaging to repository implementations, data communication are empty messages.

Server side is responsible for object creation, reading, updating, deletion and listing. Order your CRUDL actions with latest record, create (latest), read (latest), update (latest), delete (latest).

Example:

https://github.com/shamszia/windntrees.support/tree/master/wcfwpfcruds

Host Services:

StartService("TCP.Adapter.Product.Empty.IWCFService", typeof(WindnTrees.ICRUDS.IWCFEmptyService<Application.Models.Standard.DataAccess.Adapter.Product>), typeof(Application.WCF.Server.Adapter.Repositories.ProductAdapterEmptyRepository), null, "net.tcp", "127.0.0.1", "9092", "/adapter/product/empty", 1, false); StartService("TCP.Adapter.Product.Empty.IWCFService.Secure", typeof(WindnTrees.ICRUDS.IWCFEmptyService<Application.Models.Standard.DataAccess.Adapter.Product>), typeof(Application.WCF.Server.Adapter.Repositories.ProductAdapterEmptyRepository), null, "net.tcp", "127.0.0.1", "9093", "/secure/adapter/product/empty", 1, true);

Consume Services:

var wcfServiceController = new WCFEmptyServiceController<Product>(ConfigurationManager.AppSettings["IPAddress"], ConfigurationManager.AppSettings["TCPTLSPort"], "/secure/adapter/product/empty", "product", true, true); m_EmptyCRUDView = new EmptyCRUDView<Product>(wcfServiceController, ControllerType.WCFEmptyServiceController, new ProductViewModel());

Try appropriate combination of "http", and "net.tcp" protocol constructor arguments with hosting configurations.

You may also use service client directly with hosted service.

m_TCPWCFServiceClient = new WCFServiceClient<IDataAccess.Standard.Adapter.Models.Product>(ChannelsAndBindings<IDataAccess.Standard.Adapter.Models.Product>.GetEmptyTcpWCFChannelFactory(ChannelsAndBindings<IDataAccess.Standard.Adapter.Models.Product>.GetServiceAddress("net.tcp", "127.0.0.1", "8082", "product/wcf/empty")));

Version 0.0.20 introduces following callback channel interfaces:

  1. Introduces AdapterServiceCBEmptyRepository callback channel service repository.
  2. Introduces AdapterServiceCBRepository callback channel service repository.
  3. Introduces ServiceCBEmptyRepository callback channel service repository.
  4. Introduces ServiceCBRepository callback channel service repository.

Benefits:

Host service repositories that support server side and client side repositories and enable methods invocations over CRUD2CRUD common communication interface. One interface (CRUD2CRUD) communication.

CRUD2CRUD CB Example:

https://github.com/shamszia/windntrees.support/tree/master/windntrees-crud2crud-cb

Download and install from following:

https://www.nuget.org/profiles/invincible_technologies

API:

http://www.invincibletec.com/softwares/windntrees/windntrees.cruds0019/index.html

Github-support:

https://github.com/shamszia/windntrees.support/blob/master/README.md

14-09-2023

Reference:

Equated Accounting Math Research Book

Get to know about equation accountancy math, it is natural, counts and completes equation. CRUD2CRUD is CRUD balance where CRUD (is a design value). "A design is about design".

Note: Book does not explain CRUD2CRUD

Amazon:

https://www.amazon.com/dp/B0CHL52XB2

Eliva Bookstore:

https://www.elivabooks.com/en/book/book-3803083425

Author's Profile:

https://www.elivabooks.com/en/authors/author-1123332426

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.21 368 11/7/2022
0.0.20 315 11/4/2022
0.0.19 374 6/5/2022
0.0.18 385 7/12/2021
0.0.16 431 11/29/2020
0.0.15 418 10/27/2020
0.0.14 382 8/26/2020
0.0.13 463 8/12/2020
0.0.12 417 6/10/2020
0.0.11 433 5/18/2020
0.0.10 431 1/17/2020
0.0.6 458 1/11/2020
0.0.4 478 12/20/2019
0.0.2 477 12/16/2019
0.0.1 476 12/15/2019

Introduces CRUD2CRUD (server side and client side) callback channel support.