Skip to content

Visual Studio vs VS Code for .NET: one Web API with a slow and a fast endpoint on net10.0 - #2256

Open
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/125671-visual-studio-vs-vs-code
Open

vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/125671-visual-studio-vs-vs-code

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Adds visual-studio/VisualStudioVsVsCode, a new folder for the new article "Visual Studio vs VS Code for .NET Developers".

A small ASP.NET Core Web API on net10.0 with one slow endpoint (string concatenation in a loop) and one fast endpoint (StringBuilder) that return the same report, plus two xUnit tests. The article opens the same solution in both tools and finds the slow endpoint with Visual Studio's CPU Usage tool and with dotnet-counters and dotnet-trace in VS Code.

  • dotnet test runs the two tests.
  • The README lists the commands the article uses, including the VS Code Hot Reload user setting.

The article is not published yet. This PR stays open until the article goes live.

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.

1 participant