VOIP … “business”

February 7, 2010 by robertoschiabel

A Miami hacker has admitted he pocketed more than $1m by selling millions of minutes of voice over IP calls and surreptitiously routing them through the networks of telecommunications companies.
[...]
… were arrested in June 2006 and accused of carrying out an elaborate scheme that routed more than 10 million minutes of VoIP calls over the networks of a dozen or so telecommunications providers without their permission. They breached the networks by using brute-force attacks that deduced the security telephone prefixes needed to gain access.
[...]

:O

read full article here: Fugitive VoIP hacker admits 10 million minute spree

source:  Nuove opportunità di “business”

Xedotnet: Mobile Track

February 6, 2010 by robertoschiabel

It’s Windows CE, Windows Embedded, Windows Mobile … and so on!
I already wrote few words here: What kind of Windows is Windows CE? ….

Last Xedotnet’s meeting had two sessions about it:
-Windows Embedded, segreti e misteri delle piattaforme microsoft per i devices by Valter Minute
-Windows Mobile: State & Notification Broker by Michele Locuratolo

Unfortunately Michele couldn’t take part, because of snow in Milano’s land. :(
So, Valter had the chance to enlarge it’s session, talk whole time, a show us very usefull things about Windows CE/Mobile/Embedded, Compact Framework and MSDN Embedded, and many other things.
To me he didn’t miss the point. ;)
It was very interesting see how decives and software changed for 15 years.

Valter showed us Microsoft Shared Source license, and how to debug the os too! :o
Well, I had a 15 years flashback. ;)

I really enjoyed it.

Technorati tags: Xedotnet,Windows CE

WPF: localization in MVVM

February 2, 2010 by robertoschiabel

Well, no screenshot, no code this time.
After my last post about localization in WPF,  the solution is ready and running in Corrado’s post and Mauro’s post, screenshot and code included!!!
Unfortunately it’s italian lang, but that’s not a big deal… because a line of code tells more that 100 words. ;) (cit. ?)

This solution is as simpler as powerfull: resources in viewmodel via viewmodel’s property, and INotifyPropertyChanged raised on language resources updated.

Enjoy them! (simil-cit. :) )

source : Corrado’s post, Localization of Model View ViewModel based applications
source: Mauro’s post, Premessa: doverosa :-)

Technorati tags: WPF,MVVM,Localization

WPF: add localization via resx files

January 31, 2010 by robertoschiabel

Developing localizable feature in old application wasn’t painless. :)
In Windows environment, thanks to .Net framework this feature is very easy.
WPF doesn’t miss the point (ehm locbaml?? ;) ) so realizing localizable applications is very easy indeed.

Since I’m still a WPF newbie developer, I found old resx files is still the simple solution.
I run through this very helpfull post WPF Localization – RESX Option by Toad.

Here is a step-by-step summary:

  1. Added “Resource” folder to wpf project
  2. Added resx files, based on languages to support (ie: Resource.en-US.resx, Resource.it-IT.resx, … and Resources.resx of couse)
  3. Changed resx files from Internal to Public
  4. Added resource namespace in Window1.xaml:
    xmlns:resx="clr-namespace:WpfApplication1.Resources"
  5. Setted property’s binding to desidered controls:
    <TextBlock Text="{x:Static resx:Resource.SampleMessage}" />
  6. So standard Window1.xaml can result like this

    <Window x:Class="WpfApplication1.Window1"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     xmlns:resx="clr-namespace:WpfApplication1.Resources"
     Title="Window1" Height="100" Width="300">
    <Grid>
     <TextBlock Text="{x:Static resx:Resource.SampleMessage}" />
    </Grid>
    </Window>
  7. To test different languages, pre_setting language in App class constructor:
    public partial class App : Application
    {
        static App()
        {
            Resource.Culture = new System.Globalization.CultureInfo("it-IT");
        }
    }

XAML binding let resource available in designer window:

Ta-daaa! :)

source: WPF Localization – RESX Option

Technorati tags: WPFLocalization

Object Relational Mapping’s theory

January 28, 2010 by robertoschiabel

What is object relational mapping goal?
What (N)Hibernate’s goal ? and Entity Framework goal?
and Linq2SQL? .netTiers? CSLA.NET? …

It’s good to know what is the goal of the tool we are using, what it offers and how it relates with other tools.
The document “Foundations of O/R Mapping” by  Mark Fussel may help you to better understand what is the right tool for your application. ;)

source: Hai voluto la bicicletta?

Technorati tags: ORM
  •  

    February 2010
    M T W T F S S
    « Jan    
    1234567
    891011121314
    15161718192021
    22232425262728
  • .

    .Net Agile Antivirus Book C# Programming Hyper-V MVVM Resharper SCRUM Security SQLServer Unit Test Virtual PC Visual Studio Windows7 WPF XeDotNet