.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Mixing .NET 3.5 and .NET 4.0

Posted By:      Posted Date: October 12, 2010    Points: 0   Category :.NET Framework


Is there a way to use DLLs built for .NET 3.5 with .NET 4.0? Some of our code is J# and so it must be .NET 3.5. But the rest is C# and could be .NET 4.0.

thanks - dave

Very funny video - What's your Metaphor?

View Complete Post

More Related Resource Links

The Polyglot Programmer: Mixing And Matching Languages


See why you need to be a polyglot programmer and what mixing and matching languages can do for your projects.

Ted Neward

MSDN Magazine March 2009

Music mixing application


Hi Guys

 Is it possible to create Music mixing application using C# asp.net 4.0. please send sample code and links.




Mixing Assembly Runtime Versions Question


I'm building an application targeted at the .NET Framework 4 and want to use the Logging Application Block and notice that the 5.0.414.0 version installed by the MSI is targeted at the 2.0.50727 runtime.  If this 2.0 version of the Logging Application Block is used, are there any performance problems or other issues which would suggest that I install the Logging Application Block source code and compile it targeted at .NET Framework 4 and use that DLL??




Mixing 32 and 64 bit code

I have some code that requires to be run in 32 bit mode. For example, creating COM objects for Office but other things as well.

This may be a stupid question but is it possible mix code. I would like the general part of my application to run in 64 bit mode but execute some methods in 32 bit mode. Also, what happens if you try to reference a dll built in 32 bit mode from an ANYCPU build (which later is executed in 64 bit). If this would work I could create some assemblies for 32 bit code.

Any thoughts would be helpful!

Mixing Foundation & Enterprise Functionality


Hey all,

We currently use WSS 3.0 with PerformancePoint 2007 and are thinking about upgrading to SharePoint 2010.

We don't want to buy a SharePoint CAL for all our users as most just very basic SharePoint functionality that would be covered by the Foundation product. However we do have some users that use PerformancePoint which has now moved to the Enterprise product.

What would the best way of combining these be? Can I create a SP foundation farm for the 90% of users and add an Enterprise Server to the farm for those few that need the Enterprise functionality?

Is it possible to mix the server licenses in a single farm? Do I gain much from having them both in the same machine?



Sockets and mixing IPV4 and IPV6


I am creating two applications which communicate via TCP/IP sockets using C# and the .NET sockets library.  Once side create a socket and binds to a hostname and port, the other does a BeginConnect/EndConnect.  When I use both programs on the same machine (Win 7 64-bit) and use the hostname "localhost" and AddressFamily InterNetworkV6, everything is fine.

When I put the listener (the one binding to a port and listening) on a Win XP 32-bit machine, I can only create a socket if the AddressFamily is InterNetwork (IPV4).  It runs and waits for a connection, but on the Win7 machine, when I do the BeginConnect, I get an error:

19673 [10] ERROR CardioInsight.Athena.RMFInterface.CommState.Connecting (null) -
 BeginConnect() fails
System.Net.Sockets.SocketException (0x80004005): The system detected an invalid
pointer address in attempting to use a pointer argument in a call
   at System.Net.Sockets.Socket.DoBeginConnect(EndPoint endPointSnapshot, Socket
Address socketAddress, LazyAsyncResult asyncResult)
   at System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback ca
llback, Object state)
   at CardioInsight.Athena.RMFInterface.ClientNetworkInterface.BeginConnect(Asyn
cCallback callback, Object state) in C:\CardioInsight\Athena\trunk\Code\Car

query mixing




select income,
(case  when income between 0.00 and 2000.00 then 'Bucket1'
       when income between 2001.00 and 3000.00 then 'Bucket2'
       when income between 3001.00 and 4000.00 then 'Bucket3'
       when income between 4001.00 and 6000.00 then 'Bucket4'
       when income between 6001.00 and 10000.00 then 'Bucket5'
else 'Bucket6' end) as bucket
from bi02_customer  group by bucket;

query 2:

select salbucket from m_caprosel;


query1 result:

income     bucket


1000    bucket1

2000   bucket2

3000   bucket3


query2 result:





expected result:

income from matched records od both queryies.


Pls could u tell me any one..

Mixing SSIS instances on clustered nodes: SQL2K8 and SQL2K8R2


Would specifying 'SSIS' during the installation of an R2 clustered instance have screwed up other, downlevel (SQL2K8 SP1) unclustered instances on the node where the install ran?


I needed to add a SQL2K8 R2 instance to our cluster last night and ran into a conundrum.

Each of the nodes in the cluster already had a standalone instance of SQL running only SSIS.

Each of those standalone SSIS instances was SQL2K8 SP1, not R2.

I decided not to add SSIS R2 to the new clustered instance, lest it screw up mission critical SSIS jobs on the unclustered SSIS instances.

If I had added SSIS R2 to the new instance, would it have replaced the SQL2K8 SP1 code running in the standalone instance of SSIS because it's a 'shared feature'?

Or would the jobs have been safe because 'Shared' applies only to 'shared among the SQL Features in the instance being installed?

And would it have created an extra entry in services.msc showing SQL Integration Services(Name of Virtual Server)?

Mixing Databases - SQLServer and MS Access ?


In a current project I am considering using SQLServer 2005 Express database and also Access database and this will be deployed, probably to a Database only server.


But are there any drawbacks to doing this (using both SQL Server and Access databases)?


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend