Best of Visual Studio2024

  1. 1
    Article
    Avatar of vsVisual Studio Blog·2y

    Making Visual Studio a bit more visual

    Developers frequently work with various image references in their code, but the string values don't show the actual images. A new feature in Visual Studio introduces an editor tooltip that previews images when hovered over, showing the original size capped at 500 pixels, along with the image's dimensions and file size. This feature currently supports common file types like PNG, JPG, and WebP, among others. Experiment feedback has led to the ability to click for a full view in an external viewer, while features like zoom are considered for future updates. Available in Visual Studio 2022 v17.10 or newer.

  2. 2
    Article
    Avatar of devtoDEV·2y

    Microsoft VS2022 Cascadia Code font

    Learn how to change the font in Visual Studio 2022 and match the font in Visual Studio with Visual Studio Code using Cascadia Code font.

  3. 3
    Article
    Avatar of codemazeCode Maze·2y

    Advanced Debugging in C#

    This post delves into advanced debugging techniques in C# using Visual Studio 2022. It covers conditional breakpoints, tracepoints, hit count, and filter conditions. The post also explains how to change breakpoint locations, edit code during a debugging session, use the execution pointer, set function and dependent breakpoints, track variables with object IDs, and utilize string visualizers for viewing formatted strings.

  4. 4
    Video
    Avatar of lowlevelgamedevLow Level Game Dev·2y

    How to Use Visual Studio Like a PRO!

    Learn essential shortcuts, tips, and tricks to navigate and write code more efficiently in Visual Studio. This guide covers everything from customizing the interface, using keyboard shortcuts for navigation, code writing techniques, and even useful extensions to improve your overall productivity.

  5. 5
    Video
    Avatar of lowlevelgamedevLow Level Game Dev·2y

    Dear Beginners, Please Learn to use the DEBUGGER!

    The biggest mistake beginners make is not learning how to use a debugger. Debugging is crucial for narrowing down where problems in the code occur by checking each step in the process. The post provides practical examples of using debugging techniques and tools, emphasizing the importance of avoiding assumptions about where the bug is. Visual Studio debugger functionalities are explained, including setting breakpoints, stepping through code, and using the call stack window. Beginners are encouraged to install an IDE with a debugger to be more productive.

  6. 6
    Article
    Avatar of vsVisual Studio Blog·2y

    Creating a React TODO app in Visual Studio 2022

    This tutorial guides you through creating a React-based TODO web app using Visual Studio 2022. It covers setting up the project, creating components, managing state with the useState hook, adding, deleting, and reordering tasks. It also includes styling the app for a polished look.

  7. 7
    Article
    Avatar of bartwullemsThe Art of Simplicity·2y

    Debug your .NET 8 code more efficiently

    The latest update to .NET 8 introduces significant improvements to debugging experiences, including an enhanced debug summary for `HttpContext` compared to .NET 7. Importantly, you can now debug .NET 8 applications with minimal performance impact on the rest of your code by disabling the Just My Code option in Visual Studio.

  8. 8
    Article
    Avatar of devtoDEV·2y

    Push your skills

    Learn how to become a better developer by continuously improving your skills. Use resources like Pluralsight and Microsoft Learn, read documentation, keep things simple, use version control with GitHub, and prioritize learning over speed. Microsoft Visual Studio is recommended for coding, along with tools like Red Gate SQL Prompt and EF Power Tools. Dive into code basics with Microsoft Entity Framework Core or Dapper. Refactor code and incorporate best practices like using meaningful variable names and writing readable code. Continually learning is essential for growth as a developer.

  9. 9
    Article
    Avatar of infoqInfoQ·2y

    Microsoft Releases Prompty: New VS Code Extension for Integrating LLMs into .NET Development

    Microsoft has launched Prompty, a free Visual Studio Code extension that integrates Large Language Models (LLMs) like GPT-4o into .NET development. Prompty simplifies the process of adding AI capabilities, such as generating content or creating chatbots, directly within the development environment. It includes features like easy installation, API key configuration, prompts integration, and syntax highlighting. Despite positive reception, some users are concerned about its availability for Visual Studio Professional. A real-world example shows Prompty enhancing a .NET WebAPI project with detailed weather forecast descriptions, leveraging Semantic Kernel for automation.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    .NET Digest #1

    The post provides a roundup of the latest updates in the .NET ecosystem, including the .NET 9 Preview 5, a new OpenAI library for .NET, the general availability of the .NET MAUI extension for Visual Studio Code, and performance enhancements in Visual Studio 2022 version 17.10. It also features video recommendations and articles on various related topics, including C# 12 features, UI testing for .NET MAUI apps, and caching in ASP.NET Core. Additionally, new releases of Rider, ReSharper, and PVS-Studio are covered.

  11. 11
    Article
    Avatar of dotnet.NET Blog·2y

    Refactor your C# code with primary constructors

    Learn how to refactor your C# code using primary constructors to reduce boilerplate code and improve readability.

  12. 12
    Article
    Avatar of milanjovanovicMilan Jovanović·1y

    Central Package Management in .NET - Simplify NuGet Dependencies

    Central Package Management (CPM) in .NET simplifies managing NuGet package versions across multiple projects by allowing developers to set package versions centrally in a single file. This resolves version conflicts, reduces bugs, and streamlines development. Setting up CPM requires NuGet 6.2, .NET SDK 6.0.300, and Visual Studio 2022 17.2 or newer. Instructions are provided for setting up CPM, overriding package versions, and making packages global across projects.

  13. 13
    Article
    Avatar of devblogsDevBlogs·2y

    New IDE features in Visual Studio v17.11

    Visual Studio 2022 v17.11 introduces significant features like new scoping options for Code Search, familiar keyboard shortcuts, improved detection of missing components and extensions with .vsconfig files, enhanced user authentication through the Web Account Manager (WAM), and new Teams Toolkit templates. These updates aim to streamline development workflows, enhance security, and improve productivity.

  14. 14
    Video
    Avatar of communityCommunity Picks·1y

    Software is Way Less Performant Today

    Modern software, including tools like Visual Studio, often runs slower than older versions despite more powerful hardware. This is attributed to inefficient coding practices and a lack of understanding about how programs interact with hardware. The core issue is seen as a cultural and educational problem where developers are not trained to optimize performance properly.

  15. 15
    Article
    Avatar of vsVisual Studio Blog·2y

    Organize Your Breakpoints like a pro

    Feeling overwhelmed by numerous breakpoints in Visual Studio 2022? The new breakpoint group feature allows you to categorize and manage them with ease. Create custom collections, apply actions, set conditions, and designate default groups for streamlined debugging. Easily move breakpoints between groups as project needs evolve.

  16. 16
    Article
    Avatar of codemazeCode Maze·2y

    Embedded Resources in .NET

    This post focuses on embedded resources in .NET, covering topics such as incorporating embedded resources into an application, retrieving the list of embedded resources, and accessing the content of embedded resources. It provides step-by-step instructions and code examples.

  17. 17
    Article
    Avatar of communityCommunity Picks·2y

    How to Host ASP.NET Core API and Use it for Testing on Other Devices

    Learn how to host an ASP.NET Core API for testing on other devices without public hosting. The guide covers installing the Conveyor extension in Visual Studio, verifying the installation, running your API, configuring firewall rules, and obtaining a testing URL. Both devices need to be on the same network for this method to work.

  18. 18
    Article
    Avatar of wearedotnetWe Are .NET·1y

    A Dozen Programmer Utilities

    Discover a curated list of indispensable programmer utilities, including Visual Studio 2022, Copilot, ExamDiffPro, Tweaks by Mads Kristensen, Viasfora, Evernote, LastPass, Git Diff Margin, DB Browser for SQLite, and BlueSky. These tools enhance productivity and streamline various aspects of software development. Most of them are free, offering significant value without a hefty price tag.

  19. 19
    Article
    Avatar of csharpcornerC# Corner·2y

    How to Start a Project in C#?

    Learn how to kickstart a C# project by setting up your development environment using Visual Studio or Visual Studio Code, selecting the right project template, and configuring necessary elements such as dependency injection, configuration management, logging, and data access with Entity Framework Core. A thorough guide to ensure a maintainable and scalable C# application.

  20. 20
    Article
    Avatar of vsVisual Studio Blog·2y

    Recent performance enhancements

    Visual Studio 2022 version 17.11 brings significant performance enhancements. Notable improvements include reduced CPU usage for the C# language service by optimizing code indexing and source generator execution. The performance of conditional breakpoints in C++ has been enhanced by caching data and reducing unnecessary API calls, resulting in a 67% reduction in debugger overhead. Additionally, the C++ symbol search has been optimized using SQLite’s FTS5 search extension, making searches up to 65% faster.

  21. 21
    Video
    Avatar of davidbombalDavid Bombal·2y

    Did you know you can run apps as Administrator on Windows like this? #shorts #windows #windows11

  22. 22
    Article
    Avatar of vsVisual Studio Blog·2y

    Code Assessment with .NET Upgrade Assistant

    The .NET Upgrade Assistant has been enhanced with powerful code assessment features that scan your solution to identify potential issues and dependencies for smoother upgrades. It offers a comprehensive dashboard to prioritize and address issues, and is available as a Visual Studio extension and a command-line tool. The tool provides in-depth reporting, integration with documentation and best practices, and easy sharing of results. Installation and usage instructions are provided for both Visual Studio and CLI setups.

  23. 23
    Video
    Avatar of wearedotnetWe Are .NET·2y

    Getting Started with Docker for .NET Web Apps

    Learn how to integrate Docker with .NET web applications in Visual Studio. This guide demonstrates creating a Blazor server web app and adding Docker support via the IDE and the command line interface. Understand key Docker concepts like images, containers, and builds. Debugging and running your application within a Docker container on your local machine is also covered.

  24. 24
    Video
    Avatar of lowlevelgamedevLow Level Game Dev·2y

    Fix your Gitignore! (PLEASE)

    Many developers rely on online .gitignore generators, leading to unnecessary and problematic entries in their .gitignore files. This article explains why this practice is not ideal and provides a better approach for managing build files and folder structures, specifically with Visual Studio. The author suggests organizing all build-related files into one folder and provides steps to properly configure Visual Studio, as well as recommending the use of Cake build automation for a more streamlined build process.

  25. 25
    Article
    Avatar of vsVisual Studio Blog·2y

    Incorporate GitHub Copilot into your daily flow

    Visual Studio 17.11 introduces new features for GitHub Copilot, enhancing code completions with Inline Chat for better suggestions and refinement. The Chat Window feature allows for broader context and record-keeping. GitHub Copilot now provides AI-generated summaries for symbols and descriptions within the editor. Upcoming updates will include code fixes integrated into the lightbulb and error list functionalities, offering explanations and solutions for C# and C++ developers.