C#

Showing 1-9 of 18 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 ChevronBack-end

The Dart Language: When Java and C# Aren't Sharp Enough

by Star Ford

Five years after Dart 1.0, Google's rewritten open-source language is attracting increasing numbers of developers. What do C# and Java developers need to know to get started with it?

13 minute readContinue Reading
EngineeringIcon ChevronBack-end

Haxe: Cross-platform Development's Best-kept Secret

by Kevin Bloch

The modern, cross-platform programming language Haxe is well-known in some circles, yet many developers have never heard of it. Since it first appeared in 2005, it's been battle-tested by its loyal—if rather quiet—following. In this article, Toptal Freelance Software Engineer Kevin Bloch explores the Haxe ecosystem and how to transpile some sample code.

12 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 ChevronData Science and Databases

Conquer String Search with the Aho-Corasick Algorithm

by Roman Vashchegin

The Aho-Corasick algorithm can be used to efficiently search for multiple patterns in a large blob of text, making it a really useful algorithm in data science and many other areas. In this article, Toptal Freelance Software Engineer Roman Vashchegin shows how the Aho-Corasick algorithm uses a trie data structure to efficiently match a dictionary of words against any text.

16 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

The 10 Most Common Mistakes That Unity Developers Make

by Tomas Macek

Unity is an excellent and straightforward tool to use for multi-platform development. Its principles are easy to understand, so programmers can start developing new products quickly and intuitively. However, if developers do not keep some important things in mind, development can slow down at crucial points, including when the project moves away from initial prototype or is approaching final release. In this article, Toptal Freelance Software Engineer Tomas Macek outlines the most common mistakes that Unity developers should be aware of for future projects.

13 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

Join the Toptal® community.