Skip to content

Conversation

@VedikaGupt
Copy link

@VedikaGupt VedikaGupt commented Jan 20, 2026

Fixes #36559

Summary

Corrected the casing of the dotenv expression in the HTTP files documentation to match the behavior in Visual Studio.

Details

  • Changed {{$dotEnv USERNAME}} to {{$dotenv USERNAME}}
  • This resolves HTTP0012 error when evaluating environment variables

Testing

Not applicable (documentation-only change)


Internal previews

📄 File 🔗 Preview link
aspnetcore/test/http-files.md Use .http files in Visual Studio 2022

@guardrex
Copy link
Collaborator

guardrex commented Jan 20, 2026

Thanks for this, @VedikaGupt.

Note that there's a mention in the paragraph above this that looks like it will require an update, too.

I've pinged Tom to review. He takes care of this particular article.

@VedikaGupt
Copy link
Author

Thanks for the review!! @guardrex, @tdykstra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sample for .env files uses $dotEnv (capital letter E) instead of $dotenv which appear to be case sensitive

3 participants