Introduction and Background

1. As a framework
- Network
- File I/O
- Long-running tasks
These are the bottlenecks in the performance. Windows Runtime allows you to overcome these. .NET framework also uses the same mechanism, but developers typically leave out that part and go for the non-async functions. Bad practice!
References
For more on asynchronous programming, please refer to:
2. Modularity

3. Simplicity of the development
I don’t want to lie here, Windows Runtime is simple, it takes time to understand its simplicity.
When I started to write applications for the Windows Runtime framework, I did not understand the framework or how to develop the application. That is because I was fond of straightforward small programs. Windows Runtime is a beast, a humungousaur, with its handles hanging down to the developers through the interfaces of the C# language. Windows Runtime has everything already set up in different areas. Like, the views, source code, capabilities, properties, resources, and much more.
- Managing the source code.
- Managing the output directories and how binaries are generated.
- Managing the visual items; the image assets may be difficult to add, Visual Studio makes it really very easy to add the assets of different sizes.
- The properties and manifest of the application are also written in XML. But Visual Studio makes really very simple to edit and update the manifest of the application.
4. Keep all architectures in mind
- x86
- x64
- ARM
These are a few of the configurations for which binaries are generated and since the code that gets generated in a native one, the code must match the architecture, otherwise, the results are undefined.
However implementing the multiple architecture pattern would also require more manpower, more time for testing and implementing the patterns. Windows Runtime in Visual Studio has all of that already supported, but the thing is, you need your men ready for any new framework to be included and tested on.
Before Windows Runtime, I thought, if everything works correctly it is going to work anyways. But, ever since I have started to write applications for Windows Runtime and Windows Store I forgot that mindset and wanted to ensure that it passed all of the tests that it must undergo. That all started when I was about to upload my application, “Note It! App” to Windows Store. The application was passing all of the tests in Debug mode. Yet, when it was tested in the Release mode, it failed many of the tests.
Note: I am not talking about the Windows App Certification Tests.
The thing is, the code in the Debug mode has a debugger attached, which knows when something is going wrong and tells the developers about it and we can fix it. In Release mode, it is not the same. The error checks, the memory segmentation, and other stuff in Windows Runtime are not same as it is in .NET framework. .NET framework uses Just-in-time compilation and performs many checks. However, in Windows Runtime, that is not the case. Everything is pre-compiled to overcome the JIT latency; delay.
That is exactly why you should build the application in debug mode. However, always test the applications in Release mode. If you test the application in debug mode, you will skip a few of the key points in your application where it needs to be checked against.
5. You may want to test it again!
Also, in the end, the App Cert Kit will be useful to test if other tests, like resources, binaries and signature packaging is all well.
Figure 3: App Certification Kit
References
For more about it, read these:

- Release IS NOT Debug: 64bit Optimizations and C# Method Inlining in Release Build Call Stacks
- Debugging Release Mode Problems
Points of Interest
No developer wants to publish their buggy and faulty application on the Internet. I try not to publish the application until it has passed every possible condition of the test. However, no software is 100% bug-free and a perfect solution.
In this post, I didn’t mean to target Windows Runtime as an ideal case for solution building, instead, I wanted to just share a few of the great cards it has up its sleeves. .NET framework is simple, easy, and agile to build on. But agility may drive you insane someday.
Always keep these things in mind, and write applications by keeping these things in mind.
Read more articles on .NET Core:

Jithil JohnPosted Mar 7, 2016, 7:06 AM
Good one
Maruthi PalllamalliPosted Mar 7, 2016, 7:06 AM
Good Strategical framework from micro soft. But I have few things while reading this i.e ' Why it is supporting only managed code ? Can I run this apps into mobile and how developer can choose windows run time with out cross platform feature ?
Jithil JohnPosted Mar 7, 2016, 7:02 AM
Good one
Mohammed IbrahimPosted Mar 7, 2016, 4:10 AM
nice
Sibeesh VenuPosted Mar 7, 2016, 2:00 AM
Nice read mate.
Humayun Kabir MamunPosted Mar 7, 2016, 1:58 AM
Nice...