Universal App – Bing Map : Get current location, show pins and search near by

Years ago I wrote a post for using Bing Map in Windows Phone Windows Phone – Embedded fonts and Bing maps. Following a new trend with Universal App, this post shows how we can host a Bing Map control in Universal App and execute some actions such as show location, pins and search POIs near by.

Continue reading Universal App – Bing Map : Get current location, show pins and search near by

Universal app – Windows 10 Action Center Toast Notification

Action Center is a new feature of Windows 10. It’s a collapsible panel on the right of the monitor where the software can notify his user about his status. It works exactly same as the notification of apps in smartphone. User can click on the notification to go directly to the apps. In this blog spot I will make a short demo showing how we can display a notification in Action Center. The demo contains a very simple email client working with IMAP server and notifies the user how many unread emails there are in his inbox. This email client works as an universal app.

Continue reading Universal app – Windows 10 Action Center Toast Notification

AForge.Net – Similar images

AForge.NET is a C# framework designed for developers and researchers in the fields of Computer Vision and Artificial Intelligence – image processing, neural networks, genetic algorithms, machine learning, robotics.

Years ago I wrote a small post using AForge.net for detecting motion and calculating average color AForge.Net – Examples for average color and motion detection. In this post I’ll use AForge.Net for calculating the similarity grad between 2 images.

Continue reading AForge.Net – Similar images

Entity Framework Code First Basic FAQ – Part 2

In previous post Entity Framework Code First Basic FAQ – Part 1, I discuss some frequently asked questions when I start working with Entity Framework Code First. This post will follow the spirit of the previous one, some interesting points of Entity Framework will be demonstrated in short code listings. In source code sample, you’ll find 2 projects, the project numbered with number 2 is for this post.

Continue reading Entity Framework Code First Basic FAQ – Part 2

TBASBackup – Thunderbird account settings backup and restore

Since I know Internet, I’ve created a lot of email accounts. I think I had already about 100 emails (include alias). Managing all of these emails is a nightmare so I have to get rid of most of them but I still have about 10 emails in use.
Checking 10 email accounts over web isn’t an easy job so I use Thunderbird as my default email client to manage all of them. Everything works fine but there’s a small problem with data lost when my computer gets broken. If I have to reinstall the operating system, all of my email account settings will fly away. Adding all of the emails again in Thunderbird is the most bored thing in the world therefore I would like to discuss some methods to back up these account settings.
Continue reading TBASBackup – Thunderbird account settings backup and restore

How to install Mac OS X Yosemite 10.10 on VirtualBox?

UPDATE: For Mac OS X Sierra please follow this post How to install Mac OS X Sierra 10.12 on VirtualBox?

Years ago I wrote a post for installing Mac OS X on VirtualBox. At that time, the version of Mac OS X was 10.7.3 Lion. The installation may not work with current version of VirtualBox anymore. Therefore, I would like to make another post for updating this hack. This time, we’ll use VirtualBox 4.3.26 for hosting Mac OS X Yosemite 10.10 in Windows 8.

Continue reading How to install Mac OS X Yosemite 10.10 on VirtualBox?

C# – Use ASP.NET Identity External Authentication with desktop application

In previous posts we get to know with ASP.NET Identity and use it in many platforms such as Desktop or Android application. In all of them, I used local identity management system of ASP.NET Identity which connects to local database and manages users. So if users want to use our services, they have to register an account with our systems. They can’t use their Facebook or Google account to login to our system. Today I’ll show you how to extend our services by enabling OAuth 2 so that the users can authenticate themselves with their Facebook, Google+, Microsoft or Twitter accounts. You may find a lot of tutorials out there in Internet for integrating this external authentication within a web application. Therefore I wouldn’t like to write the same thing again but I will use a WPF application as my client and authenticate with ASP.NET Identity service over external authentication of Google+. This concept can be also used for mobile application such as Android, IOS or Windows Phone.

Continue reading C# – Use ASP.NET Identity External Authentication with desktop application

C# – Introduction to Aspect Oriented Programming with RealProxy

In many complex business applications, software developers are maybe asked for making protocol of all changes on an object. For example, in a task management system, changes of a task such as dead line, attachments, comments… by users should be logged and displayed in his history. Or in a fault management system, all changes of a fault such as status, companies, workers,… should be also recorded. Who adds what, who deletes what, tracking changes… is the point of interest. How should we solve these requirements without violating our software architecture and duplicating code? We need something that can cross the boundaries of an object or a layer and Aspect Oriented Programming (AOP) is exactly what we need. According to Wikipedia,

Continue reading C# – Introduction to Aspect Oriented Programming with RealProxy