Can I use all the Classes of .NET Framework 3.0 and 3.5 with ASP.NET 2.0?

Can I use all the Classes of .NET Framework 3.0 and 3.5 with ASP.NET 2.0?

 If I can, then how can use? Surprise

0
parco
2/26/2009 6:14:27 AM
asp.net.getting-started 91979 articles. 4 followers. Follow

4 Replies
892 Views

Similar Articles

[PageSpeed] 56
Get it on Google Play
Get it on Apple App Store

No you con't use them... If you are using Visual Studio 2008 try to create a WebSite with .netFrameWork 2.0 ... after creating the website try to add the reference... when add reference dialog box open you can see that all the 3.0 and 3.5 namespaces will be disabled .. you con't add the reference to the 3.0 and 3.5
Chinna_sv...
0
getchinna_sv
2/26/2009 8:11:28 AM

 

parco:

Can I use all the Classes of .NET Framework 3.0 and 3.5 with ASP.NET 2.0?

 If I can, then how can use? Surprise

I think you can, all you need the your class's Dllyour Class's Reference DLLs in your Bin Folder

or Register them in GAC.


We All move to our original place.
Don't forget.

Imran Baloch
0
imran_ku07
2/26/2009 8:21:22 AM

is it just put them into the web.config is ok?

 

<compilation>
   <assemblies>
    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
   </assemblies>
  </compilation>
 
0
parco
2/26/2009 5:44:35 PM

There is no need of this, at Bin Directory Dlls are Automatically loads at run time


We All move to our original place.
Don't forget.

Imran Baloch
0
imran_ku07
2/27/2009 4:48:09 AM
Reply: