.Net SDK best practices for large scale systems

Development Acceleration Program

Language
English

As promised during the webinar, we are sharing the session recording link and answers to unanswered questions.

This webinar covered the following topics:

  • Optimized entity data retrieval: caching, paging, and memory considerations

  • Efficient entity manipulations: transactions

  • Scale considerations for report queries

  • Introduction to the new AccessControlRawEventReportQuery

.Net SDK best practices for large scale systems

Main Q&A from the 3 webinars

Q1: Is there a LastChanged property available on Entities?

A1: We do not have a LastChanged property for individual entities. However, the last modification is available and exposed through the AuditTrailsQuery.

Q2: What is the best way to check if the entities filtered are in the cache?

A2: You can use the GetEntities method within the Engine class to validate entities within your local entity cache (IE). This ensures queries for getting entities come from the cache, unless invalidated (modified).

Q3: Did insertion date exist in any way for transactions in 5.10 and earlier?

A3: No, the new query uses a new table that stores the information about insertion date and links to the existing Access Manager event tables. All added in Security Center 5.11.

Q4: Is the typical use case for this code in a server environment, or is it also applicable to embedded devices?

A4: The code that was presented today would generally run in a server environment.

Q5: Are there available options to simulate larger-scale facilities with the SDK? And if so, how would I go about setting that up in my test environment?

A5: The SDK can be used to create many entities and potentially also to change, add, and delete entities on a schedule. This can be done through macros. Some events can also be triggered automatically through the SDK. The most important part is to verify how an SDK integration behaves when the system contains many entities with which the application interacts.

Q6: Are there types of data that you would not want to obtain from a cache?

A6: No, in general, any entities that you want your application to use should be added to the local entity cache.

Q7: What is the best place to direct questions regarding specific namespaces or endpoints for the WebSDK?

A7: If you have any questions related to specific classes or endpoints to use in the WebSDK, open a support case on GTAP.

Need further technical assistance with our API & SDK packages?