<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Other services :: Juice&#39;s documentation</title>
    <link>https://docs.pavellis.com/other_services/index.html</link>
    <description>Logging service&#xA;Audit service&#xA;File storage&#xA;Plugins</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 30 Sep 2024 08:36:48 +0700</lastBuildDate>
    <atom:link href="https://docs.pavellis.com/other_services/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Logging</title>
      <link>https://docs.pavellis.com/other_services/logging/index.html</link>
      <pubDate>Mon, 03 Apr 2023 21:02:02 +0700</pubDate>
      <guid>https://docs.pavellis.com/other_services/logging/index.html</guid>
      <description>Versions&#xD;latest&#xD;7.0.2&#xD;Quick access File logger SignalR logger Db logger File logger provider Purposes Separate log folder for services Limit log file size Limit the number of log files Separate log file for job Usage Configure log builder Call AddFileLogger() on the logging builder to add a customized file logger provider.</description>
    </item>
    <item>
      <title>Audit services</title>
      <link>https://docs.pavellis.com/other_services/audit/index.html</link>
      <pubDate>Mon, 03 Apr 2023 20:23:30 +0700</pubDate>
      <guid>https://docs.pavellis.com/other_services/audit/index.html</guid>
      <description>Versions&#xD;latest&#xD;7.0.2&#xD;Quick access Data audit Configure entity model Implement an auditable DbContext Handle DataEvent Default audit service Core concept Usage Configuration Programming API Multi-tenant Data audit We already have a data audit framework based on EF Core and fully implemented in the DbContextBase abstract class. It will send a DataEvent via MediatR’s notification, the object contains:</description>
    </item>
    <item>
      <title>File storage</title>
      <link>https://docs.pavellis.com/other_services/file_storage/index.html</link>
      <pubDate>Fri, 31 Mar 2023 10:58:47 +0700</pubDate>
      <guid>https://docs.pavellis.com/other_services/file_storage/index.html</guid>
      <description>In this section, we introduce File storage to build a file management system.&#xA;Purposes Provides a web API for large file uploads and a javascript library to working on web client Resumeable upload process Easily integrated with MAM system Multiple file transfer protocols on the backend Multiple storages on the same backend Concept File storage sequence diagram IStorageResolver This service will resolves Storage according to its identity (it is storage’s web endpoint by default).</description>
    </item>
    <item>
      <title>Plugins</title>
      <link>https://docs.pavellis.com/other_services/plugins/index.html</link>
      <pubDate>Sat, 23 Sep 2023 15:54:24 +0700</pubDate>
      <guid>https://docs.pavellis.com/other_services/plugins/index.html</guid>
      <description>We have implemented a plugin management service that supports application load and execute service from plugin by load its assembly dynamically.&#xA;Plugin sequence diagram To implement plugin pattern, you first understanding the AssemblyLoadContext.&#xA;Core concept Application The application will host all services including the IPluginServiceProvider and IPluginsManager services. Application accesses Plugin services through IPluginServiceProvider, and manages plugins (Load/Unload) via IPluginsManager.&#xA;PluginsManager This service manages all plugins by Load/Unload them. Some Shared Services can be shared between Application and Plugins when we load them.</description>
    </item>
    <item>
      <title>Measurement</title>
      <link>https://docs.pavellis.com/other_services/measurement/index.html</link>
      <pubDate>Mon, 30 Sep 2024 08:36:48 +0700</pubDate>
      <guid>https://docs.pavellis.com/other_services/measurement/index.html</guid>
      <description>This service is useful for measure the execution time of a method by create the execution scopes and checkpoints in your code, and then print the details of execution time step by step to determine where is the slowly code. You can use it with new transient instance to meansure inside a class, method, or use dependency injection pattern to meansure cross services.&#xA;ITimeTracker timeTracker = new TimeTracker(); using (timeTracker.BeginScope(&#34;Test&#34;)) { // Do something await Task.Delay(12); timeTracker.Checkpoint(&#34;Checkpoint 0&#34;); using (timeTracker.BeginScope(&#34;Inner Test&#34;)) { // Do something await Task.Delay(15); using (timeTracker.BeginScope(&#34;Inner Inner Test&#34;)) { // Do something timeTracker.Checkpoint(&#34;Checkpoint 1.1&#34;); await Task.Delay(20); timeTracker.Checkpoint(&#34;Checkpoint 1.2&#34;); } } timeTracker.Checkpoint(&#34;Checkpoint 1&#34;); using (timeTracker.BeginScope(&#34;Inner Test 2&#34;)) { // Do something await Task.Delay(10); timeTracker.Checkpoint(&#34;Checkpoint 1.3&#34;); timeTracker.Checkpoint(&#34;Checkpoint 1.4&#34;); } } Console.WriteLine(timeTracker.ToString()); // Output: _______________________________________________________ | Scope | Depth | Elapsed Time | |-------------------------------------------------------| | « Test | 1 | › 429.7 µs | | › Checkpoint 0 | 1 | + 16.21 ms | | « Inner Test | 2 | › 16.67 ms | | « Inner Inner Test | 3 | › 31.08 ms | | › Checkpoint 1.1 | 3 | + 4.2 µs | | › Checkpoint 1.2 | 3 | + 31.89 ms | | » Inner Inner Test | 3 | 32.10 ms | | » Inner Test | 2 | 46.77 ms | | › Checkpoint 1 | 1 | + 46.83 ms | | « Inner Test 2 | 2 | › 63.46 ms | | › Checkpoint 1.3 | 2 | + 15.07 ms | | › Checkpoint 1.4 | 2 | + 2.1 µs | | » Inner Test 2 | 2 | 15.07 ms | | » Test | 1 | 78.13 ms | |-------------------------------------------------------| | Total | | 79.36 ms | &#39;-------------------------------------------------------&#39;&#xD;Inside the Elapsed Time column:</description>
    </item>
  </channel>
</rss>