Friday, November 30, 2012

Securing WCF Service with Self Signed Certificates programmatically - CodeProject

Image representing Microsoft as depicted in Cr...
Image via CrunchBase
With the new ways Microsoft is cracking down on security, signing WCF services is important. This is a handy article.

I've spent some time to deal with WCF securing with certificates and came to a solution that I want to share.
As you probably know, WCF supports certificate authentication and it's not so hard to set up. However you will need to install certificates on both the service machine and the caller machine. This can be a problem if you want to host the service on a shared hosting environment for example. Even if the service is hosted on a machine in your network you will still need some permissions to be given to the service application pool user in order to access the certificate private key.

Securing WCF Service with Self Signed Certificates programmatically - CodeProject
Enhanced by Zemanta

Compare two dll files programmatically using Hash - CodeProject

DLL Icon
DLL Icon (Photo credit: Wikipedia)
Never know when this will be handy!

In the past days I needed to compare two .NET assemblies to see if they are functionally the same. As you may know, when you build the same project several times the resulting output .dll or .exe file is always different. That's because of the ModuleVerisonId property(MVID). So in order to check if two assemblies are the same we can disassemble them to IL code and compare them.

Compare two dll files programmatically using Hash - CodeProject
Enhanced by Zemanta

Tuesday, November 27, 2012

Iron HUD : Futuristic vision - Android Apps on Google Play

Been waiting for someone to make one of these! It turns your Android device into Iron Man's HUD...complete with repulsors!


Iron HUD : Futuristic vision - Android Apps on Google Play
Enhanced by Zemanta

Running Android Apps on Emulator - CodeProject

Awesome Article:

This is basically a non-programming article in which I am describing how to install Android apps on an emulator.
Many times we come across situations when we cannot run a much liked Android application on a device. Either we do not have a device to test our application, or we do not have space to install the application on our device, or simply we want to test an application before installing it on our device. In such cases, the emulator provided by the Android SDK comes to the rescue.
In this article, I will show how to create an SD card to be used by the Android emulator, how to mount the SD card and copy applications to the SD card. Once the app is copied to the emulator, it can be installed in the same way as installing on a real device. I am assuming here that the Android SDK has been installed on the computer.
As an example, I am showing how to install the AngryBirds game on the emulator.


Running Android Apps on Emulator - CodeProject
Enhanced by Zemanta

Monday, November 26, 2012

Android Developers Blog: Designing for Tablets? We’re Here to Help!

If one wants to learn more about developing apps on Android that work on Tablets and Phones read the following link and the video.


Android Developers Blog: Designing for Tablets? We’re Here to Help!
Enhanced by Zemanta

Saturday, November 24, 2012

TecTiles: programmable NFC stickers for select members of Samsung's Galaxy

I recently got a Samsung Galaxy S III and I am going to have fun with the near field technology. I hadn't heard of this technology's use until yesterday using Samsung TecTiles.

Samsung TecTiles is a two-part process. Firstly, to use Samsung TecTiles you need to purchase TecTile tags, which cost $14.99 for a set of five NFC tags/chips. These tags store commands and limited data (they are not attached to devices, don't mistakenly stick it to your device). TecTile tags can be bought directly from Samsung's website or other authorized sellers. Secondly, after you have TecTile tags, you need to download Samsung TecTiles app from Google Play Store (it is free); this app is used to program the tags (store commands in them). Once you have both the tags and app, you can read from and write to the TecTile tags.

We can use the this technology to do things like programming your phone to Turn Wi-Fi or Bluetooth on and off, call home, send a prewritten text, Open a webpage, update your status on Facebook, and many other ideas.


Use Samsung TecTiles to automagically execute tasks on your Android device

TecTiles: programmable NFC stickers for select members of Samsung's Galaxy

Download the App
Enhanced by Zemanta

Heroic Play

A tool bar has been put together that puts most of the Marvel online games from the past 4 years in a simple toolbar.

Heroic Play
Enhanced by Zemanta

Mouse Control via Webcam - CodeProject

Ever wanted to use your mouse on your PC with hand gestures? Some students have figured out how to do that without using Kinect but with just the webcam!
This application uses emguCV, a .NET wrapper for openCV, to perform image processing, through which we try to recognize hand gestures and control mouse using these gestures. In this app, cursor movement is controlled by the movement of hand and click events are triggered using hand gestures.
 
Mouse Control via Webcam - CodeProject
Enhanced by Zemanta

Make app icons of all the sizes you need in a blink! | Hello Android

Google Play and the Apple App store require icons of a certain size and the following link gives information on such a web app to help with that.

Make app icons of all the sizes you need in a blink! | Hello Android

Tuesday, November 20, 2012

Pepakura Modeling Software

Turns out that there is a software suite that contains a designer program and a program for viewing those designer files and files made by others. They are used for making 3D and 2D models for sculptures - including cosplay costumes like Iron Man and halo armors.


 
 

Friday, November 16, 2012

Thursday, November 15, 2012

Monday, November 5, 2012

Elevated In Browser Trust in Silverlight 5

Microsoft SilverLight
Microsoft SilverLight (Photo credit: denetsnuff)
Here are two articles that give important information about using elevated trust in Silverlight 5.

c# - vb.net - asp.net discussion forum - External Source

How to: Enable Trusted Applications to Run Inside the Browser
Enhanced by Zemanta

Mister Goodcat | Silverlight 5 Tidbits–Trusted applications

Image representing Microsoft Silverlight as de...
Image via CrunchBase
Here is a good article about how to make and deploy a Silverlight 5 program so that it can work as an in-browser trusted application.

Mister Goodcat | Silverlight 5 Tidbits–Trusted applications
Enhanced by Zemanta

Saturday, November 3, 2012

Changing Ownership of a File

Ever needed to change the ownership of a file programmatically? If so, this is the VB.Net  code for you!

Changing Ownership of a File
Enhanced by Zemanta

Get Current Username in VB.NET - VB.NET sample code - developer Fusion

AWB Username
AWB Username (Photo credit: Wikipedia)
Let's say you need to have VB.NET software that needs to get username of the person who has logged on. Here is some VB.Net code that actually does that. Follow the link

Get Current Username in VB.NET - VB.NET sample code - developer Fusion
Enhanced by Zemanta