Eliminate duplication in CSS with .less – a .NET HTTP handler


One of the frustrating aspects of working with CSS (one of many, actually) is the amount of duplication in a .css file. .less help to keep your CSS files DRY using 4 constructs:

  • Variables
  • Mixins
  • Operations
  • Nested Rules


An HTTP handler is configured to respond to requests for the .less files.

    <add type="dotless.Core.LessCssHttpHandler, dotless.Core" validate="false" path="*.LESS" verb="*"/>

When a request arrives for a .less file it is the handler’s job to parse the .less file and transform it into standard CSS rule sets.

All about Behaviors



Silverlight 4 Rough Notes – Mike Taulty

Mike talks about all the new features found in Silverlight 4

Getting Started with Silverlight 4 Beta


System requirement: Visual Studio 2010 Beta 2 or Visual Web Developer Express 2010 Beta 2



Also check out:

What’s new in Silverlight 4 Beta

***Silverlight 4 Beta – A guide to the new features – Tim Heuer ***

What’s new in Silverlight 4 Beta

image A few interesting new features

  • Enabling Business Application Development
    • The .NET Common Runtime (CLR) now enables the same compiled code to be run on the desktop and Silverlight without change.
    • Drag and drop support for databinding and automatically creating bound controls such as listbox,datagrid.
    • New datasources window and picker.
    • Easy to pick styles and resources to make a good looking application based on designer resources built in Expression Blend.
    • Printing
    • Print Preview
    • Rich Text Area Control
    • Text Input
    • WCF RIA Services
    • Managed Extensibility Framework (MEF)
    • Viewbox Control
    • Auto-Sizing Columns and Copy from DataGrid
    • Navigation Page Loading Extensibility
    • Command Property on ButtonBase and Hyperlink
    • SelectedValue and SelectedValuePath on the Selector
    • Authentication Support with ClientHttpWebRequest
    • IDataErrorInfo
    • INotifyDataErrorInfo
    • Grouping on CollectionViewSource
    • Editable CollectionView IEditableCollectionView
    • Binding to String Indexers
    • StringFormat, TargetNullValue, FallbackValue
    • Databinding Support for Dependency Objects
    • ObservableCollection<T> Constructor Accepts IList and IEnumerable
  • Empowering Richer Experiences
    • Fluid UI States for ItemsControl
    • Word Based Text Trimming (trailing ellipses)
    • Implicit Styles
    • MouseWheel Support
    • Right Mouse Click
    • Programmatic Clipboard Access
    • Silverlight as a Drop Target
    • Webcam and Microphone Support
    • Audio and video “local” recording capabilities capture RAW video without requiring server interaction, enabling a wide range of end-user interaction and communication scenarios for example video conferencing.
    • CompositeTransform
    • Bring data in to your application with features such as copy and paste or drag and drop.
    • Multi-touch support enables a range of gestures and touch interactions to be integrated into user experiences.
  • Sandboxed Applications
    • WebBrowser Control
    • HtmlBrush
    • Notifications (Toast) – a popup window on the taskbar
    • Control over aspects of UI include window settings such as start position, size and chrome.
  • Trusted Applications
    • Native Integration, Windows API, COM Automation
    • File System Access
    • Cross-Domain Networking Access without security policy file
    • Full File Path on Open and Save Dialogs
    • Full Keyboard in Full Screen Mode

Via JohnPapa.net

Also check out

Jellyfish Deep Zoom – server side deep zoom slicer


Jellyfish is an open source toolkit for building dynamic deep zoom applications. Usually we are using Deep Zoom Composer, client tool, for slicing deep zoom files. But if you have wanted to slice existing image source on server, you cannot use deep zoom composer at server side. Jellyfish has server side deep zoom slicer and client side Silverlight library to make dynamic deep zoom development easier. Please check the session recording, and try Jellyfish on CodePlex.

Online demo of client features : http://www.2ndfactory.com/tech/jellyfish_demo/testpage.html

Windows Azure Platform Training Course


The Windows Azure Platform Training Course includes a comprehensive set of technical content including samples, demos, hands-on labs, and presentations that are designed to expedite the learning process for the set of technologies released as part of the Windows Azure Platform.

Units in this course

     In this introductory unit, the Windows Azure Platform evangelism team welcomes you to the training course and goes over the significant changes to the platform since it was announced in 2008 and also cover what you’ll see in the course and how to follow along with the labs.

     Learn about Windows Azure and discover how to build applications for the cloud.

     Learn all about using Windows Azure Storage, including tables, blobs and queues.

     Learn all about deploying applications to Windows Azure, including automating deployments, performing upgrades and scaling services.

     SQL Azure is the relational database service for the Windows Azure platform built on SQL Server technology providing a familiar programming model. Here you will learn how to get started, how to migrate databases and tips for using SQL Azure.

     Microsoft Codename "Dallas" is a new information service that lets you leverage data sets and web services from public and private sector in your applications through a simple consistent API. Here you can learn how to get started consuming "Dallas" data in your applications and analytics workloads.

     In this unit you will learn all about the Service Bus and how you can use it for Service Remoting and Eventing Scenarios.

     Whether you are looking at reusing your on-premises identity for SSO in the cloud or you are searching for a way to handle access control for your REST services, in this unit you will find useful indications on how to address your identity challenges with Windows Identity Foundation in Windows Azure or taking advantage of the Access Control Service.

Silverlight 3 online and offline Docs updated


Online docs for Silverlight 3 here

Download the Nov. version of MSDN offline docs for Silverlight 3 here. The CHM is nice if you’re offline plus it’s faster than the online content, has an index, and only contains Silverlight content.

If you open the CHM and cannot view content, do the following to resolve the issue:
– Right-click the CHM file, and then click “Properties”.
– Click “Unblock”.
– Double-click the .chm file to open the file.