Uploading Silverlight 2 Content to Silverlight Streaming

 

 

Here’s a basic walkthrough:

  1. Create your Silverlight 2 application using Visual Studio or Expression Blend, do all the usual test / debug steps, etc.
  2. Create a manifest file named manifest.xml, that describes how you want the control to be hosted. Here’s a simple sample you can use as a template:
    <SilverlightApp>
      <version>2.0</version>
      <source>PopTheBubble.xap</source>
      <width>400</width>
      <height>300</height>
      <background>white</background>
      <isWindowless>false</isWindowless>
    </SilverlightApp>

  3. Zip your application .xap and manifest.xml files together into one file.
  4. Go to silverlight.live.com and upload the application.
  5. You’re done! Now you can embed the resulting content in any web page with an iframe or the sample code provided.

Via Uploading Silverlight 2 Content to Silverlight Streaming

Also look at Configuring a Web Server to Host Silverlight Content

Using OAuth with the Google Data APIs

 image

Contents

  1. Introduction
    1. Audience
  2. A little terminology
  3. Getting started
    1. Registration
    2. Signing Requests
  4. OAuth Playground Tool
    1. Choose your token Scopes(s)
    2. Modify OAuth Parameters and Settings
    3. Acquire the access token
    4. Using the access token
  5. Conclusion
  6. Resources

Introduction

Recently, all of the Google Data APIs adopted support for OAuth, an open protocol that aims to standardize the way desktop and web applications access a user’s private data. OAuth provides a means of performing API authentication in a standard and secure fashion. If you’re starting out, or just curious about OAuth, look no further. This article will give you a basic foundation of the concepts. I’ll also discuss the details of Google’s OAuth implementation. This document is also meant for developers that are familiar with using AuthSub, especially in registered with enhanced security mode. As we go along, I’ll try to highlight the similarities and differences between the two protocols.

Some users have suggested that OAuth has a high learning curve. Compared to Google’s other authentication APIs, I would agree. The advantage of OAuth will be apparent when you expand your app to use other (non-Google) services. Writing a single piece of authentication code that works across different service providers, and their APIs, sounds pretty good to me. You’ll thank yourself later on for learning the protocol now.

The OAuth Playground is a tool that I created to help developers cure their OAuth woes. You can use the Playground to help debug problems, check your own implementation, or experiment with the Google Data APIs.

Via Using OAuth with the Google Data APIs – Google Data APIs – Google Code

Also see the Google Authentication API – OAuth Authentication for Web Applications

Contents
  1. The Authentication Process
    1. Tokens and Token Management
  2. The OAuth Endpoints
    1. OAuthGetRequestToken
    2. OAuthAuthorizeToken
    3. OAuthGetAccessToken
    4. Revoking an OAuth Access Token
  3. Working With OAuth
    1. Setting Up OAuth Authentication
    2. Signing Requests
    3. Migrating from AuthSub to OAuth

Yahoo! Search BOSS C# Implementation

 

image

The implementation supports all of the Boss API except for spell checking. This includes Image, News, and Web searches. Search results are returned in three formats: Xml, JSON, and an object set.

Here are a couple examples.

Example 1: Search for “Telligent”:
var result = new WebSearch(“BOSS_ID”).Query(“Telligent”).Get();

Example 2: Search for “Telligent” and limit the results to 5 and get the second page of results.
XElement result = new WebSearch(“BOSS_ID”).Query(“Telligent”).Take(5).Skip(5).GetXML();

Example 3: Search for “Telligent” but limit it to it to a couple of sites:
string json = new WebSearch(“Boss_ID”).Query(“Telligent”).Site(“simpable.com”).Site(“telligent.com”).GetJSON();

Example 4: Search for “Telligent” mentions in the news for the last week.
var result = new NewsSearch(“Boss_ID”).Query(“Telligent”).Age(7).Get();

Example 5: Search for “Telligent” images:
var result = new ImageSearch(“Boss_ID”).Query(“Telligent”).Filter(false).Get();

There is built in support for language, region, content type, etc filters as well.

Download Assembly and Source. Via Yahoo! Search BOSS C# Implementation

ADO.NET Entity Framework

 

In This Section

Introducing the Entity Framework

Provides an overview of the features and functionality introduced in the ADO.NET Entity Framework.

Getting Started (Entity Framework)

Describes how to design and create an Entity Framework application.

Programming Guide (Entity Framework)

Contains conceptual topics, how-to’s and tutorials that demonstrate the capabilities of the Entity Framework.

Feature Reference (Entity Framework)

Contains conceptual content describing the Entity Data Model, Object Services, and Entity SQL.

Samples (Entity Framework)

Contains sample applications demonstrating the features and functionality of the Entity Framework.

Entity Framework Terminology

Describes terminology used in the Entity Framework.

ADO.NET Entity Framework

How to setup Visual Studio IntelliSense for jQuery

 

As part of our new partnership with jQuery (Scott Gu), yesterday we announced the availability of the official IntelliSense documentation file.  As you can see, our friends at jQuery have added a new download link for Visual Studio at.

image

Step 1. Get this new Hotfix is availble to complement this file.

Step 2. Download the jQuery Visual Studio Documentation http://docs.jquery.com/Downloading_jQuery#Download_jQuery 

You can also download the file directly from http://code.jquery.com/jquery-1.2.6-vsdoc.js.  As you might guess, this documentation file corresponds with the latest version of jQuery (which is currently 1.2.6).  While this file has a “js” extension, it’s really just a documentation file.  You do not want to run this file in the browser.

Step 3. Add: <script src=”jquery-1.2.6-vsdoc.js” type=”text/javascript”></script>

Result: You Got Intellisense

image

Visual Web Developer Team Blog : Rich IntelliSense for jQuery

ASP.NET Dynamic Data

 

ASP.NET Dynamic Data provides a framework that enables you to quickly build a functional data-driven application, based on a LINQ to SQL or Entity Framework data model. It also adds great flexibility and functionality to the DetailsView, FormView, GridView, and ListView controls in the form of smart validation and the ability to easily change the display of these controls using templates.
Dynamic Data is part of the .NET Framework version 3.5 SP1 release.

image

ASP.NET Dynamic Data

Favorite jQuery plugins compatible with ASP.NET

 

Datepicker

Demos: http://ui.jquery.com/repository/latest/demos/functional/#ui.datepicker

Download: http://ui.jquery.com/download_builder/ (don’t forget UI Core also)

InnerFade

InnerFade is a small plugin for the jQuery JavaScript library. It’s designed to fade you any element inside a container in and out.

Demos and download: http://medienfreunde.com/lab/innerfade/

BlockUI

The jQuery BlockUI Plugin lets you simulate synchronous behavior when using AJAX, without locking the browser. When activated, it will prevent user activity with the page (or part of the page) until it is deactivated. BlockUI adds elements to the DOM to give it both the appearance and behavior of blocking user interaction.

Demos and download: http://www.malsup.com/jquery/block/

Tablesorter

Tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. Tablesorter can successfully parse and sort many types of data including linked data in a cell.

Demos and download: http://tablesorter.com/docs/

jTemplates

jTemplates is a template engine 100% in JavaScript.

jTemplates makes rendering the JSON result of ASP.NET AJAX web services trivial. If you’re using jQuery with ASP.NET AJAX, jTemplates is a perfect companion to simplify that common task.

Demos and download: http://plugins.jquery.com/project/jTemplates

Superfish Menus

Creates enhanced Suckerfish-style dropdown menus from existing pure CSS dropdown menus. Works with multiple-tiered menus and multiple menus per page. Great for both drop-down menus and and multi-tier horizontal nav bars. Very light-weight and degrades gracefully.

Demos: http://users.tpg.com.au/j_birch/plugins/superfish/#examples

jQuery quickSearch

It works by attaching to a table, list, or set of paragraphs, displaying a search field above or below the targeted elements, and then filtering those elements in real-time as characters are typed in the search field.

Demos and download: http://rikrikrik.com/jquery/quicksearch/

For more plugins.jquery.com

Via http://encosia.com/2008/10/19/7-of-my-favorite-jquery-plugins-for-use-with-aspnet/