After a big search i found voice recording is not possible in asp.net 4.
using plugin like flash we can achieve the same. can anyone share the code .net voice record and play using flash player.
or if any other alternate good way to achieve this? kindly share the code.
You dont use a normal asp.net site to do stuff like this. instead you should use Silverlight or flash. both technologies let you use the mic or webcam.
http://silvoicerecordupload.codeplex.com/
Silverlight and flash can both be implemented on a website regardless of web server.