WindnTrees.ICRUDS 0.0.29

.NET Framework 4.7.2
dotnet add package WindnTrees.ICRUDS --version 0.0.29
NuGet\Install-Package WindnTrees.ICRUDS -Version 0.0.29
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.ICRUDS" Version="0.0.29" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WindnTrees.ICRUDS --version 0.0.29
#r "nuget: WindnTrees.ICRUDS, 0.0.29"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install WindnTrees.ICRUDS as a Cake Addin
#addin nuget:?package=WindnTrees.ICRUDS&version=0.0.29

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

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

Version 25 onward support 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.29 Introduces following CRUD2CRUD callback interfaces:

  1. Introduced ICRUDLMCBRepository for client side callback CRUD2CRUD implementation.
  2. Introduced IWCFCRUDLMCBRepository for client side callback CRUD2CRUD implementation.
  3. Introduced IEmptyCRUDLMCBRepository for client side callback CRUD2CRUD implementation.
  4. Introduced IWCFEmptyCRUDLMCBRepository for client side callback CRUD2CRUD implementation.
  5. Introduced IEmptyServiceCB for server side callback CRUD2CRUD implementation.
  6. Introduced IWCFEmptyServiceCB for server side callback CRUD2CRUD implementation.
  7. Introduced IServiceCB for server side callback CRUD2CRUD implementation.
  8. Introduced IWCFServiceCB for server side callback CRUD2CRUD implementation.
  9. Extended ServiceClient and WCFServiceClient for callback (IServiceCB, IWCFServiceCB, IEmptyServiceCB, IWCFEmptyServiceCB) factories and channels support.

CRUD2CRUD CB Example:

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

Benefits:

Invoke server side and client side repository methods over CRUD2CRUD common communication interface.

Download and install from following:

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

API:

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

Github-support:

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

Product Versions
.NET Framework net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on WindnTrees.ICRUDS:

Package Downloads
WindnTrees.CRUDS.Repository

Introduces callback channel repositories.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.29 190 11/4/2022
0.0.28 179 6/26/2022
0.0.27 155 6/17/2022
0.0.26 168 6/14/2022
0.0.25 497 6/5/2022
0.0.24 457 1/27/2021
0.0.23 251 1/22/2021
0.0.22 262 1/21/2021
0.0.20 614 1/4/2021
0.0.19 218 12/30/2020
0.0.18 220 12/27/2020
0.0.17 242 12/8/2020
0.0.16 482 11/29/2020
0.0.15 376 10/31/2020
0.0.14 414 10/27/2020
0.0.13 618 9/20/2020
0.0.12 722 8/12/2020
0.0.11 267 8/12/2020
0.0.10 603 5/18/2020
0.0.8 438 1/17/2020
0.0.4 353 12/20/2019
0.0.2 385 12/16/2019
0.0.1 398 12/15/2019

Introduces WCF CRUD2CRUD callback channel support.