将Hello World发布到本地IIS [英] publishing Hello World to local IIS

查看:109
本文介绍了将Hello World发布到本地IIS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许有人知道如何做到这一点。当我在VS 2008中打开一个新的ASP.NET web

服务应用程序时,它会打开一个简单的Hello World web

服务。我希望看到这项工作。在没有更改

的情况下,我构建了解决方案并将其发布到localhost默认web

站点。我怎样才能测试它?????

Perhaps someone knows how to do this. When I open a new ASP.NET web
service application in VS 2008, it opens with a simple Hello World web
service already written. I want to see this work. Without changing a
thing I built the solution and published it to localhost default web
site. How can I test it?????

推荐答案



" cj" < cj@nospam.nospamwrote in message

news:%2 **************** @ TK2MSFTNGP05.phx.gbl ...

"cj" <cj@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...

也许有人知道怎么做。当我在VS 2008中打开一个新的ASP.NET web

服务应用程序时,它会打开一个简单的Hello World web

服务。我希望看到这项工作。在没有更改

的情况下,我构建了解决方案并将其发布到localhost默认网站。

如何测试它?????
Perhaps someone knows how to do this. When I open a new ASP.NET web
service application in VS 2008, it opens with a simple Hello World web
service already written. I want to see this work. Without changing a
thing I built the solution and published it to localhost default web site.
How can I test it?????



它被称为使用.Net来使用Web服务。你可以查阅,使用

Google。

It''s called consume a Web service using .Net. You can look it up, use
Google.


你好Cj,


ASP.NET webservice(asmx)应该提供简单的测试页面(对于webmethd

,带有简单的类型参数)。对于标准的Web服务测试/使用,您应该创建一个Web服务客户端代理(在客户端项目中)并通过代理类调用

Web服务。在.net项目中(使用Visual Studio),创建这样一个代理非常简单,这里有一些参考介绍

这个:


#HOW TO:使用Visual C#.NET编写一个简单的Web服务
http://support.microsoft.com/kb/308359


Visual Studio 2005
http ://support.microsoft.com/kb/315935/en-us

#通过五个简单步骤创建和使用.NET Web服务
http://dotnetjunkies.com/Tutorial/4D ... 7B5757564.dcik


此致,


Steven Cheng


Microsoft MSDN Online支持领导


=============================================== ===


通过电子邮件收到我的帖子通知?请参阅
http://msdn.microsoft .com / subscripti ... ult.aspx#notif

ications。


注意:MSDN托管新闻组支持服务是针对非紧急问题

如果社区或微软支持人员在1个工作日内做出初步回复是可以接受的。请注意,每个跟随

的响应可能需要大约2个工作日作为支持

专业人士与您合作可能需要进一步调查才能达到

最有效的分辨率。该产品不适用于需要紧急,实时或基于电话的交互或复杂的b $ b项目分析和转储分析问题的情况。这种性质的问题最好通过联系

Microsoft客户支持服务(CSS)处理
href =http://msdn.microsoft.com/subscriptions/support/default.aspx\"target =_ blank> http://msdn.microsoft.com/subscripti...t/default.aspx


==================================== ==============

此帖子按原样提供。没有保证,也没有赋予任何权利。


--------------------

日期:星期一,2008年1月7日10:28:48 -0500

来自:cj< cj@nospam.nospam>

主题:将Hello World发布到本地IIS

消息ID:<#4 ************** @ TK2MSFTNGP05.phx.gbl>

新闻组:microsoft.public.dotnet .framework.webservices


也许有人知道怎么做。当我在VS 2008中打开一个新的ASP.NET web

服务应用程序时,它会打开一个简单的Hello World web

服务。我希望看到这项工作。在没有更改

的情况下,我构建了解决方案并将其发布到localhost默认web

站点。我该怎么测试呢?????

Hi Cj,

The ASP.NET webservice(asmx) should provide simple test page(for webmethd
with simple type parameters). For standard webservice test/use, you should
create a webservice client proxy (in the client project) and call the
webservice through proxy class. In .net project(with Visual Studio), it is
quite simple to create such a proxy, here are some reference that introduce
this:

#HOW TO: Write a Simple Web Service by Using Visual C# .NET
http://support.microsoft.com/kb/308359

#How to build and use XML Web services by using Visual Studio .NET or
Visual Studio 2005
http://support.microsoft.com/kb/315935/en-us

#Creating and Consuming .NET Web Services in Five Easy Steps
http://dotnetjunkies.com/Tutorial/4D...7B5757564.dcik

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Date: Mon, 07 Jan 2008 10:28:48 -0500
From: cj <cj@nospam.nospam>
Subject: publishing Hello World to local IIS
Message-ID: <#4**************@TK2MSFTNGP05.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices

Perhaps someone knows how to do this. When I open a new ASP.NET web
service application in VS 2008, it opens with a simple Hello World web
service already written. I want to see this work. Without changing a
thing I built the solution and published it to localhost default web
site. How can I test it?????


谢谢!从您的一个链接,浏览到MathService.asmx Web

服务页面来测试Web服务。如果您将本地计算机设置为

托管该页面,则URL为http://localhost/MathService/MathService.asmx."


即我正在寻找什么。


我今天和其他小伙伴关系很紧,所以在我现在可以测试之前明天它可能会是b $ b 。

Steven Cheng [MSFT]写道:
Thanks! From one of your links, "Browse to the MathService.asmx Web
service page to test the Web service. If you set the local computer to
host the page, the URL is http://localhost/MathService/MathService.asmx."

That is what I was looking for.

I''ve been tied up with other priorties today so it''ll probably be
tomorrow before I can test now.
Steven Cheng[MSFT] wrote:

嗨Cj,


ASP。 NET webservice(asmx)应该提供简单的测试页面(对于webmethd

,带有简单的类型参数)。对于标准的Web服务测试/使用,您应该创建一个Web服务客户端代理(在客户端项目中)并通过代理类调用

Web服务。在.net项目中(使用Visual Studio),创建这样一个代理非常简单,这里有一些参考介绍

这个:


#HOW TO:使用Visual C#.NET编写一个简单的Web服务
http://support.microsoft.com/kb/308359


Visual Studio 2005
http ://support.microsoft.com/kb/315935/en-us

#通过五个简单步骤创建和使用.NET Web服务
http://dotnetjunkies.com/Tutorial/4D ... 7B5757564.dcik


此致,


Steven Cheng


Microsoft MSDN Online支持领导


== ================================================ <无线电通信/>

通过电子邮件收到我的帖子通知?请参阅
http://msdn.microsoft .com / subscripti ... ult.aspx#notif

ications。


注意:MSDN托管新闻组支持服务是针对非紧急问题

如果社区或微软支持人员在1个工作日内做出初步回复是可以接受的。请注意,每个跟随

的响应可能需要大约2个工作日作为支持

专业人士与您合作可能需要进一步调查才能达到

最有效的分辨率。该产品不适用于需要紧急,实时或基于电话的交互或复杂的b $ b项目分析和转储分析问题的情况。这种性质的问题最好通过联系

Microsoft客户支持服务(CSS)处理
href =http://msdn.microsoft.com/subscriptions/support/default.aspx\"target =_ blank> http://msdn.microsoft.com/subscripti...t/default.aspx


==================================== ==============


此帖子按原样提供。没有保证,也没有赋予任何权利。


--------------------

日期:星期一,2008年1月7日10:28:48 -0500

来自:cj< cj@nospam.nospam>

主题:将Hello World发布到本地IIS

消息ID:<#4 ************** @ TK2MSFTNGP05.phx.gbl>

新闻组:microsoft.public.dotnet .framework.webservices


也许有人知道怎么做。当我在VS 2008中打开一个新的ASP.NET web

服务应用程序时,它会打开一个简单的Hello World web

服务。我希望看到这项工作。在没有更改

的情况下,我构建了解决方案并将其发布到localhost默认web

站点。我怎样才能测试它?????
Hi Cj,

The ASP.NET webservice(asmx) should provide simple test page(for webmethd
with simple type parameters). For standard webservice test/use, you should
create a webservice client proxy (in the client project) and call the
webservice through proxy class. In .net project(with Visual Studio), it is
quite simple to create such a proxy, here are some reference that introduce
this:

#HOW TO: Write a Simple Web Service by Using Visual C# .NET
http://support.microsoft.com/kb/308359

#How to build and use XML Web services by using Visual Studio .NET or
Visual Studio 2005
http://support.microsoft.com/kb/315935/en-us

#Creating and Consuming .NET Web Services in Five Easy Steps
http://dotnetjunkies.com/Tutorial/4D...7B5757564.dcik

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Date: Mon, 07 Jan 2008 10:28:48 -0500
From: cj <cj@nospam.nospam>
Subject: publishing Hello World to local IIS
Message-ID: <#4**************@TK2MSFTNGP05.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices

Perhaps someone knows how to do this. When I open a new ASP.NET web
service application in VS 2008, it opens with a simple Hello World web
service already written. I want to see this work. Without changing a
thing I built the solution and published it to localhost default web
site. How can I test it?????


这篇关于将Hello World发布到本地IIS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆