Interviews2 answers
I have some dll that developed by ASP application,can i use reuse that dll to ASP.net application,Is it possible ,How Explain?
2 Answers
public class ObjectToSerialize
{
clsStudent objStudent = new clsStudent();
public static string SerializeAnObject(object AnObject)
{
XmlSerializer ser = new XmlSerializer(AnObject.GetType());
TextWriter Writer = new StringWriter();
ser.Serialize(Writer, AnObject);
return Writer.ToString();
}
Dinesh ReddyPosted Mar 5, 2013, 2:36 AM EST
We can develop dll either in vb or atl for asp application. Now in dot net we can use it by interop services.
Namespace : using System.Runtime.InteropServices;
You can go through lot of examples available on com reusibility in dot net.
sarvesh189Posted Apr 12, 2007, 9:57 PM EDT
