这是怎么回事?——debug时发生了一件怪事
这是怎么回事? visual studio.net中用VB.net建立的工程,添加了一个 WebForm1.aspx文件.
debug时没有出现页面http://localhost/WebService1/WebForm1.aspx
而出现了http://localhost/WebService1/Service1.asmx
页面内容:支持下列操作。有关正式定义,请查看服务说明。"服务说明"四字是超链接,点击后出现页面
http://localhost/WebService1/Service1.asmx?WSDL 内容如下:
<?xml version="1.0" encoding="utf-8" ?>
- <definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://tempuri.org/WebService1/Service1" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://tempuri.org/WebService1/Service1" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types />
<service name="Service1" />
</definitions>
好像是源代码.
按课外书上讲的,理应出现 页面 http://localhost/WebService1/WebForm1.aspx
百思不得其解,望指教.