DCSIMG
C# - class Alon : public CPP, public Architecture

class Alon : public CPP, public Architecture

The smart virtual home of Alon Fliess

Syndication

Browse by Tags

All Tags » C# (RSS)
Kinect for Windows SDK Programming Guide by Abhijit Jana book review
Since the release of Kinect for PC I had the opportunity to take part and be involved with several Kinect based projects. Starting developing with the Kinect SDK is something that most .NET and native C++ developers can handle very easily. Just download and install the SDK, hook a Kinect device (you can use the Xbox Kinect , however you will need a power cable and do remember that it is just for the development process and some features, like near mode , will not work), run the Kinect toolkit browser...

Posted by Alon Fliess | 3 comment(s)

The first Israeli .NET (Un)Conference
I had the honor to deliver the first lecture of the first Israeli . NET (Un)Conference . Thanks to Adi Av, a bunch of .NET developers got early last Friday morning just to talk and hear about .NET technologies. Erez & I came early to see, meet and talk with those people that agree to spend Friday morning with other developers. Just the people we like! My lecture was about the latest Kinect SDK . I showed how easy is to develop applications using C# as well as C++ with the Kinect. The atmosphere...

Posted by Alon Fliess | 1 comment(s)

NDC 2012 TPL Dataflow Network Lecture
In about an hour I am going to deliver a session about TDF, the new Thread Parallel Library Dataflow Network technology of .NET 4.5. In this post I'd like to provide the steps you need to start play with TDF and also the links to the lecture slides and demos .   To start use TDF: 1. Download Visual Studio 2012 RC , or use VS 2010 with the TDF CTP 2. Create a C# project and add a NuGet package of TDF 3. Add reference to System.Threading.Tasks 4. Write your code or download my demos .  ...

Posted by Alon Fliess | with no comments

Message Only Window in for .NET Application
Overview .NET is great platform, it speeds up the development process, you deal with your application logic and in most cases you don't need to know that there is whole Windows operating system down there. However sometimes you do need to program against Windows without the .NET assistance. As a Windows developer, you need to keep all your weapons ready, be it .NET, COM or C++ with the native Win32 API. In this article I am going to show how to deal with Windows Message based communication protocol...

Posted by Alon Fliess | 2 comment(s)

My Build Event Insights
You didn't have to go to //BUILD/ to get the information and knowledge of the new Windows Platform APIs; you could watch all the sessions from the comfort of your home, and I encourage you to do so, however attending the conference helps obtaining a perception about the future of Microsoft and especially the future of Windows technologies and the reaction of the developers that attended the conference. I didn't want to post about the conference before I have a clear picture, and believe me...

Posted by Alon Fliess | 14 comment(s)

Fun With XNA
I recently played with XNA. There is a game that I have developed many times, on the Commodore 64 as a kid, on the Commodore Amiga , later on Windows 9X with MFC, after that in .NET and Windows Forms, and now with XNA . The development experience in XNA was the best, and I can run my game on the phone, on Windows and on my XBOX. The goal of the game is to have higher score . Each player moves only in a specific direction (vertical or horizontal). In each turn a player move the token (S shape) and...

Posted by Alon Fliess | 1 comment(s)

C++ Renaissance: Getting Back The Free Lunch
At the beginning of 2005 Herb Sutter had an article stating that the developer’s free lunch is over. We had an assumption that more transistors in the CPU imply better application execution speed. The CPU executes the code in a sequential manner hence the performance of the CPU-bound code is directly related to CPU frequency. This used to be our “Free Lunch”: an old program runs faster on a new CPU. Using this assumption with modern low power consumption multi-core CPUs is wrong, we might even find...

Posted by Alon Fliess | 7 comment(s)

C# - Copying a structure to byte array as is, and back
A customer asked me today how he can serialize a structure to a byte array for sending to hardware controller. The controller requires that the structure will be sent as is, with no padding or packing. As long as he sure (we dealing with unsafe code) that the data is correct and the size if fine, he can do the following: using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; using System.Text; using System.Runtime.InteropServices; namespace ConsoleApplication20...

Posted by Alon Fliess | 1 comment(s)

תגים:,

Dozen good reasons to get up early after the TechEd party
This is the fifth TechEd Eilat in a row that I will give a lecture. In previous TechEd I gave lecture with Noam King . This TechEd I have the honor to give a lecture with Vlad Azarkhin . We will show dozen of tools that every .NET developer has to have in his toolbox. We have created a short teaser that explains why you should get out from bed early the day after the big Party of the TechEd.

Posted by Alon Fliess | with no comments

Screen Capture in SIlverlight 4.0
Recently I have been doing a very sophisticated Silverlight project. In this project there was a need to capture the screen and to save the image in a data base. The known way to capture a screen is to use a WriteableBitmap class instance (See Jeff Prosise blog about this feature that was added in SL 3.0). To capture the screen we use the code from http://stackoverflow.com/questions/1139200/using-fjcore-to-encode-silverlight-writeablebitmap   The following code is a service that captures the...

Posted by Alon Fliess | 17 comment(s)

My Dev Academy Lecture Recording
In the last Dev Academy I have given a lecture in the TDM (R&D Manager) track about Software Porting, The Why, When, and How.  During the lecture I have talked about many different migration scenarios: from VB 6.0 to C#/VB.NET. From VC++ 6.0 to VC 2008/2010, From Unix/Linux to Windows, From old .NET to new .NET etc. I have talked about the porting project, best practices and tools. This is the link to the lecture’s slides. There are many useful links inside it. This is the link to the lecture...

Posted by Alon Fliess | 2 comment(s)

iPad, gPad, mPad, App Store – Does the future so bad for power users and developers?
When we look at the mobile phone market, can we project from it about the future of software? Is Windows 8 going to be a closed system? Will we as developers need to upload all our applications to an App-Store or Marketplaces ? Will we have Multitasking? Let's look at the iPad, a big iPhone or better a big iPod? Let's say that it will sell more than Windows PC based Tablets . What does it say to Microsoft? Microsoft has pushed the tablet idea since the release of Windows XP tablet edition...

Posted by Alon Fliess | with no comments

Help me to use the Help System of VS 2010
One of the new features of VS 2010 is the new Help system. During the MVP Summit we have introduced to the new system which has very good foundation, but the viewer that comes with VS 2010 is lack of many features that we used to have and loved such as the TOC, Index, Synch TOC, etc.   Fortunately there is a tool ( H3Viewer ) that provides the missing features:   In the site you can also find the mshcMigrate tool that enable the migration of old MS Help files to the new platform.  ...

Posted by Alon Fliess | 1 comment(s)

To Port or Not… My TDM Track Lecture @ Dev Academy 4
In the last Dev Academy I have given a lecture in the TDM (R&D Manager) track about Software Porting, The Why, When, and How.  During the lecture I have talked about many different migration scenarios: from VB 6.0 to C#/VB.NET. From VC++ 6.0 to VC 2008/2010, From Unix/Linux to Windows, From old .NET to new .NET etc. I have talked about the porting project, best practices and tools. This is the link to the lecture’s slides. There are many useful links inside it.

Posted by Alon Fliess | 3 comment(s)

תגים:, , , , , , ,

Thanks to the people that came to the first meeting of the Windows Platform Developers User Group
Thanks for all of you that despite the traffic jams, made it and came to the first meeting. And thanks again for your feedbacks, all of them were excellent! Here are the links for the resources that we talked about: Windows 7 Training Kit Visual Studio 2010 Training Kit – The kit contains the MFC labs for the Windows 7 features XP2Win7 – stay tuned for a new release next week, or two. Removing the Kernel Dispatcher lock by Arun Kishan Mark Russinovich: Inside Windows 7 Mark Russinovich: Inside Windows...

Posted by Alon Fliess | 2 comment(s)

More Posts Next page »