Here’s a basic walkthrough:
- Create your Silverlight 2 application using Visual Studio or Expression Blend, do all the usual test / debug steps, etc.
- 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>
- Zip your application .xap and manifest.xml files together into one file.
- Go to silverlight.live.com and upload the application.
- You’re done! Now you can embed the resulting content in any web page with an iframe or the sample code provided.
Also look at Configuring a Web Server to Host Silverlight Content
- A little terminology
- Getting started
- OAuth Playground Tool
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.
Also see the Google Authentication API – OAuth Authentication for Web Applications
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.
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.
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.
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.
Result: You Got Intellisense
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.
Download: http://ui.jquery.com/download_builder/ (don’t forget UI Core also)
Demos and download: http://medienfreunde.com/lab/innerfade/
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 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 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
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.
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
10 mins Screencasts:
- How Do I: Getting Started with ADO.NET Data Services over a Relational Database
- How Do I: Getting Started with ADO.NET Data Services over a Non-Relational Data Source
- How Do I: Consuming an ADO.NET Data Service in a Silverlight Application
- How Do I: Consume an ADO.NET Data Service in a .NET Application
Expose and Consume Data in a Web Services World MSDN Magazine Aug. 2008
Developing Applications Using Data Services
See how to use common libraries and tools when building applications using on premises and/or cloud services (Windows Azure services, SQL Data Services, etc.).
Programming Windows Azure Tables Using Data Services Client Libraries and Tools
Learn how to use the highly scalable, available and durable Windows Azure table storage service. This session presents a deep dive with demos (using ADO.NET Data Services clients & interaction conventions) showing in detail how to work with cloud storage.