.NET Native compiles C# to native machine code that performs like C++. You will continue to benefit from the productivity and familiarity of the .NET Framework with the great performance of native code. Popular Windows Store apps start up to 60% faster and use 15-20% less memory when compiled with .NET Native.
Tag: dotnet
Asynchronous Programming with Async and Await (C# and Visual Basic)
The Async and Await keywords in Visual Basic and the async and await keywords in C# are the heart of async programming. By using those two keywords, you can use resources in the .NET Framework or the Windows Runtime to create an asynchronous method almost as easily as you create a synchronous method. Asynchronous methods that you define by using async and await are referred to as async methods.
The tile template catalog (Windows Store apps)
This topic lists the tile templates available for use in a tile notification, with pictorial examples of each together with their XML content.
Holmes Statistical Debugging Tool Kit for NUnit – Microsoft Research
Holmes is an automated debugging and failure-analysis tool that uses statistical analysis of code-coverage data to identify the most likely cause of test failures. Holmes uses a custom data-collection tool to amass detailed path coverage during testing. The tool analyzes this coverage data to find paths that strongly correlate with failure. Holmes can be used to select and analyze a set of test runs, to navigate to the most likely causes of test failures in source code, to set break points, and to re-run specific failing tests.
MIDI File Mapper is a utility that allows you to remap the notes in MIDI files. This is particularly useful when converting GM drum patterns for a specific drum sampler or converting between loops for two different samplers.
NAudio is an open source .NET audio and MIDI library, containing dozens of useful audio related classes intended to speed development of audio related utilities in .NET. It has been in development since 2001 and has grown to include a wide variety of features.
Weak Events in C# – CodeProject
When using normal C# events, registering an event handler creates a strong reference from the event source to the listening object.
If the source object has a longer lifetime than the listener, and the listener doesn’t need the events anymore when there are no other references to it, using normal .NET events causes a memory leak: the source object holds listener objects in memory that should be garbage collected.
There are lots of different approaches to this problem. This article will explain some of them and discuss their advantages and disadvantages.
The Netduino hardware is a micro-controller running a very small version cut down version of the .NET framework called the Micro-Framework. This enables .NET developers to write their application code using C# and recently added VB.NET. Allowing you to write you application as high level code dealing with the problem rather than having to resort to using low level assembler to control the hardware. There are some things that a not implemented with Generics / Late Binding being the obvious two but the code is clearly VB.NET / C# and you use Visual Studio as a development tool.
Microsoft .NET Gadgeteer is an open-source toolkit for building small electronic devices using the .NET Micro Framework and Visual Studio/Visual C# Express.
Build all manner of electronic gadgets quickly and easily with .NET Gadgeteer.
Start, Stop and Restart Windows Service [C#]
This example shows how to start, stop and restart a windows service programmatically in C#
NuGet is a Visual Studio 2010 extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework. This topic lists documentation that will help you use NuGet packages and create your own.
Native Image Generator (Ngen.exe)
The Native Image Generator (Ngen.exe) is a tool that improves the performance of managed applications. Ngen.exe creates native images, which are files containing compiled processor-specific machine code, and installs them into the native image cache on the local computer. The runtime can use native images from the cache instead using the just-in-time (JIT) compiler to compile the original assembly.
The Microsoft® .NET Micro Framework combines the reliability and efficiency of managed code with the premier development tools of Microsoft Visual Studio® to deliver exceptional productivity for developing embedded applications on small devices. The Microsoft .NET Micro Framework SDK supports development of code, including device I/O, in the C# language using a subset of the .NET libraries, and is fully integrated with the Microsoft Visual Studio® development environment.
Welcome to the Cosmos home page. Cosmos is an operating system project implemented completely in CIL compliant languages. The team is committed to using C#, however any .NET language can be used.
QuickGraph: A 100% C# graph library with Graphviz Support. – CodeProject
This article presents a Generic Graph Library, 100% C#. This library is an attempt to port the Boost Graph Library (BGL) from C++ to C#.
Graph problems arise in a number of situations (more often that you would think): file compilation order, network band-with, shortest path, etc. The library provides the basic data structure to represent vertices, edges and graphs, and also provides generic implementation of various graph algorithms such as the depth-first-search, the Dijkstra shortest path, etc.
NTextCat is text classification utility (tool and API).
Primary target is language identification. So it helps you to recognize (identify) the language of text (or binary) snippet.
.NET Book Zero by Charles Petzold
This free on-line 267-page book is an introduction to C# and the Microsoft .NET Framework for programmers who have experience with C or C++.
ILSpy is the open-source .NET assembly browser and decompiler.
Development started after Red Gate announced that the free version of .NET Reflector would cease to exist by end of February 2011.
LuaInterface is a library for bridging the Lua language and Microsoft .NET platform’s Common Language Runtime (CLR). LuaInterface is a full consumer of the Common Language Specification (CLS), so Lua scripts can use LuaInterface to instantiate CLR objects, access their properties, call their methods, and even handle their events with Lua functions.
Google’s Protocol Buffers in .NET » Holsee’s Blog
You may be thinking “What are these Google Protocol Buffers that you speak of?”
In essence it is the name given to the binary serialization format used by Google for much of their data communications a.k.a. simply protobuffs.