v3 feed

Standard index.json

Implements the NuGet v3 feed protocol. Modern .NET CLI, Visual Studio, and Rider all consume it natively.

.NET

For C#, F#, ASP.NET

Backend services, console apps, ASP.NET projects, and Windows or Linux build environments.

Anonymous

No sign-in required

Public read access over HTTPS. Drop the URL into NuGet.Config or add it via dotnet nuget add source.

Repository URL

NuGet v3 · HTTPS · recommended
https://mirror.kargadan.ir/repository/nuget-group/index.json
NuGet v3 · HTTP
http://mirror.kargadan.ir/repository/nuget-group/index.json

Quick start

# 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

NuGet.Config

User-level (Linux / macOS)

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>

User-level (Windows)

Same content, save at %APPDATA%\NuGet\NuGet.Config.

Project / solution level

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>

IDE setup

Visual Studio (Windows)

  1. Open Tools → NuGet Package Manager → Package Manager Settings.
  2. Select Package Sources.
  3. Click + and add: name Kargadan Mirror, source https://mirror.kargadan.ir/repository/nuget-group/index.json.
  4. Move it to the top of the list and click Update then OK.

JetBrains Rider · Visual Studio for Mac

Use the NuGet.Config approach above, or add the source via Settings → Build, Execution, Deployment → NuGet.

.NET CLI commands

# 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

Docker example

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"]

CI / CD

GitHub Actions

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

Azure DevOps

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 information

Mirror typeGroup Aggregated
Upstream sourcesChabokan, Pardisco, Jamko, Runflare, NuGet.org
Feed versionNuGet v3
ProtocolsHTTPS · HTTP
AuthenticationNot required (anonymous)
Solution-level tip

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.