Visual Studio 11: Caller Attributes

One of the new features of Visual Studio 11 and the .NET Framework 4.5 are the Caller attributes:

  • CallerMemberName: allows you to obtain the method or property name of the caller to the method.
  • CallerFilePath: allows you to obtain the full path of the source file that contains the caller. This is the file path at compile time.
  • CallerLineNumber: allows you to obtain the line number in the source file at which the method is called.

These attributes help to simplify the code in certain scenarios, such as logging or when using the INotifyPropertyChanged interface (as in MVVM) and you need to pass the name of the calling property.

[Read More]

PRISM and Telerik RadControls for WPF

For some time now, I have had the chance to experiment with PRISM and I really like what it brings to the table. But I also use some Telerik controls for WPF, and after doing some research, I noticed that Telerik has included in its documentation some elements about PRISM.

Here are some interesting links:

If you have other interesting articles, let me know via the comments or my contact page

[Read More]