Welcome to MSDN Blogs Sign in | Join | Help

Keep Writing SharePoint Web Parts Until (at least) 2006

ASP.NET 2.0 Web Parts rock.  We in SharePoint-land love them.  We’re building “v3” on ASP.NET 2.0.  But none of that matters right now if you have to deliver code for today’s SharePoint sites and portals.  And this advice comes from both me in WSS/SPS-land and the Whidbey Program Manager responsible for ASP.NET 2.0 Web Parts.  Here’s the official word on Whidbey/WSS interoperability and compatibility:

  • WSS “v3” (and anything built on top of it like SPS) is being written with ASP.NET 2.0, and will use, natively, ASP.NET 2.0 Web Parts.
  • WSS “v3” (and anything built on top of it like SPS) will carry forward the object models used for SharePoint Web Parts, so it will continue to run anything being written today.  Natively. Anything you write today will still work tomorrow.
  • ASP.NET 2.0–only sites that do not involve SharePoint technology will only run ASP.NET 2.0 Web Parts.

Those are pretty much guarantees.  Now for clarification of a couple of things we’ve said in the past that have gotten distorted.

  • WSS “v2” (the currently-shipping version) won’t magically acquire the ability to host ASP.NET 2.0 Web Parts when WSS Service Pack 2 ships.  WSS Service Pack 2’s date and fix list aren’t publicly sharable yet, with one exception:  WSS SP2 will allow WSS and the ASP.NET 2.0 runtime to coexist on the same machine.  And in case you didn’t connect the dots… Attention:  Until WSS Service Pack 2 ships, do NOT attempt to install Visual Studio 2005 or the ASP.NET 2.0 runtime on a machine running WSS or SPS.  Until WSS SP2 is installed, doing so will break WSS/SPS.
  • The WSS and ASP.NET teams are exploring ways to encapsulate and host some of the functionality of ASP.NET 2.0 Web Parts in WSS “v2”.  We’re not guaranteeing that it will happen at all, let alone how and when it would happen.  If it happens, you should treat it like a happy surprise — don’t make plans that depend on it.  If it happens, you’ll hear about it here (and other places, too, of course). 

Whidbey will ship this year.  We won’t.  Even when we do, not every customer will upgrade right away.  There’s still work to be done with SharePoint Web Parts.

  • SharePoint Web Parts aren’t that hard.  And they’re very robust.
  • If the big appeal to ASP.NET 2.0 is that User Controls can be Web Parts, you can use the SmartPart to embed ASP.NET 1.1 user controls inside a SharePoint Web Part.  It’s neat technology.

Experiment with Whidbey Web Parts.  Use them as soon as you can in applications built with Whidbey and only Whidbey (i.e., no WSS/SPS in the picture).  But don’t plan to use them in SharePoint sites for a year.  Believe me, no one will be happier than me when we can tell everyone to write all Web Parts in ASP.NET 2.0, and if we can tell you this before next year, we will.

Published Thursday, March 17, 2005 8:51 AM by MikeFitz

Comments

Thursday, March 17, 2005 11:00 AM by Lorenzo Barbieri @ UGIblogs!

# Informazioni importanti sulla coesistenza di SharePoint/WSS e ASP.NET 2.0...

Thursday, March 17, 2005 12:04 PM by Fear and Loathing

# Keep the SharePoint Web Parts burning

Thursday, March 17, 2005 12:27 PM by Christian Nagel's OneNotes

# ASP.NET 2.0 and SharePoint WebParts

Thursday, March 17, 2005 12:45 PM by andrew connell

# Fitz talks about web parts in SharePoint

Thursday, March 17, 2005 3:15 PM by Jan Tielens' Bloggings

# IMPORTANT: Web Part Development Roadmap

Thursday, March 17, 2005 3:22 PM by Jan's Link Blog

# IMPORTANT: Web Part Development Roadmap

Thursday, March 17, 2005 1:24 PM by Jan Tielens

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

Hi Mike, thanks for the info! This is just what the web part developer community needs.
Thursday, March 17, 2005 3:23 PM by Patrick Tisseghem's Blog

# Mike talking about SharePoint SP2

Thursday, March 17, 2005 4:15 PM by STEFANO DEMILIANI WeBlog

# No chance to have ASP.NET 2.0 Web Parts on WSS v2

Thursday, March 17, 2005 5:13 PM by Mark Harrison

# Linked

Thursday, March 17, 2005 4:31 PM by David Taylor

# Sharepoint SP2 and ASP.NET 2 Question - re your blog

Hi Mike,

I just read your blog entry, and would really like you to clarify an important issue.

When you said "installing ASP.NET 2 / VS 2005 will break WSS 2", did you mean that it will still break even if you configure the WSS 2 Website in IIS to use ASP.NET 1.1 / .NET 1.1?

I just ask because I have been running both WSS 2 and ASP.NET 2 at home on a Windows Server 2003 machine since Beta 1 (July 2004) and have not noticed anything break. Of course I made sure Sharepoint was running on ASP.NET 1.1. Are you saying that some feature is broken that I have not noticed yet?

It would be really helpful to me if you could clarify this, because I was actually hoping to run this configuration on a production box after Whidbey Beta 2 comes out.

Thanks for any clarification.

Regards,

David Taylor
Thursday, March 17, 2005 4:39 PM by Mike Fitzmaurice

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

David, the bits can't even sit on the same box, period. Not until we release SP2. Sorry. Until then, you'd need to use a VPC approach if you have everything on one box.
Thursday, March 17, 2005 5:43 PM by SBC

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

thanks for the posting.. it's good to get a glimpse of future SP developments.
Thursday, March 17, 2005 9:50 PM by EROL

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

Thanks EROL MVP SharePoint http://www.mysps.info/default.aspx
Friday, March 18, 2005 12:23 AM by MrDave's Blog!

# ASP.NET 2.0 Web Parts

Friday, March 18, 2005 4:50 AM by SharePoint, SharePoint and stuff

# Mike Fitzmaurice

Mike Fitzmaurice hat in einem Artikel Keep Writing SharePoint Web Parts Until (at least) 2006 einige sehr interessante Aussichten auf die zuk
Friday, March 18, 2005 4:51 AM by SharePoint, SharePoint and stuff

# Mike Fitzmaurice

Mike Fitzmaurice hat in einem Artikel Keep Writing SharePoint Web Parts Until (at least) 2006 einige sehr interessante Aussichten auf die zuk
Friday, March 18, 2005 7:45 AM by Dave Burke's Blog

# WSS v3, WSS SP2 and .NET v2 planning

# Sharepoint and ASP.NET 2.0 Webparts

Friday, March 18, 2005 9:49 AM by Dino Esposito's WebLog

# SharePoint: the road ahead

Friday, March 18, 2005 9:58 AM by Dino Esposito's WebLog

# SharePoint: the road ahead

Friday, March 18, 2005 9:46 AM by Kevin Dente

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

Mike,
Something that isn't clear to me yet - will existing Sharepoint Web Parts be able to run on ASP.NET 2.0? It would be great if, for example, we could take advantage of the Office Web Parts in our Whidbey apps without waiting for v3.
Friday, March 18, 2005 10:18 AM by Mike Fitzmaurice

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

Kevin, that third bullet point above must have gotten lost in the shuffle: ASP.NET 2.0–only sites that do not involve SharePoint technology will only run ASP.NET 2.0 Web Parts. I'm sure that independent developers and ISVs will produce charting and Web capture Web Parts for Whidbey pretty soon.
Friday, March 18, 2005 10:15 AM by Kevin Dente

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

Ah, so THAT's what that bullet point meant. The wording was a bit confusing.

The comment that I'd seen here:
http://blogs.msdn.com/bowerm/archive/2004/09/17/230801.aspx
indicated otherwise, but I guess I misinterpreted it.

Any idea if/when the MS teams (like the Office WebPart folks) will be releasing Whidbey versions of their Parts? Will we need to wait for the next version of Office for that?

Thanks for the info.
Friday, March 18, 2005 6:44 PM by Ponder .NET

# Windows SharePoint Service (.NEXT) to use ASP.NET 2.0 Web Parts

Saturday, March 19, 2005 1:39 AM by Christophe Lauer

# Des clarifications sur la prochaine version de WSS et les Web Parts d'ASP.NET 2.0

Saturday, March 19, 2005 5:10 PM by hitesh

# What about WSRP?

Any word on WSRP support?

Thanks.
Saturday, March 19, 2005 10:21 PM by Saravana's Blog

# ASP.NET 2.0 web parts and Sharepoint Service(WSS)

ASP.NET 2.0 web parts and Sharepoint Service(WSS)
Saturday, March 19, 2005 11:26 PM by Brian E. Cooper

# Good Article on the future of web part development in asp.net 2.0

Sunday, March 20, 2005 7:22 PM by Sean's Blog

# .Net 2.0 Breaking WSS and SPS

Monday, March 21, 2005 7:45 AM by Igor Macori

# Voci sulla roadmap in vista di SharePoint v3

Monday, March 21, 2005 9:22 AM by Scott Galloway's Personal Blog

# WTF! You can't use ASP.NET 2.0 on a box with Sharepoint installed!

Monday, March 21, 2005 2:47 PM by Mart Muller's Sharepoint Weblog

# Sharepoint v3 "facts"

Monday, March 21, 2005 1:00 PM by Sean Allen

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

Awesome Navigator and I have found many uses - Question - is there a way to change the navigator to go to Document Library views
Monday, March 21, 2005 4:58 PM by Mike Taulty's Weblog

# Whidbey ASP.NET and Windows SharePoint Services WebParts

Monday, March 21, 2005 10:54 PM by Lawrence Liu's Report from the Field

# Calling all SharePoint developers .. again!

Tuesday, March 22, 2005 2:33 AM by CaPo's Integration adventures

# The webpart story between SharePoint and ASP.NET 2.0

Tuesday, March 22, 2005 2:49 AM by CaPo's Integration adventures

# The webpart story between SharePoint and ASP.NET 2.0

Wednesday, March 23, 2005 7:54 AM by Leon Jollans

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

To second David Taylor's experience, we have ASP.NET 2.0 ( from SQL 2005 beta 2 ) installed on a Server 2003 instance that is also hosting an SPS 2003 installation.

Sharepoint is fine, and in fact, Sharepoint is using the SQL 2005 as a data store with no problems either.

We have found out already that SPS will not run if the ASP.NET version is set to 2.0, but this does not seem to prevent us running an active 2.0 CLR on the machine. I was under the impression that the two CLR runtimes were mutually exclusive anyway, so this doesn't surprise me.

Could you elaborate on why the two bits cannot even sit on the same box, period, since this is not our experience.

Thanks Mike

Leon Jollans
Wednesday, March 23, 2005 10:24 AM by Mike Fitzmaurice

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

My warnings are official ones. Our testers and engineers have warned against doing this. Our support people have said in no uncertain terms that they won't support this. If you've managed to make it work in an experimental environment, more power to you. But don't deploy it if you want to stay supported.
Saturday, March 26, 2005 10:16 AM by Sean Harms

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

Thanks for the information Mike. I've been searching for 30 minutes trying to find out some of these details.

I would like to ask:

Is it possible to take a traditional SharePoint webpart like MSNBC Weather (with a simple <content> tag) and convert it to the new ASP.NET 2.0 webpart schema (which includes <genericWebPartProperties> for example)? Basically, I would just like to use some existing webparts within the new Whidbey framework. I realize you've mentioned that it should "only run ASP.NET 2.0 Web Parts", but is there any way to convert simple ones to the new import format? I am unable to find a reference for the import format at this time.

Thanks for any input you could offer.
Monday, March 28, 2005 6:00 AM by Leon Jollans

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

For the record, we haven't had to perform any trickery to get it working, it just worked. But thanks for the info Mike.

Leon Jollans
Monday, March 28, 2005 11:15 AM by Kit Kai's Blog

# Can Sharepoint V2 work with .net 2.0?

http://blogs.msdn.com/mikefitz/archive/2005/03/17/397775.aspx
The link above says cannot, until sp2...
Monday, March 28, 2005 2:33 PM by LeonLandGersing.com : Powered by Poem

# Keep writing web parts!

Unless of couse you want to use them next year. :) It would seem that all of us out there that are licking our lips over the new web part for ASP.NET 2.0 will not be able to use what we create for the Sharepoint v2 framework. So, those crazy (non-documented) web parts that I've looked into developing for Sharepoint will not be quite as ubiqutous as I once thought...
Friday, April 01, 2005 11:56 AM by The Weblog of Joe Schneebaum

# ASP.NET 2.0 and SP WebParts

Tuesday, April 05, 2005 1:46 AM by greg hughes - dot - net

# The real skinny on compatibility: SharePoint v2, v3, Whidbey, .NET 2.0, webparts

Tuesday, April 05, 2005 1:46 AM by greg hughes - dot - net

# The real skinny on compatibility: SharePoint v2, v3, Whidbey, .NET 2.0, webparts

Tuesday, April 05, 2005 2:50 AM by greg hughes - dot - net

# The real skinny on compatibility: SharePoint v2, v3, Whidbey, .NET 2.0, webparts

Tuesday, April 05, 2005 2:50 AM by greg hughes - dot - net

# The real skinny on compatibility: SharePoint v2, v3, Whidbey, .NET 2.0, webparts

Wednesday, April 20, 2005 5:19 AM by Igor Macori

# Voci sulla roadmap in vista di SharePoint v3

Thursday, May 05, 2005 12:30 AM by Vijay

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

I could use both FW 2.0 and WSS together!

Modifications need to be done in IIS.

Open IIS
Go to Properties of DefaultWebsite or SharePoint site.

Go to tab 'ASP.NET'

Here, you can choose the ASP.NET version.

That's all
Wednesday, May 18, 2005 6:40 AM by Kevin Julien

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

Thanks for the information. We are working through the dialog right now and are considering Sharepoint vs. .Net Nuke beacuse of concerns with Web Pars and code. One of the concerns that we have is around the best practices of using Web Parts and re-thinkng how we leverage portal technology without incorporating all application logic into the portal framework. Are there best practices or guidelines here? Do you have any guidance on the two technologies to help us with this discussion?

Thanks in advance.
Monday, June 06, 2005 2:31 AM by C#, XML Web services, and .NET Servers

# Keep Writing SharePoint Web Parts Until (at least) 2006

Thursday, June 23, 2005 12:08 PM by Stephen Walch

# re: Keep Writing SharePoint Web Parts Until (at least) 2006

Hi Fitz, Thanks for the info. Our WSS V2 product consists of both web parts, pieces in a wpresources directory, and full pages in the _layouts directory. Should all this be able to run as expected under ASP.NET 2.0?
Will my WPPACKAGER packages work at deployment time?
Tuesday, June 28, 2005 5:25 AM by Adventure Girl

# SharePoint and ASP.NET 2.0

A colleague just asked me if I could provide a pointer to any information regarding the interaction /...
Thursday, August 25, 2005 6:53 PM by Mike Taulty's Weblog

# re: Whidbey ASP.NET and Windows SharePoint Services WebParts

Sunday, September 25, 2005 5:32 AM by asane

# question

Hi can you tell me how to get .Net to do webparts. I know that I have to mention the path to MicroSoft.Sharepoint.dll, but I simply can't find it; hence I cannot install the template.

So any help on this would be nice.

# collabnet.ch &raquo; Blog Archive &raquo; Microsoft SharePoint Products and Technologies 2007: Deployment and Administration - Part 2

# Famous Quotes &raquo; FitzBlog : Keep Writing SharePoint Web Parts Until (at least) 2006

New Comments to this post are disabled
 
Page view tracker