Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

ASP.NET Core Template Pack in the corporate environment - Proxy Authentication Required #438

Closed
@EDTInfrastructure

Description

@EDTInfrastructure

OK, 1st up apologies if this is the wrong place for this but it's where Steve Sanderson's blog (http://blog.stevensanderson.com/2016/10/04/angular2-template-for-visual-studio/) pointed to for issues on the ASP.NET Core Template Pack. I saw Steve present at MS future decoded 2016 and really wanted to try this out back in the office as a complete newbie to web development. My issue is integration of nuget/VS 2015 with this template when fetching packages like Microsoft.AspNetCore.AngularServices. I'm obviously now behind a proxy server in the corporate environment so I get "Response status code does not indicate success: 407 (Proxy Authentication Required)" for all the packages required. How would I configure this to work with the proxy server?

Solved!

  1. Started by updating my nuget version:
    nuget update self

  2. Added proxy details to the config file:
    nuget config -Set http_proxy=http://username:[email protected]:port

Magic - only thing I hate is nugget leaving my plain text password in %appdata%\NuGet\NuGet.Config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions