Featured

Service Fabric Handbook

Welcome!

This post is a handbook where you probably will find an answer to “How different things works in Azure Service Fabric?” question. Almost all of the information (around 90%) is from docs.microsoft.com, GitHub and etc., the rest of it are personal findings made during development of CoherentSolutions.Extensions.ServiceFabric.Hosting.

Where possible the information will be confirmed by reliable source (docs, issues or posts).

Continue reading “Service Fabric Handbook”

.NET R&D Digest (November – December, 2019)

This year was huge for .NET community. We hit .NET Core 3.0 with all itโ€™s goodies just to find out that .NET Framework 4.8 will be the last framework release. We saw a glimpse of future called .NET 5 where Mono is part of the .NET. We saw / heard multiple talks from multiple conferences and read a lot of blog posts from the internet.

Now the year is coming to its end but there are still some stuff to read and I know, there is nothing better than read some technology blog post on holiday / vacation ๐Ÿ˜Š

Have a good time! See you next year!

Continue reading “.NET R&D Digest (November – December, 2019)”

.NET R&D Digest (October, 2019)

Working week is coming to an end, so it is a great time to read something new and interesting. But where do I find these? Here is where a new issue of .NET R&D Digest comes in ๐Ÿ˜Š

This issue includes bits of: architecture, story, software processes, .NET, Workshops and many more interesting links to articles and blog posts.

Have a good day and enjoy your reading!

Continue reading “.NET R&D Digest (October, 2019)”

.NET R&D Digest (September, 2019)

Every month there is something exciting happening in the world of technology. This month (September) was a special one for .NET community because of .NET Core 3.0 release (and if you havenโ€™t noticed that I recommend you to watch these .NET Conf recordings and read this announcement).

Despite the fact we all are overwhelmed by the information and blog posts we now have to read about new features and changes I hope there is still a small room for new issue of .NET R&D Digest (September, 2019) ๐Ÿ˜Š

This issues includes bits of architecture, a story and a few posts about .NET and .NET Internals.

Have a nice read!

Continue reading “.NET R&D Digest (September, 2019)”

What is the difference between ToArray and ToList?

Introduction


In the beginning of June I attended .NET Summit conference in Minsk, Belarus. Besides interesting presentations (recording are available on YouTube, language is Russian / English) there were interesting quizzes.

One of the questions was:

What is the difference between ToArray and ToList?

Software Engineer

Hmm… what could be the difference besides one returns T[] and another one returns List<T>?

If you don’t know the answer or just like digging into sources of dotnet/corefx then I invite you to join me and find out the answer!

Note

All code snippets were taken from release/3.0 branch of dotnet/corefx repository. All code snippets were truncated to make them more representative (removed input argument checks, contracts, …, etc.).

Tests were targeting .NET Core 3.0 preview 7. However most of the information should be relevant for .NET Core 2.0+ and .NET Framework 4.5+.

Continue reading “What is the difference between ToArray and ToList?”