.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

UI Frontiers: Touch and Response

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :ASP.Net
Charles Petzold continues his exploration of multi-touch Manipulation events in the Windows Presentation Foundation and shows you how to design custom classes to decorate elements and provide visual feedback to users.Charles PetzoldMSDN Magazine September 2010

View Complete Post

More Related Resource Links

UI Frontiers: Multi-Touch Manipulation Events in WPF


Multi-touch has progressed from being a futuristic prop of sci-fi films to a mainstream means of user interface. We'll show you how support for multi-touch in Windows 7 has filtered down and settled into various areas of the .NET Framework.

Charles Petzold

MSDN Magazine August 2010

UI Frontiers: Multi-Touch Inertia


One of the ways in which a multi-touch interface attempts to mimic the real world is by introducing inertia. We'll show you how easy this is to duplicate in your own WPF apps.

Charles Petzold

MSDN Magazine October 2010

UI Frontiers: The Intricacies of Touch Controls


Charles is intrigued by the Windows Phone 7 touch controls and tries to duplicate them in Windows Presentation Foundation, finding out that good multi-touch coding is a lot harder than it seems.

Charles Petzold

MSDN Magazine November 2010

Response.BinaryWrite help needed


Hi all

Im new to .NET and stuck now, so i hope anyone can help my with my problem.

I have a MS SQL database where i have stored some documents as Binary data. I cant figure out how to retrieve them and show/download them in my browser.

I found some guides online and have try to put something together.


private void Write()
 int id = 0;
 string strID = Request.QueryString["id"];
 int.TryParse(strID, out id);

 var db = new ModelDataContext();
 var doc = db.DocumentDatas.Where(x => x.ID == id).FirstOrDefault();

 byte[] byteArray = File.ReadAllBytes(doc);


How do i fill the byteArray with the data?

Thanks in advance :)


Response.Redirect slow


I'm in the middle of migrating servers and on the new server Response.Redirect is extremely slow. It takes around 20 seconds for the browser to get the redirect. This is something that was quick on the existing server. It's an ASP.NET 2.0 application, both servers are running IIS6.

Additionally, if I "manually" do the redirect, it's fast. For example:

Existing way:


takes around 20 seconds on the new server

New way:

Response.Status = "302 Moved Temporarily";
Response.AddHeader("Location", url);

is fast on the new server.

Any ideas why Response.Redirect would be so slow on the new server?

UI Frontiers: The Fluid UI in Silverlight 4


Charles Petzold shows how to extend the limited fluid UI capabilities of Silverlight 4 with new techniques so you too can dazzle users with those cool object entrances and transitions.

Charles Petzold

MSDN Magazine July 2010

UI Frontiers: The Ins and Outs of ItemsControl


Charles Petzold performs more UI magic by implementing a variation of the drag-and-drop that presents users with a natural, fluid look and feel.

Charles Petzold

MSDN Magazine June 2010

UI Frontiers: Thinking Outside the Grid


In Windows Presentation Foundation and Silverlight, using a Canvas or a single-cell Grid seems very similar. The difference is in how the container appears to the rest of the layout system. Canvas doesn't participate in layout, so you can use it whenever you need to transcend layout.

Charles Petzold

MSDN Magazine May 2010

UI Frontiers: Projection Transforms Sans Math


See how to taper text, flip panels, animate a calendar and more--without resorting to complicated math--as Charles Petzold delves into new "pseudo 3D" capabilitie in Silverlight 3, made possible by the new Projection UIElement property.

Charles Petzold

MSDN Magazine April 2010

Finger Style: Exploring Multi-Touch Support in Silverlight


Touch isn't just a form of mouse input in Silverlight: Sometimes what's required are controls specialized and optimized for touch.

Charles Petzold

MSDN Magazine March 2010

UI Frontiers: MIDI Music in WPF Applications


Every PC contains a built-in 16-piece band ready to play some music. Charles shows you how MIDI support in the NAudio sound library lets you play tunes in your .NET apps.

Charles Petzold

MSDN Magazine March 2010

UI Frontiers: Sound Generation in WPF Applications


A good case could be made that computers should not make noise except in response to a specific user command. We're going to ignore that and show you how to play custom sounds in a WPF application.

Charles Petzold

MSDN Magazine February 2010

Don't Get Me Started: The Human Touch


People aren't computers; keep this in mind when developing software. When developers confuse people and computers, bad things happen.

David Platt

MSDN Magazine February 2010

Test Run: Web Application HTTP Request-Response Test Automation with JavaScript


Write a simple browser-based request-response test automation using JavaScript that's platform independent and useful when you are working in a highly dynamic environment.

James McCaffrey

MSDN Magazine January 2010

Going Places: Enhancing Windows Touch Applications for Mobile Users


This article describes how to use the Windows Touch API and related APIs to enhance mobile application. The discussion focuses on general usability, object selection and implementing a natural user interface.

Gus Class

MSDN Magazine December 2009

Test Run: Request-Response Testing With F#


This month we show you how to use F# to perform HTTP request-response testing for ASP.NET Web applications.

James McCaffrey

MSDN Magazine July 2009

Test Run: Request/Response Testing with Windows PowerShell


Did you know you can use Windows PowerShell to perform lightweight request/response testing for an ASP.NET Web app? Here's how.

Dr. James McCaffrey

MSDN Magazine May 2008

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend