By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,645 Members | 1,048 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,645 IT Pros & Developers. It's quick & easy.

Which VS template do I need

P: n/a
cj
I need to write a web service--actually several. The data these web
services return will come mostly from odbc data sources. Also I'd like
to make this a web application as opposed to a windows app. I see they
offer an ASP.Net Web service application but I'm not sure if any of the
others would be more appropriate.
Jan 2 '08 #1
Share this Question
Share on Google+
7 Replies


P: n/a
On Jan 2, 9:29 am, cj <c...@nospam.nospamwrote:
I need to write a web service--actually several. The data these web
services return will come mostly from odbc data sources. Also I'd like
to make this a web application as opposed to a windows app. I see they
offer an ASP.Net Web service application but I'm not sure if any of the
others would be more appropriate.
I would just use the Web Service template. You could create a new Web
Site and delete the default.aspx page that is generated and then add
your service, but you'll end up with the basically the same thing as
the Web Service template. Remember you can create all the different
services in the same project if you want, but if they need to share
business objects you will need to write your own .disco file for the
web service consumers to bind to.

Thanks,

Seth Rowe [MVP]
Jan 2 '08 #2

P: n/a
cj
What are the Server Control projects?

rowe_newsgroups wrote:
On Jan 2, 9:29 am, cj <c...@nospam.nospamwrote:
>I need to write a web service--actually several. The data these web
services return will come mostly from odbc data sources. Also I'd like
to make this a web application as opposed to a windows app. I see they
offer an ASP.Net Web service application but I'm not sure if any of the
others would be more appropriate.

I would just use the Web Service template. You could create a new Web
Site and delete the default.aspx page that is generated and then add
your service, but you'll end up with the basically the same thing as
the Web Service template. Remember you can create all the different
services in the same project if you want, but if they need to share
business objects you will need to write your own .disco file for the
web service consumers to bind to.

Thanks,

Seth Rowe [MVP]
Jan 2 '08 #3

P: n/a
cj
What about creating the different web services in their own projects in
the same solution? Would that get around having to write my own disco
files?

rowe_newsgroups wrote:
On Jan 2, 9:29 am, cj <c...@nospam.nospamwrote:
>I need to write a web service--actually several. The data these web
services return will come mostly from odbc data sources. Also I'd like
to make this a web application as opposed to a windows app. I see they
offer an ASP.Net Web service application but I'm not sure if any of the
others would be more appropriate.

I would just use the Web Service template. You could create a new Web
Site and delete the default.aspx page that is generated and then add
your service, but you'll end up with the basically the same thing as
the Web Service template. Remember you can create all the different
services in the same project if you want, but if they need to share
business objects you will need to write your own .disco file for the
web service consumers to bind to.

Thanks,

Seth Rowe [MVP]
Jan 2 '08 #4

P: n/a
On Jan 2, 11:28 am, cj <c...@nospam.nospamwrote:
What about creating the different web services in their own projects in
the same solution? Would that get around having to write my own disco
files?

rowe_newsgroups wrote:
On Jan 2, 9:29 am, cj <c...@nospam.nospamwrote:
I need to write a web service--actually several. The data these web
services return will come mostly from odbc data sources. Also I'd like
to make this a web application as opposed to a windows app. I see they
offer an ASP.Net Web service application but I'm not sure if any of the
others would be more appropriate.
I would just use the Web Service template. You could create a new Web
Site and delete the default.aspx page that is generated and then add
your service, but you'll end up with the basically the same thing as
the Web Service template. Remember you can create all the different
services in the same project if you want, but if they need to share
business objects you will need to write your own .disco file for the
web service consumers to bind to.
Thanks,
Seth Rowe [MVP]
I'm not sure if you create a custom library for the shared objects and
reference that assembly from each project in your solution if it will
prevent the InvalidCast exceptions that binding to a disco fixes or
not. If you try it out please post back and let me know what happens -
you've got me curious.

Thanks,

Seth Rowe [MVP]
Jan 2 '08 #5

P: n/a
On Jan 2, 11:24 am, cj <c...@nospam.nospamwrote:
What are the Server Control projects?

rowe_newsgroups wrote:
On Jan 2, 9:29 am, cj <c...@nospam.nospamwrote:
I need to write a web service--actually several. The data these web
services return will come mostly from odbc data sources. Also I'd like
to make this a web application as opposed to a windows app. I see they
offer an ASP.Net Web service application but I'm not sure if any of the
others would be more appropriate.
I would just use the Web Service template. You could create a new Web
Site and delete the default.aspx page that is generated and then add
your service, but you'll end up with the basically the same thing as
the Web Service template. Remember you can create all the different
services in the same project if you want, but if they need to share
business objects you will need to write your own .disco file for the
web service consumers to bind to.
Thanks,
Seth Rowe [MVP]
Server Controls are custom controls like the TextBox, GridView,
DropDownList, etc., so the Server Control project would just be a
control library for creating your own server controls.

Thanks,

Seth Rowe [MVP]
Jan 2 '08 #6

P: n/a
cj
Right now I'm not sure what a disco file is so I'm not sure my testing
will help you much. I know I need a wsdl file which I think VS
generates for me but I'm not sure on that yet either. I've used web
services before but never written one.
rowe_newsgroups wrote:
On Jan 2, 11:28 am, cj <c...@nospam.nospamwrote:
>What about creating the different web services in their own projects in
the same solution? Would that get around having to write my own disco
files?

rowe_newsgroups wrote:
>>On Jan 2, 9:29 am, cj <c...@nospam.nospamwrote:
I need to write a web service--actually several. The data these web
services return will come mostly from odbc data sources. Also I'd like
to make this a web application as opposed to a windows app. I see they
offer an ASP.Net Web service application but I'm not sure if any of the
others would be more appropriate.
I would just use the Web Service template. You could create a new Web
Site and delete the default.aspx page that is generated and then add
your service, but you'll end up with the basically the same thing as
the Web Service template. Remember you can create all the different
services in the same project if you want, but if they need to share
business objects you will need to write your own .disco file for the
web service consumers to bind to.
Thanks,
Seth Rowe [MVP]

I'm not sure if you create a custom library for the shared objects and
reference that assembly from each project in your solution if it will
prevent the InvalidCast exceptions that binding to a disco fixes or
not. If you try it out please post back and let me know what happens -
you've got me curious.

Thanks,

Seth Rowe [MVP]
Jan 2 '08 #7

P: n/a
Hello Chris,
Thanks for your reply.

You are welcome. Have a great day.:)

Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 8 '08 #8

This discussion thread is closed

Replies have been disabled for this discussion.