Parsing HTML in Windows Store Apps – Boredom Challenge Day 1

Standard

By reading and parsing the HTML code of a given website, we can effectively display any information on that website in our application in any way we desire. This is usually needed when our source does not provide a web service or API that we can use, but show the information we need on its own webpage. For example, if we want to make an app that shows information about the latest movies, we can read and parse the HTML of a movie site and then present it in our application.

Part of the HTML code of my blog's main page.

Part of the HTML code of my blog’s main page.

For this article, we’ll make a simple Windows Store app which will get the link of a Windows Phone app on the Windows Phone Marketplace and then parse that page’s HTML to show its information, by using HTML Agility Pack.

➤ Let’s parse some HTML…

Windows Phone Marketplace ve Yalla Apps

Standard

Microsoft Yaz Okulu için yapmış olduğum Windows Phone 7 projesi sayesinde, Windows Phone Marketplace ve Yalla Apps ile tanıştım. Yaz okulu bittikten kısa bir süre sonra da projemin kabul edilip Windows Phone Marketplace’e konulmasıyla, bu konudan bahsetmek istedim.

Windows Phone Marketplace, Microsoft’un yeni mobil işletim sistemi Windows Phone 7 için yaratmış olduğu market platformu. Aynı zamanda Zune Marketplace ve Xbox Live ile de birlikte çalışmakta. Kullanıcılarına binlerce program arasından istediklerini seçip satın alma ve indirme imkanı sunan bu platformun bizi ilgilendiren asıl özelliği ise, içerisindeki programların çoğunun üçüncü parti yazılımlar olması. Yani, bunun anlamı şu: Kendimiz Windows Phone 7 yazılımları yaparak bunları Windows Phone Marketplace’de kolayca satabiliriz.

➤ Devamını okuyun…