Visual Studio Blog

The official source of product insight from the Visual Studio Engineering Team

Featured posts

GitHub Copilot Free is here in Visual Studio
Dec 18, 2024
22

GitHub Copilot Free is here in Visual Studio

Rhea Patel
Rhea Patel

If you haven’t already heard, GitHub just announced Copilot Free! And great news: you can already start using Copilot Free right now in Visual Studio. It's avai...

Visual StudioGitHub CopilotGitHub

Latest posts

Benchmarking with Visual Studio Profiler
Jan 7, 2025
8

Benchmarking with Visual Studio Profiler

Nik Karpinsky
Nik Karpinsky

In Visual Studio 17.13 Preview we have released our updated BenchmarkDotNet diagnosers, allowing you to use more of the tools in the performance profiler to analyze benchmarks. With this change it is super quick to dig into CPU usage and allocations of benchmarks making the measure, change, measure cycle quick and efficient. Benchmarking a real project So, to show how we can use the tools to make things better let's go ahead and benchmark a real project. At the time of writing this article, CsvHelper is the 67th most popular package on Nuget.org with over 9 million downloads of the current version. If we can be...

Unlocking insights with Meter Histogram in the profiler
Jan 6, 2025
1

Unlocking insights with Meter Histogram in the profiler

Harshada Hole
Harshada Hole

Are you struggling with performance bottlenecks in your applications? Look no further! Visual Studio 2022 introduces the Meter Histogram feature in its performance profiling suite, providing you with the tools to analyze and visualize histogram data like never before. The Meter Histogram is a key enhancement to Visual Studio's performance profiling suite. This feature enables you to capture and analyze histogram data generated by various performance instruments, offering clear insights into the distribution of your application's data. By visualizing this data, you can easily identify patterns and anomalies...

Dock the Code Search window in Visual Studio 2022
Dec 31, 2024
7

Dock the Code Search window in Visual Studio 2022

Leah Tran
Leah Tran

Ever felt frustrated with the search window cluttering your workspace? The latest feature in Visual Studio 2022 gives you more control over the behavior of the Code and Feature Search window, making your search experience smoother and more efficient. Some users have shared that the search window feels intrusive, interrupting your work by appearing mid-screen or on the wrong screen and taking up precious screen real estate. You now have the option to turn the search window into a tool window and dock it where you’d like. Choose how you want your search window Visual Studio now allows you to dock the searc...

Go to line anywhere with Code Search for Visual Studio 2022
Dec 30, 2024
4

Go to line anywhere with Code Search for Visual Studio 2022

Leah Tran
Leah Tran

Finding the exact line of code where an issue is occurring can be like searching for a needle in a haystack. Whether you are debugging an error on line 43 of a file or diving into a specific section of code, you can efficiently jump to the right places with this newest addition to Code Search. In Code Search, you can now jump to a specific line in the current file or another file, making it faster and easier to move around your codebase. Navigate to a line in the current document No need to scroll endlessly to find a specific line. With the updated Code Search, you can swiftly jump to any line in the current...

Connect securely to your Azure resources
Dec 24, 2024
0

Connect securely to your Azure resources

Brady Gaster
Brady Gaster

Visual Studio 2022's Connected Services features are being updated to help you start secure. In the past, for example with Azure Storage, we’d inject the entire connection string into your configuration. With this update, we’ve removed the secrets from the UX – and from what we save to configuration – altogether. This means your code has fewer secrets in it, so you won’t push those into your source control repository inadvertently. Integrated authentication, by default Prior to this update, Connected Services would inject secret-inclusive connection strings for resources like Azure Storage into your secrets...

Security updates to Azure publishing from Visual Studio
Dec 23, 2024
1

Security updates to Azure publishing from Visual Studio

Brady Gaster
Brady Gaster

Visual Studio 2022 introduces a new feature to improve the security of publishing applications to Azure App Service. This feature is designed to disable Basic Authentication and enable integrated security for a more secure publishing process. Basic Authentication has been identified as a less secure method for managing app deployments. Visual Studio 2022 addresses this issue by offering you an option to disable Basic Authentication, which enhances security by using integrated authentication. The problem with Basic Authentication Basic Authentication involves sending user credentials in a format that is n...

Refresh your Find results
Dec 17, 2024
7

Refresh your Find results

Leah Tran
Leah Tran

Are you tired of having to repeatedly launch the Find window in Visual Studio to update your search results? Whether you've just refactored some code or pulled recent changes, having to redo a search to get updated results is no longer necessary. With the new refresh option, you can now update your Find results without the hassle of starting over. The Refresh search results button in Visual Studio 2022 will save you time and effort when searching through your code. Refresh your previous Find No more friction when updating your earlier Find results! After completing a Find, you can click the clockwise arr...

Create internal GitHub repos for your team
Dec 16, 2024
1

Create internal GitHub repos for your team

Jessie Houghton
Jessie Houghton

Visual Studio 2022 now includes support for creating internal repositories for GitHub organizations. This feature allows developers to work within their GitHub organization's guidelines within the Visual Studio environment more effectively. Managing repositories involves configuring varying levels of visibility and permissions. Visual Studio 2022’s new feature aims to smooth this process by providing support for internal repositories, ensuring that developers can be aligned with their organization's polices when they create new repositories. How it works In the Create a Git repository dialog, the visibil...

Boost your Git confidence with the new file rename notification
Dec 12, 2024
2

Boost your Git confidence with the new file rename notification

Jessie Houghton
Jessie Houghton

Have you ever renamed a file in Solution Explorer and wondered if Git is tracking your changes correctly? You're not alone. Many developers have found this process confusing and worry whether their changes are being properly staged in Git. But worry no more - there's a solution! When you rename files in Solution Explorer, Visual Studio 2022 will now remind you to stage your changes to see the renamed files in Git. This small but mighty notification ensures that Git is recognizing your file change. Why This Matters There is often confusion on how Git works when you rename files, especially since there’s a...