One of the cool features added in Visual Studio 2022 – 17.5 in “All-in-one Search”. It is very handy feature for developers to search code in entire applications.
Enable All-In-One Search in Visual Studio:
Tools > Manage Preview Features > “New Visual Studio Search experience (restart required)”.
Now Presh CTL +T or Search button on top of Visual Studio
If we are working on asp.net core web api or Blazor application, so many time we will get requirement to change the port number. but on dotnet 6.0 and 7.0, they have changed the approach to change port number. Now we cannot do using right click and properties options.
As we know that VS code is super-fast as compared to visual studio. Currently I am doing so much demo with Visual Studio Code. It is very light weight editor.
We can run any dotnet project using command terminal like
Step 1: Open the project on VS Code or command terminal
Step 2: Run the command >>dotnet build
Step 3: You have created Blazor WebAssembly project with Asp.net Core Hosted from visual studio 2022. Then >> dotnet run command will not work. We need to give specific startup project name.
Type this command >> dotnet sln list
Step 4: Now select the specific project, which one you want to run
For more details about dotnet run, please visit this document
I m web developer so without browser I can not do any task. Browser is one of my cool and frequent use tool. I always open the browser using the shortcut like this
Go to the browser property tab and set the shortcut key like this. It will save lots of your time.
I hope this tips make more productive while working with browser.