-
using a c# class in a vb.net webservice
Hi, I wanted to use a c# class in my vb.net webservice, how can I import it?
I'm using visual studio .net, and I have made the reference in my project,
but when I write import in my webservice.asmx I don't see the namespace of
my c# class. Could someone help me?
thanks.
Guillaume
-
Re: using a c# class in a vb.net webservice
Did you mark the C# class as public?
public class xxx
Otherwise, it won't show up.
If this doesn't help, then try some sample code to help us help you.
--
Randy Charles Morin
http://www.kbcafe.com
Feel free to contact me by private email or messenger
randy@kbcafe.com
morin_randy@hotmail.com
"Guillaume Lagacé" <guilagace@hotmail.com> wrote in message news:3cc5c08c$1@10.1.10.29...
>
> Hi, I wanted to use a c# class in my vb.net webservice, how can I import it?
> I'm using visual studio .net, and I have made the reference in my project,
> but when I write import in my webservice.asmx I don't see the namespace of
> my c# class. Could someone help me?
>
> thanks.
>
> Guillaume
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks