DCSIMG
September 2010 - Posts - Life Michael

September 2010 - Posts

The Mutex Class in C#

Using the Mutex class we can develop an application that it won't be possible to execute in more than one process concurrently. The following video clip explains how to do it.

More video clips can be found at www.abelski.com and at www.CSharpBook.co.il.

Posted by life | with no comments
תגים:,

Facebook Social Plugins

The facebook platform allows us to integerate our web site with their platform by embedding its social plugins into our web page. Embedding a social plugin into a web page is done by copying a short code. Most of the available plugins can be embedded using either a simple HTML or a simple XFBML code. In order to embed XFBML code into our web page we must use the facebook JavaScript SDK.

I have recently completed to develop a short course that explains everything you need to know in order to add facebook social plugins to your web site. The community version of this course is available for free personal and academic usage at www.abelski.com. The commercial professional version is available at www.xperato.com.

You can find abelski short demonstration for adding the facebook social plugins to a web page at http://www.abelski.com/courses/facebookplugins/abelski_facebook_plugins_page.html.

The following video clips were taken from the facebook social plugins course I developed, and they include a short demonstration for using the facebook social plugins.

The I Like Button Plugin

The Facebook Recommendations Plugin

The Facebook Like Box Plugin

The Facebook Activity Feed Plugin

The Facebook Livestream Plugin

The Facebook Facepile Plugin

The Facebook Comments Plugin

The Facebook Login Button Plugin

Posted by life | 1 comment(s)

The 'goto' Command in C#

I was recently surprised to find out that C# supports the 'goto' command. I tend to believe that most readers of this post have already heard during their lessons in the university that using the 'goto' command is very bad and they should never use it.

I strongly recommend you to question each and every absolute statements you hear from your teachers (including me). The world isn't black and white, and for every rule there are usually excepetions we should be aware of.

One example for the relevance of the 'goto' command can be the case of a software system that is about to end its life and a bug we need to fix. If using the 'goto' command can assist us with fixing the bug and that will take us a substantially smaller number of working hours then we should certainly do it.

The following video clip shows and demonstrates the usage of the 'goto' command in C#.

Posted by life | with no comments
תגים:,

IE9 Supports HTML 5 Communication Between Windows

HTML 5 allows us to implement direct communication between separated windows. We can use it for sending textual messages in both directions. I have recently completed to develop my presentation for explaining this possibility. You can find it in my 'Introduction to HTML 5' course. The course is available for free personal usage at www.abelski.com.

The following video clip present a short code sample that demonstrates this capability while using IE9. You can download the source code at www.abelsi.com. You can find it as one of the code samples in the 'Introduction to HTML 5' course.

Posted by life | with no comments
תגים:,

Array of Objects in C#

Working with arrays of objects some of us tend to forget that the array is actually an object. The following video clip (hebrew) explains the accurate meaning of working with an array of objects in C#. If you are doing your first steps learning this programming language most likely you will find this video clip useful on your end.

Posted by life | with no comments
תגים:,