Quantcast
Channel: Random Musings » c#
Browsing latest articles
Browse All 5 View Live

Image may be NSFW.
Clik here to view.

File Property – Build Action To Compile

Today, i really scratched my head. The class file has been included properly into a dll, it has been given public so that it can be seen. But when i browsed it from the dll browser, the public...

View Article



Image may be NSFW.
Clik here to view.

Using App.Config in C# dll library

Here are the steps to use App.Config in dll; 1) Make sure that the build action of the App.Config is ‘Content’ and Copy to Output Directory = ‘Copy always’ 2) Make sure that the App.Config file is...

View Article

Image may be NSFW.
Clik here to view.

Interface example in the real world

Today, i discovered a book titled “Interface-Oriented Design” published by The Pragmatic-Programmers series, when i made a trip to the local library here. The sample PizzaOrdering interface at chapter...

View Article

Image may be NSFW.
Clik here to view.

Reflection in C#

These are the code before it’s refactored private Opportunity ToOpportunity(DynamicEntity de) { try { Opportunity opportunity = new Opportunity(); foreach (string attribute in...

View Article

Image may be NSFW.
Clik here to view.

Create simple domain generator by reading from CRM Metadata

Objective I would like to create my own domain (class) from the custom CRM entity. The advantage of this is to simplify domain persistence and retrieval between application layer and database layer...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images