Installation
เพิ่ม Package Source
AtlasX.Engine.Web ให้บริการผ่าน AtlasX NuGet Server ซึ่งต้องเพิ่ม Package source เข้ามาก่อนจึงจะสามารถติดตั้งได้ การเพิ่ม Package source นี้ทำเพียงครั้งเดียวเท่านั้น — หากเคยเพิ่มไว้แล้ว สามารถข้ามขั้นตอนนี้ได้เลย
ผ่านคำสั่ง CLI
dotnet nuget add source https://atlasx.cdg.co.th/nexus/repository/nuget-hosted \
--name atlasx.cdg.co.th \
--username [USERNAME] \
--password [PASSWORD] \
--store-password-in-clear-textหรือเพิ่มลงใน nuget.config
<configuration>
<packageSources>
<add key="atlasx.cdg.co.th" value="https://atlasx.cdg.co.th/nexus/repository/nuget-hosted/" />
</packageSources>
<packageSourceCredentials>
<atlasx.cdg.co.th>
<add key="Username" value="[USERNAME]" />
<add key="ClearTextPassword" value="[PASSWORD]" />
</atlasx.cdg.co.th>
</packageSourceCredentials>
</configuration>Note
ติดต่อ Technology Team(si_apt_tech@cdg.co.th) เพื่อสร้าง Account สำหรับใช้งาน AtlasX Nuget
เพิ่ม Library ใน Project
ผ่านคำสั่ง CLI
dotnet add package AtlasX.Engine.Webหรือเพิ่มในไฟล์ *.csproj
<ItemGroup>
<PackageReference Include="AtlasX.Engine.Web" Version="3.0.0" />
</ItemGroup>