Skip to content

Conversation

nschonni
Copy link
Contributor

  • Unordered list indentation
  • Added code fence languages
  • Trim trailing/leading spaces


To provide the [!INCLUDE[ssAstoria](../../../../includes/ssastoria-md.md)] runtime with access to the <xref:System.Data.Services.Providers.IDataServiceStreamProvider> implementation, the data service that you create must also implement the <xref:System.IServiceProvider> interface. The following example shows how to implement the <xref:System.IServiceProvider.GetService%2A> method to return an instance of the `PhotoServiceStreamProvider` class that implements <xref:System.Data.Services.Providers.IDataServiceStreamProvider>.

[!code-csharp[Astoria Photo Streaming Service#PhotoServiceStreamingProvider](../../../../samples/snippets/csharp/VS_Snippets_Misc/astoria%20photo%20streaming%20service/cs/photodata.svc.cs#photoservicestreamingprovider)]
Copy link
Member

Choose a reason for hiding this comment

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

I'm a bit confused. Shouldn't the space characters change to _ to match dotnet/samples#810?

And, that begs the question: will other docs need to be updated for those folder and file name changes?

Copy link
Member

Choose a reason for hiding this comment

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

I just saw #11784

If I understand correctly, we should merge this in the following order:
#11783
dotnet/samples#810
#11784

Does that make sense @nschonni ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I thought I had undone all of these to handle them separately. I've rebased these ones out so those other PRs should be independent again

@nschonni nschonni force-pushed the fix--MD007/ul-indent2 branch 3 times, most recently from e74fb07 to 3171cc7 Compare April 12, 2019 01:12
- Unordered list indentation
- Added code fence languages
- Trim trailing/leading spaces
@nschonni nschonni force-pushed the fix--MD007/ul-indent2 branch from 3171cc7 to f253e2c Compare April 12, 2019 01:15
@nschonni
Copy link
Contributor Author

@BillWagner I've rebased this now that the other PRs landed

@nschonni
Copy link
Contributor Author

@BillWagner anything to change here?

@BillWagner
Copy link
Member

@nschonni Thanks for the ping. I was OOF for a long weekend, and this dropped off my radar. Reviewing now.

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

Thanks again for all the work @nschonni

This is great. I'll :shipit: now.

@BillWagner BillWagner merged commit 9ee5cee into dotnet:master Apr 18, 2019
@nschonni nschonni deleted the fix--MD007/ul-indent2 branch April 18, 2019 14:06
@nschonni
Copy link
Contributor Author

@BillWagner not a problem

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.

2 participants