473,327 Members | 2,094 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Implement Interface wizard?

Is there an implement interface wizard is C#/Visual Studio?

And, I have an interface, with many implentations, want to provide a Web
Service implementation. What would be the standard practice? Implement the
interface in the main asmx class? Or just have all interface methods
available, but without explicitly implementing it?

Thanks in advance!

Derrick
Nov 16 '05 #1
2 2531
Derrick,

Implementing the interface on the web service won't do much, because the
concept of a web service and an interface don't mix (the "interface" is
defined by the schema of the web service, and the different implementations
are different hosting providers).

However, you could do this by creating your web service implementation,
and then implementing the interface on the proxy that is used to access the
web service. You can do this by using the WDSL utility to generate proxy
code for you (instead of a compiled assembly), and then modify the code to
implement the interface.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Derrick" <de*********@excite.com> wrote in message
news:uu*************@TK2MSFTNGP10.phx.gbl...
Is there an implement interface wizard is C#/Visual Studio?

And, I have an interface, with many implentations, want to provide a Web
Service implementation. What would be the standard practice? Implement the interface in the main asmx class? Or just have all interface methods
available, but without explicitly implementing it?

Thanks in advance!

Derrick

Nov 16 '05 #2
Ahhh, yes, sounds like a plan, I didn't think implementing the interface on
the web side made sense..

Thanks!

Derrick

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:ur**************@TK2MSFTNGP10.phx.gbl...
Derrick,

Implementing the interface on the web service won't do much, because the concept of a web service and an interface don't mix (the "interface" is
defined by the schema of the web service, and the different implementations are different hosting providers).

However, you could do this by creating your web service implementation, and then implementing the interface on the proxy that is used to access the web service. You can do this by using the WDSL utility to generate proxy
code for you (instead of a compiled assembly), and then modify the code to
implement the interface.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Derrick" <de*********@excite.com> wrote in message
news:uu*************@TK2MSFTNGP10.phx.gbl...
Is there an implement interface wizard is C#/Visual Studio?

And, I have an interface, with many implentations, want to provide a Web
Service implementation. What would be the standard practice? Implement

the
interface in the main asmx class? Or just have all interface methods
available, but without explicitly implementing it?

Thanks in advance!

Derrick


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Peter | last post by:
I want to copy a parent class instance's all datas to a child's. It's actually a C++'s copy constructor. But why the following code does not work - there is a compile error! How it should look...
3
by: Brett Hall | last post by:
I have a VB.NET interface that my managed C++ code is to implement. I seem to be stuck implementing an event defined in that interface. Does anyone have a simple code snippet that will show me...
1
by: sviau | last post by:
were building a data entry web app using asp.net v1.1 that captures data for a real estate listing. Because there are numerous fields, we felt that it was good user interface to break up the data...
7
by: Shane Story | last post by:
Have an app and would like to allow easy addition of MYAPP.EXE /F /P (for example) my prog with command line args, as a job to be run. Would like to make it easier on the user to run the app. ...
8
by: Bill Rust | last post by:
I've created an "Add Item" wizard for VB.NET 2003 that allows a user to add a specialized class that works with my application framework. In the wizard, the user can select the interfaces they...
7
by: moondaddy | last post by:
If I'm in a class that inherits an interface, is there a shortcut key that will write the implementation of the interface into the class? I remember seeing something like this in vb.net. ...
52
by: Ben Voigt [C++ MVP] | last post by:
I get C:\Programming\LTM\devtools\UselessJunkForDissassembly\Class1.cs(360,27): error CS0535: 'UselessJunkForDissassembly.InvocableInternals' does not implement interface member...
0
chandru8
by: chandru8 | last post by:
hi to all iam using vb6.0 i tried to add ActiveX Control Interface Wizard in add-in manager but there is no ActiveX Control Interface Wizard in the add-in manager how to include ActiveX Control...
5
by: Tony Johansson | last post by:
Hello! Assume you have the following interface and classes shown below. It is said that a class must implement all the methods in the interface it inherits. Below we have class MyDerivedClass...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.