.NET

Showing 1-9 of 14 results
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 a 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
EngineeringIcon ChevronBack-end

How to Bootstrap and Create .NET Projects

by Andrei Smirnov

To create a .NET project from scratch, simply using Visual Studio Wizard is good enough most of the time. However, the default project settings produced by wizards are hardly acceptable for professional teams, as they set too low of a bar on quality. In this article, Toptal Freelance Software Engineer Andrei Smirnov guides us through several standard practices, configuration files, and project settings every developer should apply when starting a new .NET project. Doing this in the very beginning of a project decreases future technical debt and makes product source code readable and professional-looking.

11 minute readContinue Reading
EngineeringIcon ChevronTechnology

Project Rider: A Standalone ReSharper IDE

by Kate Scheer

With Microsoft’s no-brainer shift towards open source and interoperability it was only a matter of time before we started seeing alternatives to some of their key products, like Visual Studio. Enter Project Rider: the code name for IDE guru JetBrains’ competition to Visual Studio. Here’s the lowdown on Project Rider, the newest member of the IntelliJ platform family.

6 minute readContinue Reading
EngineeringIcon ChevronBack-end

Guide To Budget-friendly Data Mining

by Jeffrey Shumaker

Although database programming does not evolve at nearly the same pace as traditional application programming, recent advancements in several fields are bringing new techniques and technologies within the reach of small and independent developers. In this guide, Toptal Freelance Software Engineer Jeffrey Shumaker explains how developers can quickly and easily tap these methods to identify database issues they may not even be aware of, and how they can build excellent data mining tools without spending a lot on expensive software licenses.

9 minute readContinue Reading

Join the Toptal® community.