ββC# is a strongly typed programming language. It's type system supports generics, inference, and method overloading. Combining these features, compiler can easily be knocked out. Not sure where and why you can use the proposed constructions. Just read the article and make an opinion:
https://blog.hediet.de/post/how-to-stress-the-csharp-compiler
https://blog.hediet.de/post/how-to-stress-the-csharp-compiler
ββAn interesting talk about Entity Framework Core. If you want to learn about the internals of EF Core, this reading is for you. It includes a lot of illustrations, code examples, and descriptive notes. Just read the talk:
http://www.roji.org/talks/2019-10-08-dotnetos-efcore-query-internals/
http://www.roji.org/talks/2019-10-08-dotnetos-efcore-query-internals/
ββCheck out these top 10 C# features. In this 3'th part of the series the author talks about the next three key features and enhancements to the C# 8.0 such as "Using Declarations", "Nullable Reference Types", and "Readonly Struct Members" along with examples of each one.
https://www.c-sharpcorner.com/article/c-sharp-top-10-new-features-part-3-of-4/
https://www.c-sharpcorner.com/article/c-sharp-top-10-new-features-part-3-of-4/
How you write your tests is as important as writing them. Take a look at these tips for writing useful unit tests.
https://medium.com/better-programming/13-tips-for-writing-useful-unit-tests-ca20706b5368
https://medium.com/better-programming/13-tips-for-writing-useful-unit-tests-ca20706b5368
Medium
13 Tips for Writing Useful Unit Tests
How you write your tests is as important as writing them
How to build a good REST service in as little as 10 days? The article covers overview of REST API services, response codes, error handling, authorization, and many more. Just read this article and follow the detailed instruction:
https://www.codeproject.com/Articles/5247280/Guide-to-Building-a-Good-REST-API-in-10-Days
https://www.codeproject.com/Articles/5247280/Guide-to-Building-a-Good-REST-API-in-10-Days
Codeproject
Guide to Building a Good REST API in 10 Days
This article provides guidelines that can help build a good service in as little as 10 days.
Microsoft announced .NET Core 3.1 Preview 1. There are key improvements in Blazor and Windows desktop. The release is available on Windows, macOS, and Linux:
https://devblogs.microsoft.com/dotnet/announcing-net-core-3-1-preview-1/
https://devblogs.microsoft.com/dotnet/announcing-net-core-3-1-preview-1/
.NET Blog
Announcing .NET Core 3.1 Preview 1 | .NET Blog
Today, weβre announcing .NET Core 3.1 Preview 1. .NET Core 3.1 will be a small release focused on key improvements in Blazor and Windows desktop, the two big additions in .NET Core 3.0. It will be a long term support (LTS) release with an expected final shipβ¦
How test default implementations for C# interfaces? We cannot test them with mocking-framework objects. Just read this article that uses C# 8 features to improve this situation.
https://jeremybytes.blogspot.com/2019/09/c-8-interfaces-unit-testing-default.html
https://jeremybytes.blogspot.com/2019/09/c-8-interfaces-unit-testing-default.html
Blogspot
C# 8 Interfaces: Unit Testing Default Implemetation
When taking a closer look at C# 8 interfaces , we need think about unit testing. We (potentially) have code in our interfaces; how do we tes...
ββCheck out this interesting C# project that is available on GitHub. FOCA - is a tool that finds metadata and hidden information in the documents it scans. Microsoft Office, Open Office, PDF, EXIF information, and even SVG - these documents may be on web pages or on the disk. The tool allows to look for all possible matches on the Internet using three possible search engines: Google, Bing, and DuckDuckGo.
https://github.com/ElevenPaths/FOCA
https://github.com/ElevenPaths/FOCA
ββIf you a planning to send Emails from your ASP.NET Core app, just read this article. The author describes how to create an ASP.NET Core MVC web app and use the SendGrid Email service for sending messages with C# language.
https://www.codeproject.com/Articles/5247823/Send-Email-Using-SendGrid-Email-Service-with-an-At
https://www.codeproject.com/Articles/5247823/Send-Email-Using-SendGrid-Email-Service-with-an-At
If you develop APIs in .NET Core, this article may be interesting for you.
The article proposes a method to automatically handle exceptions in your C# API project. Normally, you should not throw exceptions inside API methods. This makes you to write a lot of duplicated code, which includes "if" and "return" statements.
The author discusses what exactly is a Filter in .NET Core, and how to use it for automatic exception handling. Just read the article...
https://medium.com/@jelleverheyen/automatically-handle-exceptions-in-dotnet-core-api-2090d2e574dd
The article proposes a method to automatically handle exceptions in your C# API project. Normally, you should not throw exceptions inside API methods. This makes you to write a lot of duplicated code, which includes "if" and "return" statements.
The author discusses what exactly is a Filter in .NET Core, and how to use it for automatic exception handling. Just read the article...
https://medium.com/@jelleverheyen/automatically-handle-exceptions-in-dotnet-core-api-2090d2e574dd
Medium
Automatically handle exceptions in .NET Core API
What if we could simply throw an Exception in one of our applicationβs layers and have MVC handle this for us?
Say goodbye to Javascript! Blazor and ASP.NET Core 3.0 allow C# developers to build their entire stack in .NET, including UI. The article describes how to create a basic website, add user authentication, and many other things. You can configure your website for an arbitrary web server, or for Azure. Just read the article.
https://developer.okta.com/blog/2019/10/16/csharp-blazor-authentication
https://developer.okta.com/blog/2019/10/16/csharp-blazor-authentication
Okta Developer
Goodbye Javascript! Build an Authenticated Web App in C# with Blazor + ASP.NET Core 3.0
Tutorial: Build a frontend application with C# (without Javascript)!
Off-topic: Google celebrates Halloween with a cemetery for its dead products
https://www.androidpolice.com/2019/10/04/google-seattle-halloween-cemetery/
https://www.androidpolice.com/2019/10/04/google-seattle-halloween-cemetery/
Android Police
Google celebrates Halloween with a cemetery for its dead products
Whether the Google Seattle team is just saddened by the loss of a few dear old services or in the mood for a spooky Halloween season is up for debate, but
Are you planning creating interactive in-browser documentation? Check out this interesting Nuget project. Try.NET allows you to create help workshops that can be run both online and locally. All you need is .NET Core to be insalled. Just try it:
https://www.hanselman.com/blog/CreateExceptionalInteractiveDocumentationWithTryNETThePollyNuGetLibraryDid.aspx
https://www.hanselman.com/blog/CreateExceptionalInteractiveDocumentationWithTryNETThePollyNuGetLibraryDid.aspx
Hanselman
Create exceptional interactive documentation with Try .NET - The Polly NuGet library did!
I've blogged at length about the great open source project called 'Polly' NuGet Package of the Week: Polly wanna ...
Do you need to directly exchange data with an USB device? Just check out this article. The author will help you to understand how to communicate with USB devices using WinAPI in C#. The article shows how to use the USB/HID protocol for sending / receiving USB packets with no external dlls.
https://www.codeproject.com/Articles/1244702/How-to-Communicate-with-its-USB-Devices-using-HID
https://www.codeproject.com/Articles/1244702/How-to-Communicate-with-its-USB-Devices-using-HID
CodeProject
How to Communicate with its USB Devices using HID Protocol
This article will help you to understand how to communicate with the USB devices using WinAPI in C#.
In this video, Microsoft introduces SQL Server 2019. There is a quick overview of all the new things in SQL Server 2019 and introduce all of the other videos in this series that dive into the details.
Just watch the video:
https://channel9.msdn.com/Shows/Data-Exposed/Introducing-SQL-Server-2019
Just watch the video:
https://channel9.msdn.com/Shows/Data-Exposed/Introducing-SQL-Server-2019
Channel 9
Introducing SQL Server 2019
SQL Server 2019 is the latest version of the versatile and venerable SQL Server. This latest version continues to redefine SQL Server from a traditional relational database system to a data platform f
ββIf youβre using the latest version of Visual Studio 2019, you may not see the option to change the C# language version. Check out this article to learn how to change the C# version of your project:
https://www.c-sharpcorner.com/article/which-version-of-c-sharp-am-i-using-in-visual-studio-2019/
https://www.c-sharpcorner.com/article/which-version-of-c-sharp-am-i-using-in-visual-studio-2019/
ββTake a look on this open source project that is available online. CyberChef allows you to transform data using around 300 operations, including base64, encryption, and any other data formatting. Check out and play with this service. This may be helpful when debugging or preparing a test data for your app.
https://buff.ly/2pmw3kD
https://buff.ly/2pmw3kD
Off-topic: Do you often attend conferences or travel a lot? Take a look at these simple tips to protect your data when conencting your phone or a laptop to free WiFi and public USB cable.
PS: In addition to this article, there are different methods to prevent USB data transferring, e.g., programmatically switching off USB ports or modifying the USB cable and end connectors. Which methods to choose? Just read the article, search the Internet, and decide:
https://www.c-sharpcorner.com/article/protecting-your-data-at-conferences/
PS: In addition to this article, there are different methods to prevent USB data transferring, e.g., programmatically switching off USB ports or modifying the USB cable and end connectors. Which methods to choose? Just read the article, search the Internet, and decide:
https://www.c-sharpcorner.com/article/protecting-your-data-at-conferences/
C-Sharpcorner
Protecting Your Data At Conferences
In this article, learn how to protect your data at conferences.