N
Nathan Sokalski
I am creating a class library for ASP.NET Web Applications, and I want too
include classes that can be used as dynamic images. I know how to do this in
Web Applications by using an *.aspx file by setting the ContentType
property. However, because the only file that is available in a class
library once it is compiled is the *.dll assembly (when you give a class
library to someone, this is generally only file they should need to deal
with). The two things I need to figure out how to do are:
1. Specify what class in the assembly should return an image
2. Pass arguments the way you pass arguments to an ASP.NET Page. For
example, on my personal site I use:
RoundEdgeButton.aspx?buttontext=TextGoesHere
I have seen places in Windows where arguments are passed to *.dll files, and
I am wondering if there is a way to do something similar with ASP.NET. My
basic goal here is to be able to create any utilities I use on my site
without creating a Page for something that simply returns an image. If
someone could help me here, I would greatly appreciate it. Thanks.
include classes that can be used as dynamic images. I know how to do this in
Web Applications by using an *.aspx file by setting the ContentType
property. However, because the only file that is available in a class
library once it is compiled is the *.dll assembly (when you give a class
library to someone, this is generally only file they should need to deal
with). The two things I need to figure out how to do are:
1. Specify what class in the assembly should return an image
2. Pass arguments the way you pass arguments to an ASP.NET Page. For
example, on my personal site I use:
RoundEdgeButton.aspx?buttontext=TextGoesHere
I have seen places in Windows where arguments are passed to *.dll files, and
I am wondering if there is a way to do something similar with ASP.NET. My
basic goal here is to be able to create any utilities I use on my site
without creating a Page for something that simply returns an image. If
someone could help me here, I would greatly appreciate it. Thanks.