<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: AizenSousuke</title>
    <description>The latest articles on DEV Community by AizenSousuke (@aizensousuke).</description>
    <link>https://dev.to/aizensousuke</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F292220%2Fd8447075-1778-4cd5-831c-1039d4c6f7f3.jpeg</url>
      <title>DEV Community: AizenSousuke</title>
      <link>https://dev.to/aizensousuke</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aizensousuke"/>
    <language>en</language>
    <item>
      <title>Constants in microservice architecture</title>
      <dc:creator>AizenSousuke</dc:creator>
      <pubDate>Thu, 01 Dec 2022 05:23:46 +0000</pubDate>
      <link>https://dev.to/aizensousuke/constants-in-microservice-architecture-4anf</link>
      <guid>https://dev.to/aizensousuke/constants-in-microservice-architecture-4anf</guid>
      <description>&lt;p&gt;In microservice architecture, how does Constants get passed around and used in the different APIs?&lt;/p&gt;

&lt;p&gt;I.e, &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Microservice 1&lt;/li&gt;
&lt;li&gt;Microservice 2
...&lt;/li&gt;
&lt;li&gt;Microservice N&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;// Constants&lt;br&gt;
public const string CONSTANT1 = "xxx";&lt;br&gt;
... &lt;/p&gt;

&lt;p&gt;Where do we put this constant? Do we just create an API that serves all these constant and have other API connect to it to consume it or but it in a separate project and reference it? &lt;/p&gt;

&lt;p&gt;How does frontend JS consume the constant in the C# files then?&lt;/p&gt;

</description>
      <category>design</category>
      <category>ui</category>
      <category>frontend</category>
    </item>
  </channel>
</rss>
