Skip to content

Conversation

@dksimpson
Copy link
Contributor

@dksimpson dksimpson commented Mar 27, 2019

Summary

Related to .NET refresh work for task 1409933: https://mseng.visualstudio.com/TechnicalContent/_workitems/edit/1409933/

Move C# and VB code samples from article to samples repo and add highlighting: https://docs.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer
See comments in PR #dotnet/docs#11110

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.

Overall, this looks great @dksimpson

I had one comment, that includes some of the code beyond this PR, but it would help with presentation.

Once that's done, I'll :shipit:.

Thanks again.

protected override void OnStart(string[] args)
{
eventLog1.WriteEntry("In OnStart");
eventLog1.WriteEntry("In OnStart.");
Copy link
Member

Choose a reason for hiding this comment

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

This looks like it's formatted badly. Can we standardize on 4 spaces for indentation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @BillWagner, thanks for your review - I've standardized the spacing in the MyNewService C# and VB files.

@dksimpson
Copy link
Contributor Author

#sign-off

@dksimpson
Copy link
Contributor Author

This PR is related to #dotnet/docs#11531, which can be merged after this PR is merged.
@rpetrusha

@BillWagner BillWagner merged commit 1891efa into dotnet:master Apr 8, 2019
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