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