If you are building a class library with Retargetable turned on, you might end up your assemblies to be used by some environment that does not support some of the functionality that is well required by the assembly. Let us consider the case with Caller Info Attributes. Caller Info attributes are a good way of determining the name… Read More »
The most important thing that you need to consider for Metro style application is its manifest file. After you create a new project from Metro application you will find a file with appmanifest extension. This file represents an xml based manifest file which holds all metadata information about the application.
It is the most common requirement to many of us to show the proper assembly version and build version to our application. Now for every version you can either choose your assembly version yourself, or rather you try to find some alternative that Visual studio automatically increments the value of your Build version and/or assembly Version. In this… Read More »
Recently I have came across to a problem where I need to share the same configuration file in multiple projects under the same solution. Well, I think it is very common scenario where a single Application Configuration File (app.config) or Web Configuration File (web.config) needed to be used to multiple projects on the same solution. Hence I thought… Read More »
Hashing is a concept to get a fixed size result from an arbitrary input. That means you can pass any input of any size to a Hash method and you will get a fixed size result for the same. In this post, I will talk about Hashing as a whole and the approaches that are available to you in .NET… Read More »
Its been a number of days when I last posted in DailyDotnetTips, but I always find fun in posting something here. Today I will talk about how you can get integration of Source code server with your .NET programs so that you can easily see the Source code of the .NET library while you debug. By source code… Read More »
Part Lifetime is one of the most important hindrances that we face while working with MEF. It is very important to understand how the parts are going to be shared between plugins such that having been so much open ended, 3rd party plugins remain separated to the objects that you do not want to be shared outside. In… Read More »
Just like what I have talked for so long in my blog entries about Import, ImportConstructor is another attribute that you can annotate only for a constructor. Sometimes it is needed to have some kind of Dependency that needs to be injected while constructing the object. In case of a normal Import, the Property is set using Default… Read More »