ActionExportModule 1.0.2
ActionExportModule
ActionExportModule, ASP.NET Core API projelerinde tanımlı olan tüm aksiyonları (action) alır ve bu aksiyonların bilgilerini JSON formatında dışa aktarır.
Bu modul JSON dosyasının adı actions.json olacak şekilde projenin ana dizinine çıkartır.
Projeye Ekleme
Windows : %appdata%\NuGet\NuGet.Config Lİnux Veya Mac : ~/.nuget/NuGet/NuGet.Config
...
<packageSources>
...
<add key="localnuget.roboliza.com" value="http://172.16.33.42:5011/v3/index.json" protocolVersion="3" allowInsecureConnections="true" />
<add key="nuget.roboliza.com" value="https://nuget.roboliza.com/v3/index.json" protocolVersion="3" allowInsecureConnections="true" />
</packageSources>
Dockerfile Dosyasına Ekleme
RUN dotnet nuget add source http://172.16.33.42:5011/v3/index.json
RUN dotnet nuget add source https://nuget.roboliza.com/v3/index.json
ActionExportModule Projeye Dahil Etme
Program.cs
public void ConfigureServices(IServiceCollection services)
{
services.AddEndpointExporterModule();
}
public void Configure(IApplicationBuilder app)
{
string serviceName = "ServiceName"
app.UseEndpointExporterModule(serviceName);
}
No packages depend on ActionExportModule.
.NET 6.0
- Newtonsoft.Json (>= 13.0.3)
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.2 | 268 | 01/15/2025 |