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

Conversation

@katelmaroney
Copy link

No description provided.

Copy link
Member

@AArnott AArnott left a comment

Choose a reason for hiding this comment

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

Thanks for this. It looks much better.

{
[ConnectedServiceHandlerExport("Contoso.SampleService",
AppliesTo = "CSharp+Web")]
AppliesTo = "CSharp | Web")]
Copy link
Member

Choose a reason for hiding this comment

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

This seems like an odd AppliesTo expression, to work with any Web project and also work with any C# project. So you work with console apps, class libraries, etc. and also VB web projects.
I think the and operator used before made more sense. Why the change?

You will implement the changes to the app developer's project in the AddServiceInstanceAsync method. We'll show you to do in a later section. For now, we simply return a simple instance of the AddServiceInstanceResult.

F5 again, create a C# Web project, open the Connected Service dialog, and you will see the sample provider can now be configured.
F5 again, create a C# Console App project, open the Connected Service dialog, and you will see the sample provider listed in the Connected Services tab
Copy link
Member

Choose a reason for hiding this comment

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

This may need revisiting based on the outcome of the AppliesTo expression comment I left earlier.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants