background preloader

Software Dev

Facebook Twitter

Scalable Vector Graphics. Scalable Vector Graphics (SVG) is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation.

Scalable Vector Graphics

The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) since 1999. SVG images and their behaviors are defined in XML text files. Hibernate Best Practices. IDictionary Options - Performance Test - SortedList vs. SortedDictionary vs. Dictionary vs. Hashtable. Please note that the advantage of Hashtable over generic Dictionary for insert and search operations demonstrated here is actually because the tests are based on NON generic IDictionary interface, so each insert or search action is accompanied with check for the key type.

IDictionary Options - Performance Test - SortedList vs. SortedDictionary vs. Dictionary vs. Hashtable

For more information see the Sean's comment below. (Thanks Sean!) Without that Dictionary seem to perform better than the Hashtable. The rest of the test conclusions will not be affected. So to summarize, generic Dictionary is the absolute winner for insert and search operations if used with generic dictionary interface or directly. This is a sequence of tests comparing the performance results for four different implementations of IDictionary and in particular generic Dictionary, generic SortedDictionary, the old non-generic Hashtable and generic SortedList.

I performed the tests in five stages, to observe the relationship between the number of entries and the performance. C# Reference. This section provides reference material about C# keywords, operators, compiler errors, and warnings.

C# Reference

C# Keywords Provides links to information about C# keywords and syntax. C# Operators Provides links to information about C# operators and syntax. Open Source Rule Engines in C# Implementation Issues of Authorization Mechanisms in Grid Computing Systems. This paper analyzes the requirement of authorization service for grid computing systems and proposes the use of threshold closure as a basic mechanism for implementing authorization service in grid computing systems. While pointing out the desirable features of threshold closure for complex authorization policies, the paper also discusses the practical limitations of threshold closure in such an environment, and then puts forward a new authorization service for virtual organization.

In addition, an access control protocol which is based on PKI is designed in the paper. By segregating the policy and mechanism aspects of threshold closure, the new service can use existing security infrastructure in grid computing system while keep the ability to express complex authorization policy effectively. XAML Overview (WPF)

XAML is a declarative markup language.

XAML Overview (WPF)

As applied to the .NET Framework programming model, XAML simplifies creating a UI for a .NET Framework application. You can create visible UI elements in the declarative XAML markup, and then separate the UI definition from the run-time logic by using code-behind files, joined to the markup through partial class definitions. Enterprise Integration Patterns - Messaging Bridge. An enterprise is using Messaging to enable applications to communicate.

Enterprise Integration Patterns - Messaging Bridge

However, the enterprise uses more than one messaging system, which confuses the issue of which messaging system an application should connect to. How can multiple messaging systems be connected so that messages available on one are also available on the others? Use a Messaging Bridge, a connection between messaging systems, to replicate messages between systems. Typically, there is no practical way to connect two complete messaging systems, so instead we connect individual, corresponding channels between the messaging systems. Windows Workflow Foundation Overview. Windows Workflow Foundation is a framework that enables users to create system or human workflows in their applications written for Windows Vista, Windows XP, and the Windows Server 2003 operating systems.

Windows Workflow Foundation Overview

It consists of a namespace, an in-process workflow engine, and designers for Visual Studio 2005. Windows Workflow Foundation can be used to solve simple scenarios, such as showing UI controls based on user input, or complex scenarios encountered by large enterprises, such as order processing and inventory control.

Windows Workflow Foundation comes with a programming model, a rehostable and customizable workflow engine, and tools for quickly building workflow-enabled applications on Windows. Scenarios that Windows Workflow Foundation addresses include: Enabling workflow within line-of-business applications. The concepts in this section are inherent to Windows Workflow Foundation. Demos - APE (Ajax Push Engine) Build a Google IG like AJAX Start Page in 7 days using ASP.NET AJAX and .NET 3.0.

Update: There's a new article which explains the latest development of this project.

Build a Google IG like AJAX Start Page in 7 days using ASP.NET AJAX and .NET 3.0

Read here. Introduction I will show you how I built a start page similar to Google IG in 7 nights using ASP.NET AJAX, .NET 3.0, LINQ, DLinq and XLinq. I have logged my day to day development experience in this article, and documented all the technical challenges, interesting discoveries and important design and architectural decisions. You will find the implementation quite close to the actual Google IG. Updates. Chapter 1. Using Spring AMQP. Chapter 1.

Chapter 1. Using Spring AMQP

Using Spring AMQP In this chapter, we will explore interface and classes that are the essential components for developing applications with Spring AMQP. The Spring AMQP project consists of a few assemblies. The assembly Spring.Messaging.Amqp contains the classes that represent the core AMQP "model". Our intention is to provide generic abstractions that do not rely on any particular AMQP broker implementation or client library. The overview here assumes that you are already familiar with the basics of the AMQP specification already. The 0-8 and 0-9-1 AMQP specifications do not define an Message class or interface. Public class Message { private readonly IMessageProperties messageProperties; private readonly byte[] body; public Message(byte[] body, IMessageProperties messageProperties) { this.body = body; this.messageProperties = messageProperties; } public byte[] Body { get { return body; } } public IMessageProperties MessageProperties { get { return messageProperties; } } }

Chapter 1: Authentication Patterns. Web Service Security: Scenarios, Patterns, and Implementation Guidance for Web Services Enhancements (WSE) 3.0 Microsoft Corporation patterns & practices Developer CenterWeb Service Security: Home December 2005 Contents.

Chapter 1: Authentication Patterns

WPF Command-Pattern Applied. Download source - 79.5 KB Introduction WPF Commanding offers the base for integration of the GoF Command pattern into an application.

WPF Command-Pattern Applied

This article describes an approach with the following goals: Program Architecture Creation of functional units in hierarchies Reduction of complexity in large applications Automated testing Reusability of the pattern and the commands Command Description. Complex Layout Demo. Layouts Inside Tabs. Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Layouts Inside Tabs. Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Developing Widgets with ASP.NET, WCF, and jQuery. Download source code - 43 KB Introduction Let me start with some definitions and a description of the problem I'm trying to solve.

One of the well known problems of the modern web is an ability to embed pieces of someone else's code, sometimes repackaged into a different presentation and displayed as part of your own page. Best practices for software development projects.