Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the capability of calling a Web API to the mvc2 template #209

Merged
merged 9 commits into from
Jun 17, 2020

Conversation

jmprieur
Copy link
Collaborator

@jmprieur jmprieur commented Jun 13, 2020

Adding the capability of calling a Web API to the mvc2 template
Contributes to #196

To test it:

msbuild /t:pack
cd bin\Debug
dotnet new -i Microsoft.Identity.Web.ProjectTemplates.0.1.4.nupkg
mkdir test
dotnet new mvc2 --auth SingleOrg --called-api-url "https://graph.microsoft.com/beta" --called-api-scopes "user.read"

to un-install the templates

cd bin\Debug
dotnet new -u Microsoft.Identity.Web.ProjectTemplates.0.1.4.nupkg

To test it:
msbuild /t:pack
cd bin\Debug
dotnet new -i Microsoft.Identity.Web.ProjectTemplates.0.1.4.nupkg
mkdir test
dotnet new mvc2 --auth SingleOrg --called-api-url "https://graph.microsoft.com/beta" --called-api-scopes "user.read"

to un-install the templates
cd bin\Debug
dotnet new -u Microsoft.Identity.Web.ProjectTemplates.0.1.4.nupkg
@jmprieur jmprieur requested a review from jennyf19 June 13, 2020 21:14
@jmprieur jmprieur marked this pull request as draft June 13, 2020 21:31
@jmprieur
Copy link
Collaborator Author

@jennyf19 : I've fixed the indentation issues.

@jennyf19
Copy link
Collaborator

@jmprieur looks great.
:shipit:

@jmprieur jmprieur marked this pull request as ready for review June 13, 2020 21:52
Copy link
Collaborator

@jennyf19 jennyf19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this is a good idea for now.

@jmprieur jmprieur merged commit 4051a49 into master Jun 17, 2020
@jmprieur jmprieur deleted the jmprieur/templatesCallingApi branch June 17, 2020 19:41
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.

3 participants