Top 10 Silverlight Myths and the Facts to Bust Them
MMORPG programming in Silverlight Tutorial: Animate the object
We must do something to show all the potential of the Silverlight in game domain. So in my tutorial, I will use C# rather than XAML as possible as I can. It is more flexible in game architecture than Flash; at last, all the tutorials will make up a game engineer, which is my purpose that I want to achieve.
Let’s return to the topic of this article, “How to create animation on object?”
In Silverlight, there are 3 methods to create animation.
1) Storyboard
This method is recommended by Microsoft, so I introduce it at first.
Now I will do a demo to show how to use Storyboard in C#. 1st, create a Silverlight project, open the MainPage.xaml, modify the xaml file as follows:<UserControl x:Class="SilverlightTutorialApplication.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
>
<Canvas x:Name="Carrier" Width="800" Height="600" Background="Silver" MouseLeftButtonDown="Carrier_MouseLeftButtonDown" />
</UserControl> In this snippet code, I create a canvas named Carrier, and set its dimension to 800 * 600. I set its background to Silver, donot remove the background color, otherwise, if there is nothing in the canvas, it’s MouseLeftButtonDown event won’t be hired. Why I use Canvas as my container? Because canvas can do absolute positioning, it is convenient to handle object’s moving on it.Read more: Jianqiang's Silverlight Blog Part 1, Part 2
עבודה עם קבצי Wim חלק א
Getting started with code signing for under $100
Microsoft Visual Studio Test Professional 2010 RC – ISO
Desktop Dimmer
Windows Debuggers: Part 1: A WinDbg Tutorial
o Overview of Debuggers
o Comparison of Debuggers
o WinDbg
o PDB files
* Debugging Scenarios
o Remote Debugging
o Just-in-time Debugging
o 64-bit Debugging
o Managed Debugging
o Debugging Services
o Debugging Exceptions
* WinDbg Features
o Debugger Extension DLLs
o Dump Files
o Crash Dump Analysis
* WinDbg Settings
o Symbol Files and Directories
o Source Code Directories
o Breakpoints, Tracing
* Commands
o Basic Commands
o More Commands
o Handy Extension Commands
* Example
o Suggested Exercises
* Epilogue
o Points to Note
o Q & A
* ReferencesIntroductionIn my professional career, I have seen most of us use Visual Studio for debugging but not many of the other debuggers that come for free. You may want such a debugger for many reasons, for example, on your home PC which you do not use for development but on which a certain program crashes from time to time. From the stack dump, you can figure out if IE crashed because of a third party plug-in. I did not find any good quick starters for WinDbg. This article discusses WinDbg with examples. I assume you know the basic concepts of debugging – stepping in, stepping out, breakpoints and what it means to do remote debugging. Note that this is meant to be a Getting Started document, which you can read and start using WinDbg. To know more about specific commands, consult the WinDbg documentation. You can use the commands presented in this document with any debugger provided by Microsoft, e.g. from the Command window of Visual Studio .NET. This article is based on WinDbg 6.3.This is the first of a series of articles on debugging. In my next article, I shall explain how to write debugger extension DLLs.Read more: Codeproject
WinDbg / SOS Cheat Sheet
Starting, Attaching, Executing and Exiting
|
| Start -> All Programs -> Debugging Tools for Windows -> WinDbg |
| F6 | attach to process |
| Ctrl-Break | interrupt debugee |
| .detach | detach from a process |
| g | continue debugee execution |
| q | exit WinDbg |
Getting Help
| ? | help on commands that affect the debugee |
| .help | help on commands that affect the debugger |
| .hh command | view the on line help file |
| !help | help on the extension dll at the top of the chain (e. g., SOS) |
Issuing Commands
| up arrow, down arrow, enter | scroll through command history |
| Right mouse button | paste into command window |
Examining the Unmanaged Environment
| lmf | list loaded modules with full path |
| lmt | list loaded modules with last modified timestamp |
| ~ | list unmanaged threads |
| ~thread s | select a thread for thread specific commands |
| !token -n | view thread permissions |
| k | view the unmanaged call stack |
| !runaway | view thread CPU consumption |
| bp | set a breakpoint |
| .dump path | dump small memory image |
| .dump /ma path | dump complete memory image |
Working with Extension DLLs (e. g., SOS)
| .chain | list extensions dlls |
| .load clr10\sos | load SOS for debugging framework 1.0 / 1.1 |
| .unload clr10\sos | unload SOS |
| .loadby sos mscorwks | load SOS for debugging framework 2.0 |
SOS Commands
| !threads | view managed threads |
| !clrstack | view the managed call stack |
| !dumpstack | view combined unmanaged & managed call stack |
| !clrstack -p | view function call arguments |
| !clrstack –l | view stack (local) variables |
| !name2ee module class | view addresses associated with a class or method |
| !dumpmt –md address | view the method table & methods for a class |
| !dumpmd address | view detailed information about a method |
| !do address | view information about an object |
| !dumpheap –stat | view memory consumption by type |
| !dumpheap –min size | view memory consumption by object when at least size |
| !dumpheap –type type | view memory consumption for all objects of type type |
| !gcroot address | view which object are holding a reference to address |
| !syncblk | view information about managed locks |
SOS 2.0 Commands
| !bpmd module method | set breakpoint |
| !DumpArray address | view contents of an array |
| !PrintException | view information about most recent exception |
Read more: David Douglass
TreeView and XmlDataSource
<asp:TreeView ID="TreeView1" runat="server" DataSourceID="XmlDataSource1"></asp:TreeView> <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/currency.xml"></asp:XmlDataSource>
כלומר נקבל את המבנה ולא את המידע בעצמו.
Mono, MonoTouch + C# vs. iPhone SDK + Objective-C
Описание проектаНеобходимо было разработать красивый эффект перелистывания страниц для одного iPhone приложения. Хороший пример того, что нужно было сделать, был найден в интернете в виде Silverlight-приложения.
Вариант №1: Mono + MonoTouchДумаю, не нужно говорить, что такое Mono.MonoTouch позволяет писать приложения на C# и компилировать их для iPhone, а также использовать .NET библиотеки.Полный набор программного обеспечения: * Apple Mac OS X
* утановленный Mono для Mac OS X
* MonoDevelop
* MonoTouchRead more: Блог Краковецкого Александра
MoleBox - Software Virtualization and Protection Solution
MoleBox is a software virtualization and protection tool that allows delivering your application as a portable stand-alone secure EXE file which runs instantly with zero installation.
MoleBox packs all application files into a single efficient executable file that works without extracting packed files to the hard drive and creating temporary files. MoleBox also applies a number of protection techniques to packed files, including anti-crack protection for EXE and dlls, resource protection, protection from modification for data files, and many more. Read more: MoleBox
Программа из одного exe
ПодходЧтобы .NET код мог работать, в использующий его AppDomain нужно загрузить сборку, содержащую типы, которые используются в коде. Если тип находится в сборке, которая еще не была загружена в AppDomain, CLR производит поиск этой сборки по ее полному имени. Поиск происходит в нескольких местах, где именно — зависит от настроек AppDomain. Для настольных приложений это обычно GAC и текущая папка. Если CLR не удалось найти сборку, вызывается событие AppDomain.AssemblyResolve. Событие дает возможность загрузить требуемую сборку вручную. Поэтому для реализации автономной программы, состоящей из одного exe файла, достаточно зашить все зависимые сборки в ресурсы и в обработчике AssemblyResolve подгружать их. Подробности про механизм нахождения сборок можно найти в книге Essential .NET, Volume 1: The Common Language Runtime (Don Box, Chris Sells) — 8 глава, AppDomains and the Assembly Resolver секция.Read more: habrahabr.ru
8 Tips To Create Complete Test Cases
* Test Case – a list of test steps. Also defines the environmental situation and may link to related bugs, requirements etc.
* Test Scenario – usually comes directly from business requirements or userstory. Management tools often ignore test scenario for linkage with a list of the requirements. Scenario contains a list of test cases and often their sequence. As you can see, varies between a test case scenario is significant, and often the two concepts are confused.
How to ensure the quality of the test cases are created? How to manage their life cycle? How to deliver them quickly and when developers need it ? 1. Template – need one and complete template for creating test cases. We can create it in a text editor, spreadsheet or buy or customize the tool. I have written about this in the context of the JIRA.2. Descriptive and specific Read more: Test and Try
Get function return values and profiling information in .NET using Windbg
using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;namespace WindowsFormsApplication1
{
{
{
Managed DXGI
The original DXGI documentation can be found: http://msdn.microsoft.com/en-us/library/ee418146(VS.85).aspxRead more: Codeplex
Kayak
Scaling Up with STM.NET (Software Transactional Memory)
Code a Modern Design Studio from PSD to HTML

Today we’re going to convert the Modern Design Studio PSD Template created by Tomas Laurinavičius a few days ago to a clean and working XHTML/CSS code. You can download free PSD from The Modern Design Studio PSD Template. Read more: WebdesignFan
Haze Anti-Virus
Welcome to the Homepage of Haze Anti-Virus, I started with Haze AntiVirus becuase I was in search of a Antivirus that was secure and did not always delete you work. Here is What I would like see in Haze Anti-Virus in the next few months
*Check For Registry Access
*UI Never Hangs
*Unknown Virus Detection
*Logging
*Backup of SelfHere are the Main Features of Haze Anti-Virus
*Process Watching
*Process Blacklisting
*File Scanning
*Database Updating
*Skinned UI
Read more: Codeplex
