As developer, most of us get .Net framework from the development tool we use: Visual Studio,
So it is important to know what .Net version on your deployment target server.
As a SharePoint developer, we know what .Net framework SharePoint is built on:
- SharePoint 2010 .Net 3.5
- SharePoint 2007 .Net 2.0
- SharePoint 2003 .Net 1.0
<sharepoint >
< system.web >
<compilation >
< assembly >
< add assembly="System.Core, Version=3.5.0.0, Culture=neutral, publicKeyToken = B77A5C561934E089" >
Running SharePoint 2007 on a Window 2008 server doesn't mean SharePoint can run .Net 3.5 features such as SilverLight, Ajax and LinQ etc. see this article for more details.