Forum Widgets
Latest Discussions
The new C# code generators at work
If you struggled with INotifyPropertyChanged implementation in C#, you may like my new C# Code Generator (C# 9.0) generating the property implementation in a partial class (see docs). This new strategy for generating code is important because it generates the code in real-time in Visual Studio but also when compiling from the CLI. Also, they do not require no runtime dependency, as everything is just done at build time. https://www.nuget.org/packages/SpeedyGenerators/ Sources and docs here: https://github.com/raffaeler/SpeedyGenerators HTH1.2KViews2likes0Commentshow to prevent password replay attack in . Net
Hi, We need some help in how to prevent password replay attack in . Net and also in how to prevent passing of encryption key along with encrypted password. Please advise. Thanks and Regards, SuparnaSUPARNA KANSAKARJul 25, 2022Brass Contributor2.5KViews1like4CommentsThe most interesting C# / .NET blogs and websites
Let's take a look at the list of information sources that can be useful for the C# / .NET developers. Our list includes blogs, repositories with source code, standards and accounts of developers who covers the deep aspects of the C# and .NET. Blogs .NET Blog Link: https://devblogs.microsoft.com/dotnet/ It's an official blog from Microsoft about .NET, and languages and technologies related to this platform. Do you want to know about https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-6/? Or maybe you want to see https://devblogs.microsoft.com/dotnet/whats-new-in-fsharp-6/? Would you like to read about https://devblogs.microsoft.com/dotnet/welcome-to-csharp-10/? You are welcome! .NET Core Tutorials Link: https://dotnetcoretutorials.com/ I'm not a regular reader of this blog. However, I want to recommend it to you. There was a time when I could find useful information on the topic of security there (about the OWASP Top 10 and C#). In my opinion, you can also find something interesting / useful there. Programming stuff Link: http://sergeyteplyakov.blogspot.com/ This is the blog of https://twitter.com/STeplyakov, who is currently working at Microsoft. The blog is only in Russian and has not been updated for a long time, but there is a lot of interesting material in it. So, if you have not heard about this blog and your language proficiency allows you to get familiarize with it, don't miss the opportunity. Habr.com Link (C# hub): https://habr.com/ru/hub/csharp/ Link (.NET hub): https://habr.com/ru/hub/net/ It's a good source of technical articles. The website is especially popular in the Russian-speaking community. This website has an English version (C# hub: https://habr.com/en/hub/csharp/, .NET hub: https://habr.com/en/hub/net/), but there are fewer articles published there. Again, if the knowledge of language allows you to read articles in the original, I recommend reading the Russian version of website. PVS-Studio blog Link: https://pvs-studio.com/en/blog/posts/csharp/ Let me introduce you to our blog. Here, you can find articles on various topics: on code quality, on bugs found in open-source projects, on the specifics of C# / .NET. Here are some examples of publications: https://pvs-studio.com/en/blog/posts/csharp/0865/ https://pvs-studio.com/en/blog/posts/csharp/0852/ The sources of .NET You can't do without source files when you want to better understand what is happening "under the hood" of a particular system. For example, do you want to improve your understanding of how types from the standard library work? The source code of https://referencesource.microsoft.com/ and https://github.com/dotnet/runtime will help you to do that. Do you want to dig deeper into the compiler? No problem - here is the https://github.com/dotnet/roslyn at your service. Do you need to look inside the build system? Here you go - the https://github.com/dotnet/msbuild code is also open-source. By the way, if you are interested in build processes, you may also find https://msbuildlog.com/ useful. It's a tool that allows you to work with MSBuild build logs in a convenient format. If you want to know about other components of .NET: NuGet, ASP.NET Core, Entity Framework Core or something else - it's worth looking for sources in https://github.com/dotnet. Standards Sometimes, the source code is not enough and you have to dig deeper into the https://github.com/dotnet/runtime/blob/main/docs/project/dotnet-standards.md. I especially like the standard that defines https://www.ecma-international.org/publications-and-standards/standards/ecma-335/. It can be handy when you want to better understand what is happening in the IL code. https://en.wikipedia.org/wiki/List_of_CIL_instructions may be also useful. It can refresh your memory if you have forgotten something. Twitter accounts I suddenly discovered Twitter from a new angle. This is both a source of useful and interesting information, and a place where you can ask / discuss something. It's a platform where people will help you or explain you something. Let me show you a few Twitter accounts that I follow. Maybe you will find them interesting as well: https://twitter.com/badamczewski01 https://twitter.com/okyrylchuk https://twitter.com/konradkokosa https://twitter.com/EgorBo https://twitter.com/maoni0 You can also follow https://twitter.com/_SergVasiliev_, so you won't miss anything interesting. 😉 Conclusion I hope this article helped you find some new sources of useful information. Where do you check out the latest news and updates? Please, share in the comments! Who knows, maybe you will help someone discover new platform that they needed so badly._SergVasiliev_Jan 06, 2022Copper Contributor2.2KViews1like0Comments- Eduard KeilholzNov 03, 2021Copper Contributor18KViews1like27Comments