Standard index.json
Implements the NuGet v3 feed protocol. Modern .NET CLI, Visual Studio, and Rider all consume it natively.
A NuGet v3 feed for the .NET ecosystem — works with the dotnet CLI, Visual Studio, Rider, and any tool that reads NuGet.Config.
Implements the NuGet v3 feed protocol. Modern .NET CLI, Visual Studio, and Rider all consume it natively.
Backend services, console apps, ASP.NET projects, and Windows or Linux build environments.
Public read access over HTTPS. Drop the URL into NuGet.Config or add it via dotnet nuget add source.
# Add the mirror as a source
dotnet nuget add source \
https://mirror.kargadan.ir/repository/nuget-group/index.json \
-n kargadan
# Verify
dotnet nuget list source
Save as ~/.nuget/NuGet/NuGet.Config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="kargadan" value="https://mirror.kargadan.ir/repository/nuget-group/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
<packageSourceMapping>
<packageSource key="kargadan">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
</configuration>
Same content, save at %APPDATA%\NuGet\NuGet.Config.
Place NuGet.Config next to your .sln or .csproj:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="kargadan" value="https://mirror.kargadan.ir/repository/nuget-group/index.json" />
</packageSources>
</configuration>
Kargadan Mirror, source https://mirror.kargadan.ir/repository/nuget-group/index.json.Use the NuGet.Config approach above, or add the source via Settings → Build, Execution, Deployment → NuGet.
# Add or remove sources
dotnet nuget add source https://mirror.kargadan.ir/repository/nuget-group/index.json -n kargadan
dotnet nuget remove source kargadan
# Optionally disable nuget.org so the mirror is the single source of truth
dotnet nuget disable source nuget.org
# Restore using a specific source
dotnet restore --source https://mirror.kargadan.ir/repository/nuget-group/index.json
# Clear local caches
dotnet nuget locals all --clear
FROM docker-mcr-mirror.kargadan.ir/dotnet/sdk:9.0 AS build
WORKDIR /src
COPY NuGet.Config ./
COPY *.csproj ./
RUN dotnet restore
COPY . .
RUN dotnet publish -c Release -o /app
FROM docker-mcr-mirror.kargadan.ir/dotnet/aspnet:9.0
WORKDIR /app
COPY --from=build /app .
ENTRYPOINT ["dotnet", "MyApp.dll"]
name: .NET Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- run: dotnet nuget add source https://mirror.kargadan.ir/repository/nuget-group/index.json -n kargadan
- run: dotnet restore
- run: dotnet build --no-restore
- run: dotnet test --no-build
trigger: [main]
pool: { vmImage: 'ubuntu-latest' }
steps:
- task: UseDotNet@2
inputs: { version: '9.0.x' }
- script: dotnet nuget add source https://mirror.kargadan.ir/repository/nuget-group/index.json -n kargadan
displayName: 'Configure NuGet mirror'
- script: dotnet restore
- script: dotnet build --configuration Release
| Mirror type | Group Aggregated |
| Upstream sources | Chabokan, Pardisco, Jamko, Runflare, NuGet.org |
| Feed version | NuGet v3 |
| Protocols | HTTPS · HTTP |
| Authentication | Not required (anonymous) |
For team projects, commit a NuGet.Config at the solution root. Every developer and CI runner then uses the same sources without per-environment setup.