Programering af mobile enheder Windows Phone Rss Feed.

Slides:



Advertisements
Similar presentations
RSS RSS is an acronymn for Really Simple Syndication or Rich Site Summary. RSS (noun) - an XML format for distributing news headlines on the Web. RSS.
Advertisements

Staying Up-To-Date Using Google Reader & RSS Feeds Christian Veillette M.D., M.Sc., FRCSC Assistant Professor, University of Toronto Shoulder & Elbow Reconstructive.
Module 1: Creating an Application by Using Windows Presentation Foundation Overview of WPF Creating a Simple WPF Application Handling Events and Commands.
Źródło:
Whats expected in CRM 2013…. New UI & navigation in CRM 2013.
SharePoint and Knockout for the REST of Us
SharePoint 2010 Client Side Object Model. Agenda Introduction The Problem Client side vs Server Side Client Side Object Model – How it works – What can.
22 мая 2013, Киев Построение Windows 8 приложений для доступа к SharePoint 2013 Бельский Сергей.
Charles Petzold Networking.
COMPUTER PROGRAMMING I Apply Procedures to Develop Menus,
Mobile Applications Development. Your next job: Mobile app developer? pp_developer_?taxonomyId=11&pageNumber=1.
Wat is er nieuw in Visual Studio 2005 Tools for Office SE? Maurice de Beijer ABL – The Problem Solver.
Visit Erik Westermann (Technical Evangelist) Microsoft Innovation Center for WE Development mail:
Twenty C# Questions Explained Gerry O’Brien Content Development Manager Paul Pardi Senior Content Pub Manager.
Using VB with MS Applications R. Juhl, Delta College.
Android Activity Class (Android Activities) Brugergrænseflade og brugeraktioner er en aktivitet // ** The Activity Class ******************************************
1 | 2010 Activity og GUI Android Brugergrænseflade.
ASP.NET Arkitektur og Web Forms. Agenda – Web Forms Arkitektur for ASP.NET ( 1 del ) –Arkitekturen i korte træk –Fordele ved ASP.NET –Win Form Web.
Keeping up to Date Using database alerts and RSS feeds to keep up to date in your research Networking tools to keep in touch.
ADO.NET (and more LINQ) Entity Framework (and more LINQ) Verification (CodeContracts) TPL (Task Parallel Library) Other.NET/C# topics.
>
Presentation 10 SOAP on the Microsoft Platform (.NET)
LINQ to XML Fagdag Fredag, 20.november In-memory XML programming interface Gamle-måten:  XmlDocument / DOM  XPath  XQuery Med LINQ:  XDocument.
How To Achieve World(-Ready) Domination In Silverlight Guy Smith-Ferrier Guy Smith-Ferrier Blog:
Creating Windows Store Apps. 1. Overview of Windows Store applications 2. Worked example 3. Adding controls and event handlers Contents 2.
DEV324 C# VB 7.0 Managed Code C# VB 8.0 Generics C# VB 9.0 Language Integrated Query C# VB 10.0 Dynamic + Language Parity.
CHARMS, PICKERS, CONTRACTS WINDOWS 8 AS AN APP INTEGRATION
Part 2: Manage app lifecycle and state (Windows Store apps using C#/VB and XAML) us/library/windows/apps/hh aspx
The Microsoft Technical Roadshow 2006 Windows Presentation Foundation (WPF) Marcus Perryman
Service-Oriented Architecture INF 123 – Software architecture 1.
… Web Role … Azure Blob Azure DB ResultsMain Worker Role … …
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
C#: Udtryk og metoder. Indhold “With regards to programming statements and methods, C# offers what you would come to expect from a modern OOPL…” Udtryk.
SOAP Quang Vinh Pham Simon De Baets Université Libre de Bruxelles1.
Modern Application Lifecycle Visual Studio Online journey, capabilities and DevOps Scenarios Good to know.
Intelligent Systems Lab Pusan National University 2007 컴퓨터공학실험 (I) 12 주 실습강의 RSS Reader.
Ronnie Saurenmann Principal Architect Microsoft Switzerland.
Usability Studies At Microsoft. My Experiences Overview The labs Intro to feature studied Usability study.
Alejandro Campos Magencio MS Technical Extreme Code Sharing with C# Y A XB.
30 April 2014 Building Apps for Windows Phone 8.1 Jump Start WinRT Apps & Silverlight.
Target: dependency property Source: any public property CLR and WPF properties Target: dependency property Source: any public property CLR and WPF properties.
C# Events and WPF #W5. Horizontal Prototype WPF Designed for rapid user interface design Used for many devices: Windows Phone, Tablets, PCs,
Windows Presentation Foundation Adam Calderon Principal Engineer Interknowlogy LLC
John Daintree Chief Architect Dyalog Windows Presentation Foundation.
Internet Technologies and Web Application Web Services With ASP.NET Tutorial: Introduction to.
The Microsoft Technical Roadshow 2007 Rich Client Development in XAML Mark Johnston Developer & Platform Group Microsoft Ltd
L/O/G/O I phone Safari Application Name : Malak Saleh Al-Qahtani ID :
Presentation advances in.NET Framework 3.0 Mark Johnston Developer & Platform Group, Microsoft Ltd
John Daintree Data Binding Reloaded. Data Binding (2013) Data Binding Reloaded (2014) Data Binding Revolutions (2015) The Databinding Trilogy.
Using Adapter Wizard ISYS 512. Data Adapter Wizard – 2 nd Level of Using ADO.Net Configure Data Adapter and generating a dataset: –From the Data tab of.
Svetlin Nakov Telerik Corporation
Advanced topics in touchdevelop touchdevelop vs. apps with Visual Studio comparison Disclaimer: This document is provided “as-is”. Information and views.
Module 3 Designing and Developing a User Interface.
Networking Proximity In-App Purchase Sensors Location File System Core app model Threading Windows Phone 8.
Module 4 Taking Control of the User Interface. Module Overview Sharing Logical Resources in an Application Creating Consistent User Interfaces by Using.
.NET Framework Presentation. About Me Patrik Löwendahl –C# MVP –Certified Vista Touchdown Trainer Cornerstone
Windows Phone 7 Mobile Code Camp The Why Why develop for Windows Phone 7 versus Droid or iPhone? It’s all relative to total app users. SDK and Environment.
WebClient client; 10 // Constructor public MainPage() { InitializeComponent(); client = new WebClient(); client.DownloadStringCompleted.
Friday, March 8 Creating real Custom Controls Kelvin van Geene 12:15.
RSS Interfaces and Standards Chander Iyer. Really Simple Syndication (RSS) Web data format providing users with frequently updated content. Make a collection.
An Introduction to Developing Applications for Microsoft Silverlight Jaime Rodriguez
■ A blog originally was a personal website meant to be like a diary or journal. ■ Basically a type of website, like a forum or a social bookmarking site.
WPF Windows Presentation Foundation or is it? Worried? Puzzled? Flummoxed?
Content Syndication: RSS, Podcasting, iTunes, YouTube.
Introduction to Silverlight
Introduction to Silverlight
WCF Data Services and Silverlight
Bringing existing managed code into Metro style apps
03 | Async Programming & Networking Intro
Presentation transcript:

Programering af mobile enheder Windows Phone Rss Feed

Reference til System.ServiceModel.Syndication.dll Der findes en færdig klasse til RSS feed, men man skal selv ”fiske” den nødvendig reference til dll for at kunne få tilgang.

WebClient kan hente data fra url (text, htlm, xml……) private void buttonLoadRss_Click(object sender, RoutedEventArgs e) { WebClient wc = new WebClient(); wc.OpenReadCompleted += new OpenReadCompletedEventHandler(wc_OpenReadCompleted); wc.OpenReadAsync(new Uri(" } void wc_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e) { // metode kaldes når read er færdig // e.Result indeholder i dette tilfælde en stream }

RSS feed fås fra XML reader til SyndicationFeed private void buttonLoadRss_Click(object sender, RoutedEventArgs e) { WebClient wc = new WebClient(); wc.OpenReadCompleted += new OpenReadCompletedEventHandler(wc_OpenReadCompleted); wc.OpenReadAsync(new Uri(" } void wc_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e) { // System.ServiceModel.Syndication.dll skal hentes via browser using (System.Xml.XmlReader reader = System.Xml.XmlReader.Create(e.Result)) { System.ServiceModel.Syndication.SyndicationFeed feed = System.ServiceModel.Syndication.SyndicationFeed.Load(reader); var items = feed.Items; listBox1.ItemsSource = items;// items kan nu fx vises i ListBox }

xaml eksempel på listbox med template for databinding til RSS feed

Links How to create a basic RSS reader for Windows Phone Data Binding (WPF) Data Binding Overview c# - WP7 SyndicationFeed - Stack Overflow