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

Code examples not showing up #3746

Closed
meeple142 opened this issue Feb 24, 2022 · 1 comment · Fixed by #3747
Closed

Code examples not showing up #3746

meeple142 opened this issue Feb 24, 2022 · 1 comment · Fixed by #3747
Assignees
Milestone

Comments

@meeple142
Copy link

meeple142 commented Feb 24, 2022

this code example is not showing up

[!code-csharp[Main](../../../samples/core/Testing/BloggingWebApi/Controllers/BloggingController.cs?name=PostBlog)]

I think it's trying to referance the AddBlog function here

public ActionResult AddBlog(string name, string url)

I believe this

[!code-csharp[Main](../../../samples/core/Testing/BloggingWebApi/Controllers/BloggingController.cs?name=PostBlog)]

should be

[!code-csharp[Main](../../../samples/core/Testing/BloggingWebApi/Controllers/BloggingController.cs?name=AddBlog)]

Also this example is not showing up but I'm not sure why

[!code-csharp[Main](../../../samples/core/Testing/BloggingWebApi/Controllers/BloggingController.cs?name=UpdateBlogUrl&highlight=5)]


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@meeple142 meeple142 changed the title Code example not showing up Code examples not showing up Feb 24, 2022
roji added a commit to roji/EntityFramework.Docs that referenced this issue Feb 28, 2022
@roji
Copy link
Member

roji commented Feb 28, 2022

@meeple142 thanks - submitted #3747 to fix these. FYI you can submit a PR with fixes directly rather than issue describing the proposed fixes.

@roji roji closed this as completed in #3747 Mar 1, 2022
roji added a commit that referenced this issue Mar 1, 2022
@roji roji self-assigned this Mar 1, 2022
@roji roji added this to the 7.0.0 milestone Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants