.NET

Showing 1-9 of 17 results
EngineeringIcon ChevronData Science and Databases

An Expert Workaround for Executing Complex Entity Framework Core Stored Procedures

By Pankaj Kansodariya

Microsoft’s Entity Framework Core is a popular object-relational mapper, but it doesn’t support the return of complex type results from stored procedures. A clever bit of code gets us around this limitation, returning non-database entities with ease.

5 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

A .NET Programmer’s Guide to CancellationToken

By Davit Asryan

Microsoft created a standardized cancellation implementation that has far-reaching capabilities beyond its original use case.

7 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

.NET on Linux: Simpler Than It Seems

By Zablon Dawit

Discover Microsoft .NET's cross-platform development capabilities by building a Dockerized ASP.NET and Entity Framework application on Linux.

8 minute readContinue Reading
EngineeringIcon ChevronBack-end

Caching and Connection Handling in .NET: An Aspect-Oriented Programming Tutorial

By Marko Pađen

We reduce boilerplate with common OOP patterns, but often, the code overhead of using patterns is almost the same—if not bigger—than if we’d used boilerplate code in the first place. In aspect-oriented programming tutorial, we implement two functions (aspects) that allow for generic database connection management and caching. These allow us to mark methods that, when called, will automatically have the required functionally present in through IL weaving.

12 minute readContinue Reading
EngineeringIcon ChevronTechnology

.NET Unit Testing: Spend Upfront to Save Later On

By Nickolas Fisher

Unit testing sometimes sounds like an unnecessary expense, but it is a powerful, yet simple tool. Unit tests allow you to identify and rectify weaknesses with relatively little effort. In this article, Toptal Software Engineer Nickolas Fisher takes you on a quick tour of unit testing and explains why you can’t have too many unit tests.

12 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

A Deep Dive Into Entity Framework Performance When Using “Contains”

By Anton Shkuratov

Entity Framework is a great tool, but in some cases its performance is slow. One such case arises when complex queries use “Contains.” Join Toptal .​NET Developer Anton Shkuratov in exploring how performance issues can be mitigated and finding the best approach to this type of complex queries.

8 minute readContinue Reading
EngineeringIcon ChevronTechnology

An Elasticsearch Tutorial for .NET Developers

By Ivan Cesar

Elasticsearch is one of the most powerful full-text search engine solutions out there. Using the NEST package, you can easily leverage the power of Elasticsearch in your .NET projects. In this article, Toptal Freelance Software Engineer Ivan Cesar shows how Elasticsearch can solve real-world full-text search problems in your .NET projects.

11 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Make an Android and iOS App in C# on Mac

By Demir Selmanovic

In the past few years, Microsoft has pulled a few aces from up its sleeve. Yes, they messed up Skype, failed with smartphones, and almost succeeded with tablets. But they did some really amazing things as well. Relinquishing their closed empire approach, they open-sourced .NET, joined the Linux Foundation, released SQL Server for Linux, and created this great new tool called Visual Studio for Mac. In this post, Head of Open Source Demir Selmanovic details how to make an Android and iOS app in C# on your Mac.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Improve ASP.NET App Performance in Web Farm With Caching

By Daniel Ivanov

Caching is a powerful technique for increasing performance, but the whole idea behind caching works only as long as the result we cached remains valid. And here we get to the hard part of the problem: How do we determine when a cached item has become invalid and needs to be recreated? In this article, Toptal Freelance Software Engineer Daniel Ivanov provides an ASP.NET-based solution to replace invalid cached items and assure high throughput and performance of web applications designed to handle a high load.

10 minute readContinue Reading

Join the Toptal® community.