# ===========================================
# .NET / Visual Studio / Rider
# ===========================================

# Build results
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
x64/
x86/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]uild/
[Dd]ebug/
[Rr]elease/
publish/

# Visual Studio
.vs/
*.user
*.suo
*.userosscache
*.sln.docstates
*.rsuser
*_i.c
*_p.c
*_h.h
*.ilk
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Rider
.idea/
*.sln.iml

# Visual Studio Code
.vscode/

# User-specific files
*.DotSettings.user

# NuGet
*.nupkg
*.snupkg
.nuget/
packages/
project.lock.json
project.fragment.lock.json
artifacts/

# ===========================================
# OS Generated
# ===========================================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
desktop.ini

# ===========================================
# Sensitive Information - IMPORTANT!
# ===========================================
# App settings with passwords
appsettings.Development.json
appsettings.Local.json
appsettings.Production.json

# Connection strings and secrets
secrets.json
*.secrets
*.pfx
*.p12

# Environment files
.env
.env.local
.env.*.local
*.env

# ===========================================
# Logs
# ===========================================
logs/
*.log
nlog-*.log

# ===========================================
# Test results
# ===========================================
[Tt]est[Rr]esult*/
*.trx
*.Coverage
*.coveragexml
coverage*.json
coverage*.xml
coverage*.info

# ===========================================
# Database & Migration files
# ===========================================
*.mdf
*.ldf
*.ndf
migration*.sql

# ===========================================
# Temporary files
# ===========================================
*.tmp
*.temp
*.bak
*.swp
*~
~$*

# ===========================================
# Project specific
# ===========================================
# DotnetLib (external library - not tracked)
# lib/*.dll

# Node modules (if using npm for frontend)
node_modules/

# wwwroot uploads
wwwroot/uploads/

# Generated documentation
docs/generated/
