MF Mapping Framework – Beta release

Hi folks, since a long time I have to publish this project and I finally got the time to release a beta version of it. The purpose of this project is to provide a simple framework component to easily map object from different types. A simple example is given just below. For now the projectContinue reading “MF Mapping Framework – Beta release”

Send SMS in C# with Xamarin MonoForAndroid

I’ve started to develop android app’s in C# with the ubber great Xamarin MonoForAndroid framework which allow us to develop android apps in C#/.Net. If you don’t know it yet, take a look at their website, a truly great product 🙂 Anyway, I just share to you a little code snippet to send SMS fromContinue reading “Send SMS in C# with Xamarin MonoForAndroid”

Send a file trough bluetooth in C# with 32Feet.NET

Once again, another article about this little puppy called 32Feet.NET. In the previous article I show you how to download a file, now we will send a file to the remote device. Once again, proceed in two steps. First one, as in the previous article (https://istacee.wordpress.com/2013/02/22/download-a-file-through-bluetooth-in-c-with-32feet-net/) juste retrieve the BluetoothDeviceInfo object. And here’s the uploadContinue reading “Send a file trough bluetooth in C# with 32Feet.NET”

Download a file through bluetooth in C# with 32Feet.NET

Hi folks, my first article in english. I finally switch from french to english. Just hope my indexing will not be too impacted ^^ So, here I’ll briefly show you how to download a file from a remote device through bluetooth with the 32feet.net library (available here). I proceed in two steps. The first one, IContinue reading “Download a file through bluetooth in C# with 32Feet.NET”

MSMQ : Architecture et principes

PrĂ©sentation de MSMQ MSMQ, acronyme de Microsoft Message Queuing est une implĂ©mentation Microsoft de Message Queue. Une Message Queue est un ensemble de techniques permettant l’échange asynchrone de messages. Par exemple, une boite mail peut ĂŞtre considĂ©rĂ©e comme un MQS (j’utiliserai par la suite cette abrĂ©viation pour parler de manière gĂ©nĂ©rique des message queuing system),Continue reading “MSMQ : Architecture et principes”

Visual Studio Code Snippet : Dependency Property et NotifyPropertyChange

UPDATE 1 : Pour des raisons que je ne dĂ©taillerai pas ici, certaines snippets ne rĂ©fĂ©rençait pas “http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet” comme xmlns. Le code et le zip est mĂ j avec le “bon” xmlns. Voici une sĂ©rie de code snippet que je me propose de partager avec vous. Elles sont souvent simples et certaines peuvent sembler un peuContinue reading “Visual Studio Code Snippet : Dependency Property et NotifyPropertyChange”

WebSocket avec ASP.NET 4.5 et Microsoft.Websockets

Websocket est un standard qui permet de « dĂ©velopper un canal de communication bidirectionnel et full-duplex sur un socket TCP pour les navigateurs et les serveurs web. » C’est que l’on fait actuellement lorsque l’on utilise des XMLHttpRequest avec Ajax. En dotnet SignalR permettait dĂ©jĂ  de profiter de ces features, maintenant il est possible de le faireContinue reading “WebSocket avec ASP.NET 4.5 et Microsoft.Websockets”

References en tant que ressources incorporĂ©es

Ce petit bout de code peut se montrer utile dans certains cas. Bien que ne respectant pas la philosophie .net, on peut se retrouver dans des cas oĂą l’on doit n’avoir qu’un seul fichier exĂ©cutable portable en dehors du dotnet framework par exemple. Cela peut vite ĂŞtre le cas quand on dĂ©veloppe des « utilitairesContinue reading “References en tant que ressources incorporĂ©es”

Compilation et appel de code C# dans un System.String au runtime

Voici un petit bout de code vous permettant de compiler du code sous forme de string et d’instancier des objets. Pour Ă©viter d’Ă©crire du code d’appel par rĂ©flexion, ma classe a gĂ©nĂ©rer implĂ©mente une interface que j’utiliserai ensuite manipuler le resultant de CreateObjectFromAssembly. Seul la construction de l’objet se fait par rĂ©flexion. Pastebin : http://pastebin.com/S6fpYcXD