-
Notifications
You must be signed in to change notification settings - Fork 218
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
[Feature Request] Downstream Web APi services from the templates to the library #403
Comments
jmprieur
changed the title
[Feature Request] Add GraphService and Web APi part of the library
[Feature Request] Add GraphService and Downstream Web APi services from the templates to the library
Aug 5, 2020
Proposed design: Add a
|
jmprieur
changed the title
[Feature Request] Add GraphService and Downstream Web APi services from the templates to the library
[Feature Request] Downstream Web APi services from the templates to the library
Aug 10, 2020
assigning to me as I'm spec-ing it |
jmprieur
added a commit
that referenced
this issue
Aug 13, 2020
…rvice (#447) *ust for #403 I've taken into account the PR review comments of the bigger branch Proposal for Downstream web API support -------------------------------------------- - **Downstream API support** folder contains options, service, extensions - Downstream API options - Updated the Blazor sample to use both the Graph service and the Downstream API service (BlazorServer calls graph) **Todo list sample** - changed the namespace of the model (common to client and service). Ideally we'd put in a shared project. We might do that later. - Updated the `TodoListService` class to leverage the `DownstreamWebApi` service. The code is way simpler!!! - updated the `AppSettings.json` and the `Startup.cs` to leverage these services Co-authored-by: Jean-Marc Prieur <jmprieur@microsoft.com> Co-authored-by: pmaytak <34331512+pmaytak@users.noreply.github.com> Co-authored-by: Jenny Ferries <jeferrie@microsoft.com>
Included in 0.3.0-preview release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
Today the template introduce files to easy calling MIcrosoft Graph that would benefit from being productized in the library
Spec
See: #431
We'd want to be able to set which Microsoft graph endpoint to use (v1.0, Beta, but also national clouds) from the configuration, or programmatically. For instance in the appsettings.json
And be able to reference them in a
CallsDownstreamWebApi
method that would be called underCallsWebApi()
or underAddMicrosoftIdentityWebApp
orAddMicrosoftIdentityWebApi
(to be decided)We'll also provide an override that offers a delegate:
In the controller or a Razor page, or a Blazor page, the GraphServiceClient will be injected by dependency injection and simply used.
The text was updated successfully, but these errors were encountered: