资源简介

沈士根, 汪承焱, 许小东. 《Web程序设计》课本源码MyPetshop源码

资源截图

代码片段和文件信息

using System.Web.Services;

/// 
/// OverloadService 的摘要说明
/// 

[WebService(Namespace = “http://tempuri.org/“)]
//[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[WebServiceBinding(ConformsTo = WsiProfiles.None)]
// 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消对下行的注释。
// [System.Web.script.Services.scriptService]
public class OverloadService : System.Web.Services.WebService
{

    [WebMethod(MessageName = “HelloWorld“)]
    public string HelloWorld()
    {
        return “Hello World“;
    }
    [WebMethod(MessageName = “HelloWorldbyName“)]
    public string HelloWorld(string userName)
    {
        return “Hello World! “ + userName;
    }
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        767  2009-04-01 14:55  WebProgram_Asp.NET_Example\AspService\App_Code\OverloadService.cs

     文件        709  2009-04-01 14:03  WebProgram_Asp.NET_Example\AspService\App_Code\Service.cs

     文件        103  2008-11-29 22:23  WebProgram_Asp.NET_Example\AspService\OverloadService.asmx

     文件         87  2008-01-11 20:32  WebProgram_Asp.NET_Example\AspService\Service.asmx

     文件       8068  2008-11-29 22:26  WebProgram_Asp.NET_Example\AspService\web.config

     文件       9523  2009-04-02 09:00  WebProgram_Asp.NET_Example\book.sln

    ..A..H.    218112  2009-06-29 22:29  WebProgram_Asp.NET_Example\book.suo

     文件        262  2008-11-16 20:39  WebProgram_Asp.NET_Example\chap\Admin\web.config

     文件       1659  2009-03-31 21:14  WebProgram_Asp.NET_Example\chap\App_Code\Account.cs

     文件       1935  2009-03-31 21:14  WebProgram_Asp.NET_Example\chap\App_Code\AccountEvent.cs

     文件        401  2008-09-02 11:02  WebProgram_Asp.NET_Example\chap\App_Code\ClassDiagram.cd

     文件        336  2008-12-11 21:36  WebProgram_Asp.NET_Example\chap\App_Code\EnterpriseAccount.cs

     文件       5519  2009-03-30 22:13  WebProgram_Asp.NET_Example\chap\App_Code\MyPetShop.dbml

     文件       3927  2009-03-30 22:13  WebProgram_Asp.NET_Example\chap\App_Code\MyPetShop.dbml.layout

     文件      30921  2009-03-30 22:13  WebProgram_Asp.NET_Example\chap\App_Code\MyPetShop.designer.cs

     文件   10485760  2009-04-03 09:34  WebProgram_Asp.NET_Example\chap\App_Data\ASPNETDB.MDF

     文件     516096  2009-04-03 09:34  WebProgram_Asp.NET_Example\chap\App_Data\aspnetdb_log.ldf

     文件    1835008  2009-04-01 22:27  WebProgram_Asp.NET_Example\chap\App_Data\MyPetShop.mdf

     文件     516096  2009-04-01 22:27  WebProgram_Asp.NET_Example\chap\App_Data\MyPetShop_Log.LDF

     文件        775  2009-04-01 15:01  WebProgram_Asp.NET_Example\chap\App_WebReferences\AspServer\OverloadService.disco

     文件        620  2009-04-01 15:01  WebProgram_Asp.NET_Example\chap\App_WebReferences\AspServer\OverloadService.discomap

     文件       4683  2009-04-01 15:01  WebProgram_Asp.NET_Example\chap\App_WebReferences\AspServer\OverloadService.wsdl

     文件        727  2009-01-09 11:40  WebProgram_Asp.NET_Example\chap\App_WebReferences\AspServer\Service.disco

     文件        588  2009-01-09 11:40  WebProgram_Asp.NET_Example\chap\App_WebReferences\AspServer\Service.discomap

     文件       2827  2009-01-09 11:40  WebProgram_Asp.NET_Example\chap\App_WebReferences\AspServer\Service.wsdl

     文件        373  2009-04-01 15:10  WebProgram_Asp.NET_Example\chap\App_WebReferences\WcfServer\Cal.disco

     文件      13499  2009-04-01 15:10  WebProgram_Asp.NET_Example\chap\App_WebReferences\WcfServer\Cal.wsdl

     文件       1151  2009-04-01 15:10  WebProgram_Asp.NET_Example\chap\App_WebReferences\WcfServer\Cal.xsd

     文件       2398  2009-04-01 15:10  WebProgram_Asp.NET_Example\chap\App_WebReferences\WcfServer\Cal1.xsd

     文件       2366  2009-04-01 15:10  WebProgram_Asp.NET_Example\chap\App_WebReferences\WcfServer\configuration.svcinfo

............此处省略727个文件信息

评论

共有 条评论

相关资源