Featured

EF : Code First – Auto Increment Key

No need for an explanation for the subject. Its a general scenario to have an auto incremental key column in DB. So, we can use [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] attributes for the purpose, for example : namespace CustomerBase.Models { using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; public partial class Customer { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } […]

Read More EF : Code First – Auto Increment Key
Featured

Solving {foo.bar}s – My Experience

Recently found some time to attempt Google’s foo.bar challenges. They are really interesting and managed to find the time since fasting and stopped my-self from other works than the work that pays.Hance, I accidentally found the link for foobar or perhaps, the first Easter egg I found in Google. My impression on them is, they are […]

Read More Solving {foo.bar}s – My Experience
Featured

C# : My Verdict on Pointers

Originally from here.  Earlier I have already published a post on Pointers, which are very fascinating things in C and C++. A pointer is a variable valued with the memory address another variable. Pointers maintain a common rule, like a variable or constant we need to define a pointer in order to store the variable or […]

Read More C# : My Verdict on Pointers
Featured

Azure Analysis Services

Finally “True DevOps” became real for a BI Engineer / Analyst with the introduction of Azure Analysis Services. Even though there are lots of “In Cloud Analysis Services” service providers exist since recent past, nothing was able to reach the capabilities provided by the “On-Premise Microsoft Analysis Services” solution.  With the introduction of Power BI almost […]

Read More Azure Analysis Services
Featured

=lorem(20,18)

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna. Nunc viverra imperdiet enim. Fusce est. Vivamus a tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin pharetra nonummy pede. […]

Read More =lorem(20,18)
Featured

C# : Dependency Injection, Simplified

It has been a buzz word for some intermediate level C# developers, ‘Dependency Injection’ is sometimes really hard to understand because we couldn’t understand the need for it. In simple words, think about the scenario where you are developing an application which saves some data in a file and that file handling. You might code […]

Read More C# : Dependency Injection, Simplified
Featured

C#: BitArray and use-cases

I started C# programming with a image manipulation program, it was a Windows Phone application and it was a very huge project compared to apps we have now for smart phone. Unfortunately we are still hiding it from the public because people never respect the value of that software when we demo-ed it to some […]

Read More C#: BitArray and use-cases
Featured

C#: Casting and Type Checking

We all know and have experienced the importance we have for castings in C#. Its just essential if you want to build any system that takes inputs, process and give output. What a basic computer does is the same functionality right? so logically we need casting EVERYWHERE in computing. Even you can argue, “I am […]

Read More C#: Casting and Type Checking
Featured

Switch to Google : How I did It

Last office week of Ramadan, at office I was waiting for Azure Remote app to import the disk image. It will take about 30 mins while everyone went for lunch. Yes, just a minute before I have published my third Google chrome extension, Switch to Google while I was alone with the PC. It employs […]

Read More Switch to Google : How I did It
Featured

Understanding statics in C#

The keyword static is a most confusing when its asked in exams and interviews and they might be the deciding factor sometimes for some companies. Think this question OK! I have a static class that implements an interface… and do you think its possible? Wow.. simple question but we don’t use this kind of scenario […]

Read More Understanding statics in C#
Featured

Delegates in C#, simplified.

Delegates, a main question when it comes to C# interviews. When I faced the internship interview at IFS last October I was asked a question “What is a delegate” I said “It is a way to achieve thread safety”, actually I used delegates in my Imagine cup project in 2013 but when I faced that […]

Read More Delegates in C#, simplified.
Featured

AudioManager in Xamarin.Android

AudioManager class in Android provides access to volume and ringer mode control. Since Xamarin has 100% Android coverage, we can use the same class to control system wide volume and ringer via our C# code. We have to invoke Context.getSystemService(Context.AUDIO_SERVICE) to make an instance of the AudioManager class and after getting an instance, we can […]

Read More AudioManager in Xamarin.Android
Featured

Work on Azure with friends

While working on a project as a group which uses Azure as the backbone of it, Usually companies, buy one Azure subscription and share the authentication details with the project team. But people like MVPs, MSPs and other team members who have MSDN subscription will surely already have Azure subscription for USD 150 per month. […]

Read More Work on Azure with friends
Featured

The new C# and two good things.

I have installed Visual Studio 2015 on a Virtual machine and it is GREAT..! I am making a post on it with screenshots but for now let me tell about some cool Visual C# 2015 preview features 1 Auto-Properties with initializers. Now you can code something like public int id { get; } = 15; […]

Read More The new C# and two good things.
Featured

Got an Inbox invitation

Got a Google Inbox invitation and I hope you all have read about what Inbox is. Why you should install it Its from Google 😀 Snooze feature Done feature Awesome UI/UX (They call this as Materiel design) That innovative ‘Compose‘ ( ⊕ ) button Its Faster On receiving emails On sending emails On attaching files […]

Read More Got an Inbox invitation