Amazing .NET @amazing_dotnet Channel on Telegram

Amazing .NET

@amazing_dotnet


В этот канал публикуются интересные материалы, связанные с .NET тематикой.

Без рекламы и прочей х*йни.

Идеи и предложения:
https://github.com/Chakrygin/amazing-dotnet/issues

Или в личку:
@ichakrygin

См. также:
https://t.me/amazing_devops

Amazing .NET (Russian)

Канал "Amazing .NET" приглашает всех любителей и профессионалов в области .NET разработки в мир интересных материалов и обсуждений. Здесь вы найдете полезные статьи, новости, обновления и другие материалы, которые помогут вам быть в курсе последних тенденций и разработок в этой сфере.

В канале отсутствует любая реклама или ненужный спам, здесь сосредоточены только полезные и качественные материалы.

Если у вас есть идеи или предложения по содержанию канала, вы всегда можете поделиться ими на GitHub: https://github.com/Chakrygin/amazing-dotnet/issues или связаться лично с администратором по нику @ichakrygin.

Также рекомендуем посетить канал "Amazing DevOps" (https://t.me/amazing_devops) для дополнительной информации и обсуждений. Присоединяйтесь к нам прямо сейчас и узнавайте первыми все самое интересное из мира .NET разработки!

Amazing .NET

22 Nov, 18:50


Announcing TypeScript 5.7

DevBlogs | TypeScript | November 22, 2024

Today we excited to announce the availability of TypeScript 5.7!
If you're not familiar with TypeScript, it's a language that builds on JavaScript by adding syntax for type declarations and annotations. This syntax can be used by the TypeScript compiler to type-check our code, and it can also be erased to emit clean, idiomatic JavaScript code. Type-checking is helpful because it can catch bugs in our code ahead of time, but adding types to our code also makes it more readable and allows tools like code editors to give us powerful features like auto-completion, refactorings, find-all-references, and more. TypeScr...

https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/

Amazing .NET

22 Nov, 16:51


Библиотека EremexControls.NET для Avalonia UI — Большое обновление (v 1.1 EAP)

Хабр | 22 ноября 2024 г.

Библиотека Контролов EMX Controls для Avalonia UI позволяет вам создавать многофункциональные графические интерфейсы для Windows, Linux, macOS и WebAssembly. Почти полгода назад вышла первая версия контролов. С тех пор библиотека развивалась и расширялась – появились новые компоненты и новые функции. А сегодня у нас большая новость - мы выпускаем EAP (early-access preview) для версии 1.1.

https://habr.com/ru/articles/860608/

🏷️ .NET, Интерфейсы, Разработка под Linux, Разработка под Windows

Amazing .NET

22 Nov, 13:05


Top 5 GitHub Copilot Features in Visual Studio from Microsoft Ignite 2024

DevBlogs | Visual Studio Blog | November 22, 2024

At this year’s Microsoft Ignite, it was truly exciting to see Scott, Dalia, and Jessie demo some of the most innovative features of GitHub Copilot that are transforming the developer experience in Visual Studio. From the breakout session, we highlighted five standout features that are pushing productivity to the next level. Whether you're working on complex edits or crafting custom workflows, these tools showcase how AI can elevate your coding game in ways you never thought possible.



*Note: It will take 24-48 hours after the session for the recording to be uploaded.
1. Copilot Edits: Collaborative Ite...

https://devblogs.microsoft.com/visualstudio/top-5-github-copilot-features-in-visual-studio-from-microsoft-ignite-2024/

Amazing .NET

21 Nov, 13:05


Making you more productive with Visual Studio v17.12

DevBlogs | Visual Studio Blog | November 21, 2024

The 12th update to Visual Studio 2022 is packed with lots of exciting new features that users have been asking for! Here are some of the awesome highlights from this release that are some of my personal favorites. For all the details, be sure to check out our release notes.
Copy from the Error List
You see an error in the Error List that you don't know how to fix. So, you select it and hit Ctrl+C to copy the description for a web search. After you've pasted it into the search engine, you realize it copied all column headers and row values instead of just the description. Now you must delete everything except th...

https://devblogs.microsoft.com/visualstudio/making-you-more-productive-with-visual-studio-v17-12/

Amazing .NET

20 Nov, 20:46


Never rewrite code?

CodeOpinion | Derek Comartin | November 20, 2024

Is it a bad idea to rewrite code or an entire system? At some point, developers want to rewrite for various reasons. Often, it’s because we simply don’t understand the existing codebase or think it’s a tire fire. But is the benefit there? Sometimes, yes. Sometimes, no. It’s a pretty nuanced topic around cost/benefit.

https://codeopinion.com/never-rewrite-code/

🏷️ Software Design

Amazing .NET

20 Nov, 16:51


dotnet scaffold – Next Generation Project Creation for .NET

DevBlogs | .NET Blog | November 20, 2024

Introducing a new command line tool dotnet scaffold, a new interactive way to create projects in .NET.

https://devblogs.microsoft.com/dotnet/introducing-dotnet-scaffold/

Amazing .NET

20 Nov, 13:05


Copy files across instances of Visual Studio

DevBlogs | Visual Studio Blog | November 20, 2024

Transferring code files between different instances of Visual Studio has often been a tedious task. To simplify this process, Visual Studio 2022 now includes a feature that allows you to easily copy and paste code files and folders between instances using the Solution Explorer. This enhancement aims to streamline workflow and save time.



Until now, moving code files and folders between different Visual Studio instances has been a hassle. Developers often had to manually relocate files, risking errors and inefficiencies in their workflow. With the new copy and paste functionality, this problem is now a thing...

https://devblogs.microsoft.com/visualstudio/copy-files-across-instances-of-visual-studio/

Amazing .NET

19 Nov, 16:52


Dynamic Htmx Islands with ASP.NET Core

Khalid Abuhakmeh | November 19, 2024

I’m a big fan of static site renderers, and they are still one of the missing elements that would make ASP.NET Core more compelling for users across the vast ecosystem divide. In the meantime, developers must rely on tools like Astro, Jekyll, and 11ty to build static site experiences. Recently, I read about Astro 5.0 and its server island implementation. Server islands allow for mostly static pages to carve out portions of the page that will be rendered on-demand by, you guessed it, the server. This allows site authors to deliver fast, statically rendered pages that benefit the user while allowing for dynamic user-specific content.

https://khalidabuhakmeh.com/dynamic-htmx-islands-with-aspnet-core

🏷️ aspnet, htmx

Amazing .NET

19 Nov, 16:51


VisualStudio.Extensibility 17.12: CodeLens support is here!

DevBlogs | Visual Studio Blog | November 19, 2024

We continue to invest in the VisualStudio.Extensibility SDK to allow users like you to create extensions that run faster and smoother than ever before! VisualStudio.Extensibility helps you build extensions that run outside the main Visual Studio IDE process for improved performance and reliability, and can be installed without the need to restart Visual Studio. Additional benefits include a sleek and intuitive .NET 8-based API and comprehensive, well-maintained documentation to help you develop amazing extensions faster than ever before.

This 17.12 release builds on our previous releases and brings support for...

https://devblogs.microsoft.com/visualstudio/visualstudio-extensibility-17-12-codelens-support-is-here/

Amazing .NET

19 Nov, 14:47


What’s new in the Windows Subsystem for Linux in November 2024

DevBlogs | Windows Command Line | November 19, 2024

The latest updates to WSL bring new enterprise security features, new improvements to WSL distros, and the announcement that RedHat is officially becoming a WSL distro!

Check out the table of contents in this post for a quick overview of all the announcements!

Red Hat is becoming an official WSL distro



Although you can run any Linux distro in WSL, being an official distro makes it easier for WSL users to install and discover it with actions like and . We’re excited to announce that Red Hat will soon be delivering a Red Hat Enterprise Linux WSL distro image in the coming months, and it will be shipped with t...

https://devblogs.microsoft.com/commandline/whats-new-in-the-windows-subsystem-for-linux-in-november-2024/

Amazing .NET

19 Nov, 13:05


Cross-Origin-Opener-Policy: preventing attacks from popups: Understanding cross-origin security headers - Part 1

.NET Escapades | Andrew Lock | November 19, 2024

In this post I describe the vulnerabilities in window.opener and window.open() and how to protect yourself with Cross-Origin-Opener-Policy.

https://andrewlock.net/understanding-security-headers-part-1-cross-origin-opener-policy-preventing-attacks-from-popups/

🏷️ ASP.NET Core, Security

Amazing .NET

19 Nov, 08:51


Тюним запросы в EF Core с помощью интерсепторов

Хабр | Блог компании Контур | 18 ноября 2024 г.

Entity Framework обладает достаточно богатым встроенным языком запросов, позволяющим решать широкий спектр задач. Но бывают ситуации, когда либо сгенерированные с его помощью запросы оказываются недостаточно оптимальными, либо возможности EF покрывают не весь спектр функционала базы.

В этом случае приходится либо генерировать запросы вручную (напрямую, либо с помощью хранимых процедур), либо прибегать к дополнительной обработке сгенерированных запросов с помощью механизма интерсепторов. Рассмотрим работу этого механизма подробнее.

https://habr.com/ru/companies/skbkontur/articles/852022/

🏷️ .NET, C#

Amazing .NET

18 Nov, 18:50


Enhance Your .NET Developer Productivity with GitHub Copilot

DevBlogs | .NET Blog | November 18, 2024

Learn how to get started with GitHub Copilot for .NET development for AI assisted development in Visual Studio and Visual Studio Code

https://devblogs.microsoft.com/dotnet/enhance-your-dotnet-developer-productivity-with-github-copilot/

Amazing .NET

18 Nov, 16:52


Git tooling updates in Visual Studio 17.12

DevBlogs | Visual Studio Blog | November 18, 2024

We are thrilled to announce the latest updates to Git tooling in Visual Studio, designed to enhance your development experience and streamline your workflow. These new features are in direct response to user feedback, ensuring that you have the tools you need to be more productive and efficient. For the full list, check out the release notes.
Pull request drafts and templates
You can now create pull request drafts and start your descriptions with GitHub templates in Visual Studio. These were the two top requests for the create a pull request experience.
Draft PRs
Use the drop-down menu on the Create button to...

https://devblogs.microsoft.com/visualstudio/git-tooling-updates-in-visual-studio-17-12/

Amazing .NET

18 Nov, 13:06


Embeded languages in string values supported by Roslyn

Meziantou's blog | Gérald Barré | November 18, 2024

In a recent post, I shared how to highlight C# code in string values. Roslyn provides more built-in highlighters / code-completions in string values. Most of the supported languages are available as constants of the StringSyntaxAttribute class. To indicate the language, you can use the lang or language comment or the [StringSyntax] attribute.

https://www.meziantou.net/embeded-languages-in-string-values-supported-by-roslyn.htm

🏷️ .NET, Roslyn

Amazing .NET

18 Nov, 10:49


Early Binding and Late Binding in C#

Code Maze | November 18, 2024

In C#, method binding refers to associating a method call with the method’s code definition. When we invoke a method, the program determines which specific method to execute. This process, known as “binding,” can occur at two different times: during compile-time (early binding) or runtime (late binding).

https://code-maze.com/csharp-binding/

Amazing .NET

18 Nov, 06:51


How to assert assumptions in code that might not be true?

Steven Giesel | November 18, 2024

Sometimes we have to make assumptions in our code. For example, that a certain property or variable has a specific value. On top comes, we have a specific idea but we are not 100% sure if they are correct. Let's meet Debug.Assert.

https://steven-giesel.com/blogPost/0c8009eb-0bb6-4716-ae6c-fcb3de4a26e6/how-to-assert-assumptions-in-code-that-might-not-be-true

🏷️ Assert, C#, Debug

Amazing .NET

15 Nov, 16:51


Join Us at Microsoft Ignite: Unlock GitHub Copilot’s New Potential in Visual Studio

DevBlogs | Visual Studio Blog | November 15, 2024

Get ready for an exciting Microsoft Ignite breakout session where we’re unveiling the latest advancements in GitHub Copilot in Visual Studio! Join Dalia Abo Sheasha, Jessie Houghton, and Scott Hanselman as they dive into how GitHub Copilot is evolving to help developers work smarter, collaborate better, and achieve more.



Here’s a little preview of what we’ll be discussing:
Enhanced AI-Powered Coding Experience
We’ll be sharing some powerful new tools that make prompt crafting and code completion smoother than ever. Discover how GitHub Copilot’s conversational abilities are growing to bring even more ...

https://devblogs.microsoft.com/visualstudio/join-us-at-microsoft-ignite-unlock-github-copilots-new-potential-in-visual-studio/

Amazing .NET

15 Nov, 10:47


Что нового в .NET 9?

Хабр | Блог компании PVS-Studio | 13 ноября 2024 г.

.NET 9 вышел в релиз, и значит, можно начинать переносить свои проекты на новую версию. В этой статье мы рассмотрим новые улучшения и фишки .NET: C# 13, производительность, BuildCheck, GC, LINQ, NuGet Audit и прочее.

https://habr.com/ru/companies/pvs-studio/articles/858174/

🏷️ .NET, C#, Программирование

Amazing .NET

15 Nov, 03:17


Контур + GFS = Kanso. История развития файловой системы

Хабр | Блог компании Контур | 14 ноября 2024 г.

Привет! Я Антон, работаю в команде базовой инфраструктуры Контура и занимаюсь развитием распределенной системы хранения данных Kanso. Это наш форк GFS (Google File System). Мы развиваем Kanso уже более 15 лет, в статье я расскажу про это подробнее.

https://habr.com/ru/companies/skbkontur/articles/858526/

🏷️ C#, Распределённые системы