-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Remove unused usings #36838
Copy link
Copy link
Closed
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcseQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.tutorials/subsvc
Metadata
Metadata
Assignees
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issueaspnet-core/svcseQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.tutorials/subsvc
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
These are the only three namespaces I need for the Index page:
You might want to right click on the using statements at the top of all your pages and select "Remove and Sort Usings" to get rid of unneeded usings.
As you write code if you let intelligence finish off class names [hit tab] the VS IDE automatically inserts the needed using statement back in.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/page?view=aspnetcore-10.0&tabs=visual-studio
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/razor-pages/page.md
Document ID
15e79e80-8d46-7cd5-c883-6cc0f5940a1b
Platform Id
c731bb82-fefd-1cfc-91d3-8ea9527d2680
Article author
@wadepickett
Metadata
Related Issues
Associated WorkItem - 558794