Posts

Showing posts from 2009

Babel Obfuscator – A good Obfuscator Tool

If you need some information a bout Obfuscate, you can read the following topic, it also provides some obfuscator tool, but almost of them are not free. http://harriyott.com/2008/09/obfuscations-what-you-need-if-you-want.aspx   Babel is an obfuscator for .NET assemblies, and it’s the open source application and FREE.   The URL of Babel Obfuscator: http://code.google.com/p/babelobfuscator/ (console application)   The add-in that run with Reflector: http://www.jasonhaley.com/blog/post/2009/08/18/ReflectorBabel-Addin.aspx   After run Babel Obfuscator, you will have a protected assembly and really hard (or could not) be decompiled by Reflector. Now you can public your assemblies over internet, and…….It’s very important with Silverlight Application, because all the Silverlight package can be downloaded.

Image pre-fetch using Silverlight

Image
Ref: http://weblogs.asp.net/nmarun/archive/2009/10/03/image-pre-fetch-using-silverlight.aspx   Alright, this is my first blog, although I’ve been a developer for quite some time now… yeah I’m sorry for not following the ‘we share we improve’ policy. So I’ve created my blog site – ‘IBloggable – implemented’, and now.. off I go. First, some ground rules: I’ll be writing about two and only two things Programming/Development and Anything else I want (heck yea.. its ma blog site.. can write wateva i want) Now to the actual topic… last month I rolled out my website Photography & Eye after re-designing it in Silverlight, previously in Flash. The major changes I’ve done for the SL version are (on the UI side): to pre-fetch the images once the user chooses an album to have animations played while displaying the images Playing animations… no big deal right? Just create your animations in Blend (awesome tool to develop WPF/SL apps) or dynamically in code and...

What Silverlight is and how it differs from WPF?

Silverlight, formerly known as Windows Presentation Foundation Everywhere (WPF/E), is a cross-platform version of WPF. Basically, it is a subset of WPF that can run on a MAC or PC. WPF can only run on MS Windows platform (XP or greater) with .NET 3.0 or later installed. There are other differences, but most important is that WPF can make use of 3D objects, while Silverlight can do some faking 3D, but not true 3D. This is because WPF can make use of the host machine’s graphic cards, while Silverlight cannot. The final difference is that Silverlight integrates right into an HTML page by using Silverlight browser plug-in, while WPF needs to be inserted into an IFRAME to mix with HTML content. Silverlight is still being developed, and may be there are some changes in the future.

SIB Company Trip (cont)

Image
                 

SIB Company Trip – 28 Nov 2009

Image
                 

Hardware and Software requirements when install SharePoint Foundation 2010 (WSS 4.0)

(Ref: http://technet.microsoft.com/en-us/library/cc288751(office.14).aspx ) Hardware requirements The requirements in the following table apply to single server with built-in database installations and server farm installations that include a single server or multiple servers in the farm. Component Minimum requirement Processor 64-bit, dual processor, 3 GHz RAM 4 GB for stand-alone or evaluation installation 8 GB for single server and multiple server farm installation for production use Hard disk 80 GB Other DVD drive Software requirements The requirements in the following table apply to single server with built-in database installations and server farm installations that include a single server or multiple...

JavaScript Query String Parsing

  This will return an array named "GET" that consists of query string variables that can be referenced by the following example: http: //example.com/index.html?id=1001&fname=Ben&lname=Bradley   alert( "id = " + GET[ "id" ]); alert( "first name = " + GET[ "fname" ]); alert( "last name = " + GET[ "lname" ]);

Convert XML to JSON string.

Have you ever think how to convert XML data to JSON string, the next is JSON string to objects, and you can easily navigate to the XML data by access to object’s properties. The following code show you a way to convert XML data to JSON string: private static string XmlToJSON(XmlDocument xmlDoc) { StringBuilder sbJSON = new StringBuilder(); sbJSON.Append( "{ " ); XmlToJSONnode(sbJSON, xmlDoc.DocumentElement, true ); sbJSON.Append( "}" ); return sbJSON.ToString(); }   // XmlToJSONnode: Output an XmlElement, possibly as part of a higher array private static void XmlToJSONnode(StringBuilder sbJSON, XmlElement node, bool showNodeName) { if (showNodeName) sbJSON.Append( "\"" + SafeJSON(node.Name) + "\": " ); sbJSON.Append( "{" ); // Build a sorted list of key-value pairs ...

UML for .NET Developers ( Part 1)

Hôm nay ngồi rỗi rãi ôn lại chút kiến thức về UML, quyết định Post nội dung qua lên Blog cho đỡ quên. Thôi, tiếng Việt chỉ thế thôi nhỉ, lập trình là phải Tiếng Anh cho nó PZỒ :D 1. Classes C# Code UML   class Account { } Account   2. Attributes [visibility] [/] attribute_name[multiplicity] [: type [= default_value]] C# Code UML   class Account {   private float balance =0;   private float limit; } Account - balance: float= 0 ...