W dzisiejszym poście przyglądniemy się dość ciekawej wtyczce rozszerzającej możliwości Visual Studio. XAML Power Toys jest generatorem widoków, który automatycznie tworzy kod XAML na podstawie wcześniej przygotowanego view-model-u. Siłą rzeczy, skorzystamy z niego najlepiej stosując w naszej aplikacji wzorzec MVVM, chociaż nie jest to oczywiście warunek konieczny.
O tym czy jest Eto.Forms i czy jest/nie jest ciekawe.
Structures, handles, pointers and managed code in C++. Twelfth part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
So…after quite a serious thing which was writing Pro .NET Memory Management book, I’ve decided to experiment with a little pet project for having some more fun. I have quite a few very interesting ideas going on in my head. Yet, I needed to choose one! And that’s how an idea of OutOfMemory game prototype materialized!
Marshal-by-bleed, DllMain in C#, timers and more. Eleventh part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
Threads, memory model, pumping COM messages, internals of Thread.Abort. Tenth part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
GC, card table, brick table, finalizers, f-reachable queue and more. Ninth part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
RECRUITMENT QUESTIONS FOR .NET DEVELOPER – WHAT YOU NEED TO KNOW BEFORE YOUR RECRUITMENT INTERVIEW
Unions, varargs, global fields. Eighth part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
Today a friend showed me a piece of code that was supposed to serialize some Model to XML string without any consideration for custom namespaces apart from defined in given Model. Ok, so we need an instance of XmlSerializer for Model’s type and we will use XmlWriter to write through some MemoryStream and read the contents at the end. Seems quite obvious but is it? Let's dive into caveats of stream processing.
Sztuka programowania 2058 dni, 3 godziny, 49 minut temu 32 źrodło rozwiń
Advantages of boxing, exceptions, well known members, duck typing and more. Seventh part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
Loading shim, app domains, size of an empty structure or .NET calling convention. Sixth part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
Today I decided to check how Enumerable.EmptyT() works and wasn’t satisfied with the knowledge I got. I started digging a little bit deeper and wasted some of the precious beauty-sleep time so if you want to know what’s happening when you add an element to an empty collection, let me tell you a story of today’s night.
Architektura 2071 dni, 2 godziny, 12 minut temu 372 źrodło rozwiń
Methods with same name and parameters but different return type, const vs readonly, parameters evaluation and much more. Fifth part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
How to add a type constructor or a static field to an interface? How to implement a parameterless constructor for a struct? Fourth part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
How to create object without calling constructor? How to call constructor multiple times? How to create an instance of an interface? Third part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
How to compact LOH? How to stop out-of-band exceptions? How to resurrect an object? Second part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
Sztuka programowania 2100 dni, 3 godziny, 11 minut temu 180 źrodło rozwiń
What happens when you throw something which does not inherit from System.Exception? How to swallow ThreadAbortException? Is it possible that finally block is not executed? First part of .NET Internals Cookbook with answers to various C#/.NET/CLR questions.
C# 8.0 brings us another nice feature called slicing. In order to make it possible, two new concepts are introduced: Indexes and Ranges. Let’s see how this tiny feature is supposed to make our life easier 🙂
Sztuka programowania 2107 dni, 2 godziny, 6 minut temu 112 źrodło rozwiń