Friday, August 06, 2010

Consuming RSS Feeds in your ASP.NET website

Yesterday my friend suggested me to publish Feeds of my Blog on my company website, and I too liked this idea, so decided to update the website. now question is how to consume those RSS feeds in ASP.NET Page ?

There are various ways to use this, you can search for some standard third-party controls, or you can use JavaScript for this, but I think the simplest way is use XMLDataSource, because if you have checked the format of RSS feed then you must be knowing that RSS is nothing but XML file. and once you created this XMLDataSource then you can easily bind this with standard ASP.NET controls like DataList, Labels, Hyperlink etc. so lets see how we can do this in simple 4-5 steps.

  • Open Visual Studio and Create a Website or a web application Project.
  • on Default.aspx page in design area just drop a XMLDataSource control from Toolbox. Capture1
  • Click the smart tag and click on the link ‘Configure Data Source’. you can also right click on XMLDataSource and then click on option ‘Configure Data Source’.
  • This will launch the ‘Configure Data Source’ dialog box.
  • Add your feed address URL as Data file. e.g. http://feeds.cognitioninfotech.com/blogs/MyCoffeeCup
  • If you have transform file available ( .xsl) file then specify that file, else leave the field blank.
  • Enter rss/channel/item as XPath Expression.

 Capture2


  • Now I am going to add Repeater control since I just want to display Title of my post and a link to it. so add Repeater control and then click on smartTag to select DataSource.
  • From dropdown select above saved XMLDataSource1 as data source for Repeater control.

Capture3

  • After this I am going to switch to code and add <itemtemplate> in Repeater control, and add a Hyperlink control in it so that I can display title and link to my post. code will look like this…
    <asp:XmlDataSource ID="XmlDataSource1" runat="server"
    DataFile
    ="http://feeds.cognitioninfotech.com/blogs/MyCoffeeCup"
    XPath
    ="rss/channel/item"></asp:XmlDataSource>

    <asp:Repeater ID="Repeater1" runat="server" DataSourceID="XmlDataSource1">
    <ItemTemplate>
    <div>
    <asp:HyperLink ID="HyperLink1" runat="server"
    NavigateUrl
    = '<%#XPath("link")%>'
    Text
    = '<%#XPath("title")%>' Target="_blank">
    </asp:HyperLink>

    </div>
    <hr />
    </ItemTemplate>
    </asp:Repeater>





you are done with core functionality coding, now if you want then you can decorate, using CSS styles, else simply press F5 to view in Browser…



Capture4

Wednesday, July 28, 2010

Office 2010 Community launch in Pune

 

office 2010

Office 2010 another major revolution in Microsoft's most cutting edge technologies is here to get your work done the easy way. Check out the latest news and views on Office 2010 from the experts, attend Office 2010 Community launch event hosted by Pune User Group.

Date: Sat, 7 Aug 2010 - Sat, 7 Aug 2010

Time: 09:00:AM - 01:00:PM


Venue:

International Convention Centre (ICC),

MCCIA ‘s Sumant Moolgaokar Auditorium (Ground Floor),

Senapati Bapat Road, Pune

For more details visit http://www.puneusergroup.org/office-2010-launch.aspx

Tuesday, June 29, 2010

Download Visual Studio 2010 RTM Virtual Machine with Sample Data and Hands-on-Labs

 

Visual Studio 2010 RTM version Virtual Machine is now available for download, you can download these different VMs from following links

Visual Studio 2010 RTM (Hyper-V)

Visual Studio 2010 RTM (Windows [7] Virtual PC)

Visual Studio 2010 RTM (Virtual PC 2007 SP1)

Brian Keller, Evangelist from Microsoft recently announced the availability of RTM version of the Visual Studio 2010 virtual machine, along with sample data and hands-on-labs for key application lifecycle management (ALM) scenarios on his blog.

This virtual machine (VM) includes Visual Studio 2010 Ultimate, Visual Studio Team Foundation Server 2010, and a sample application along with sample data which supports 9 hands-on-labs.

For instructions on how to use this virtual machine, please download “Working with the Visual Studio 2010 Virtual Machine.docx.”

 

Source:http://blogs.msdn.com/b/briankel/archive/2010/06/25/now-available-visual-studio-2010-rtm-virtual-machine-with-sample-data-and-hands-on-labs.aspx

Friday, May 14, 2010

Microsoft IndiMix 2010

Microsoft IndiMIX 2010 - An exclusive Conference for Web Developers and Designers building some of the world’s most innovative Websites.
indimix
The web belongs to you. Whether you're a developer or designer, or a little bit of both, together we build the most powerful and innovative websites that the world uses and loves.
Attend IndiMIX 2010 and….
  • Explore the next wave of opportunities and help redefine the boundaries between content and commerce, PC and TV, Windows® and the Web
  • Be inspired by an impressive lineup of UX, design and development sessions
  • Hear from experts on a wide range of topics for one-on-one guidance and inspiration
  • Learn about the future of Mobile™, Silverlight™, Internet Explorer®, Expression®, and other web technologies from Microsoft
Friday, 28th May, 2010
Taj Lands End,
Mumbai
15
Don’t miss out the opportunity to avail of the Special Early Bird offer of Rs. 2,000 per Registration (ends May 20, 2010).

Tuesday, February 09, 2010

Windows Azure Tools for VS 2010 RC

Windows Azure Tools for Microsoft Visual Studio extend Visual Studio to enable the application development for Windows Azure platform.

The Windows Azure Tools for Microsoft Visual Studio 1.1 (February 2010) support the Visual Studio 2010 RC and Visual Studio 2008 SP1.

What's New in version 1.1:

Windows Azure Drive: Enable a Windows Azure application to use existing NTFS APIs to access a durable drive. This allows the Windows Azure application to mount a page blob as a drive letter, such as X:, and enables easy migration of existing NTFS applications to the cloud.

OS Version Support: Allows a Windows Azure application to choose the appropriate Guest OS to run on in the cloud.

Bug Fixes

  1. StorageClient: Expose account key from storage credentials, expose continuation tokens for pagination, and reduce maximum buffer size for parallel uploads.
  2. Windows Azure Diagnostics: Fix path corruption for crash dumps, OnDemandTransfer now respects LogLevelFilter.
  3. VS 2010: Improved packaging performance.
  4. VS 2010: Support for linked files in Web projects.
  5. VS 2010: Support for ASP.NET web project web.config transformations.
  6. Certificate selection lists certificates from LocalMachine\My instead of CurrentUser\My.
  7. Right click on Role under Roles folder to select whether to launch the browser against HTTP, HTTPS or not at all.

Note: To use the Windows Azure Tools with VS 2010 Beta 2, please use the November 2009 release.

VS 2010/.NET 4 Release Candidate (RC) is Available for MSDN subscribers

 

Today Microsoft announced the RC for Visual Studio 2010, .NET Framework 4.  MSDN subscribers can can download it here: http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx

this will be made available to the public on Wednesday February 10.

You can report your feedback through  survey site and you can file any issues you find on the VS Connect site.

Wednesday, January 27, 2010

VS 2010 Beta 2 and TFS 2010 Beta 2 VPC image for download

 

Links to download Microsoft® Visual Studio® 2010 and Team Foundation Server® 2010 Beta 2 -

virtual image for Microsoft Virtual PC 2007 SP1

virtual image for Windows Virtual PC format

virtual image for Windows Server 2008 Hyper-V

The virtual machine image in this download contains both Microsoft Visual Studio 2010 Beta2 and Team Foundation Server 2010 Beta2 and the requisite trial software.

along with this you can also download Visual Studio 2010 and .NET Framework 4 Training Kit - January Release

Monday, January 25, 2010

Rangers shipped Visual Studio 2010 TFS Upgrade Guide

 

Team System Rangers ( or now Visual studio ALM rangers) deliver out of band solutions for missing features and guidance in the Team System suite of products.

This time rangers came up with Visual Studio 2010 TFS upgrade guide on CodePlex. This guide covers scenarios which may be encountered during and after the upgrade process. It provides examples of most common and potential issues. It covers scenarios related to general Upgrade Process, Work Item Templates, Reports, and Enterprise TFS Management (ETM). Although this guide refers to TFS 2008 scenarios, almost all the concepts apply also to TFS 2005.

This content was created with support from Microsoft Product Group, Microsoft Most Valued Professionals (MVPs) and technical specialists from technology communities around the globe.

What is in the package?
A single document with the following contents:
1 Introduction
2 Upgrade Process
3 Scenarios
3.1 Upgrading Projects from Multiple TFS 2008 servers into one TFS 2010 server
3.2 Upgrading severs when SQL Mirroring is enabled
3.3 Recovering system if upgrade fails midway
3.4 Updating Team Project Portal for an existing Team project
3.5 Splitting Team Project Collection into Multiple Collections
3.6 When I move a Team Project Collection, how do I move the reports?
3.7 Bringing Workgroup Machine inside Domain
4 Frequently Asked Questions
4.1 Can I use a TFS2008 Process Template to create team projects in TFS 2010
4.2 How can I enable Agile Workbooks in upgraded Projects
4.2.1 Enabling the Product Backlog Workbook
4.2.2 Enabling the Iteration Backlog Workbook
4.3 How can I enable Test Case Management in upgraded project
4.4 How can I enable Branch Visualization in upgrade projects
4.5 How can I enable Lab Management in upgrade projects
4.6 What is WIT Admin Tool
4.7 What happens to my custom reports created in TFS2008 post upgrade?
4.8 Will my old TFS2008 reports work post upgrade?
4.9 Can I add a new Database to my existing TFS 2010 farm?
4.10 Error bringing cloned Team Project Collection online
4.11 Move Team Project Collection Database from one Database server to another Database Server
4.12 How to enable the TFS reports if the WSS server is upgraded to MOSS server?
4.13 How to Move Team Projects from one Team Project Collection to another
5 References

 

you can download this guide from http://vs2010upgradeguide.codeplex.com/

Read more about Rangers at http://msdn.microsoft.com/en-us/teamsystem/ee358786.aspx

Wednesday, January 13, 2010

PUG Developer Summit 2010

 

banner1[1]

PUG Developer Summit 2010 is an event for developers to gain and share knowledge on the cutting edge technologies. Along with the interesting interactive sessions, this time we are presenting some out of the box topics like Concept Visualization. You will get a chance to meet the industry gurus and explore the intricacies of working on Mobile Devices with SharePoint 2010. You will experience some of the coolest features of upcoming release of Silverlight 4 and WCF. . You will see how Visual Studio 2010 can give you a whole new development experience. So be there to feel the technology on…

16th January, 2010 9:00 am...

Agenda:

9:00 to 9:30

Registration

   

9:30 to 10:45

Session I

Concept Visualization

Sanjay Vyas

10:45 to 11:00

Tea Break

   

11:00 to 12:15

Session II

Visual Studio 2010

Farzin Faramarzi & Maheshkumar N

12:15 to 1:30

Session III

MOSS 2010

Amol Vaidya

1:30 to 2:30

Lunch Break

   

2:30 to 3:45

Session IV

Silverlight 4

Vikram Pendse

3:45 to 5:00

Session V

WCF 4

Farzin Faramarzi

Venue:
Dewang Mehta Auditorium
Persistent Systems Limited
Bhageerath, 402,
Senapati Bapat Road
Pune 411016

Registration and Fees: This event is FREE for all to attend. Register here

for more details log on to http://www.puneusergroup.org/events/developer-summit2010/default.html

Wednesday, January 06, 2010

Commercial Availability of Windows Azure Platform

 

WindowsAzure_thumb

Today Microsoft announced commercial availability of its Windows® Azure™ platform which include Windows Azure, SQL Azure and  Windows Azure platform AppFabric. In addition, Microsoft also announced  new pricing and availability for Windows Azure platform AppFabric.

If you are CTP user then starting today you can upgrade your Community Technology Preview (CTP) accounts of the Windows® Azure™ platform to paid commercial subscriptions. If you upgrade your CTP accounts during the month of January, 2010, all Windows Azure platform usage incurred during this month will be at no charge. You will also have full visibility during this month to your Windows Azure platform usage. Billing and SLAs for all commercial accounts will begin on February 1st, 2010.

Customers with CTP accounts must upgrade their accounts prior to February 1, 2010. New customers can start using the services by signing up for one of the paid subscription offers.

To get started, visit: http://www.microsoft.com/windowsazure/offers/.

How to  upgrade your CTP accounts,

  • Visit offer page and select the offer of your choice.
  • Purchase the selected offer, using the same Windows Live ID as that associated with your CTP accounts.

CTP account holders will also receive an email with instructions on how to upgrade their accounts and how they can access their usage data. You can also review more details of the process posted on the Windows Azure blog here.

To upgrade a CTP account, the credit card or purchase order billing address must be in one of the launch countries listed below. Support for other countries will be phased in over time, with many countries coming online in 2010.

Austria

Belgium

Canada

Denmark

Finland

France

Germany

Ireland

India

Italy

Japan

Netherlands

New Zealand

Norway

Portugal

Singapore

Spain

Sweden

Switzerland

UK

United States

If you elect not to upgrade by January 31, 2010:

· February 1, 2010: CTP accounts will be disabled and any Windows Azure Storage will be made read-only. SQL Azure CTP accounts will be able to keep using their existing databases but they will no longer be able to create new databases. Windows Azure platform AppFabric namespaces will be disabled.

· March 1, 2010: The SQL Azure CTP accounts that have not been upgraded will be deleted. For more information on SQL Azure, please visit the SQL Azure blog.

· April 1, 2010: The Windows Azure Storage CTP accounts and Windows Azure platform AppFabric namespaces that have not been upgraded will be deleted. It is important to remind customers to export their data if they do not plan to upgrade to a commercial subscription prior to these dates.

If you are participating in the Microsoft Codename “Dallas” CTP, your service remains in CTP and is not impacted by this.

If you are MSDN Premium subscriber then please Ref. Windows Azure Platform Benefits for MSDN Subscribers before you upgrade you CTP account. 

Related Links