• 大小: 0.05M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: WCF  验证  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.xml.Linq;

namespace ClientWeb
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender EventArgs e)
        {

        }

        protected void btnPrint_Click(object sender EventArgs e)
        {
            TestWCFService.MySimpleServiceClient client = new ClientWeb.TestWCFService.MySimpleServiceClient();
            client.ClientCredentials.UserName.UserName = “xiaozhuang“;
            client.ClientCredentials.UserNam

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

     文件       7168  2008-04-30 11:19  WCFUserNameAuthentication\ClientWeb\bin\ClientWeb.dll

     文件      17920  2008-04-30 11:19  WCFUserNameAuthentication\ClientWeb\bin\ClientWeb.pdb

     文件       5650  2008-04-28 17:22  WCFUserNameAuthentication\ClientWeb\ClientWeb.csproj

     文件       1279  2008-04-28 17:22  WCFUserNameAuthentication\ClientWeb\ClientWeb.csproj.user

     文件        937  2008-04-30 11:09  WCFUserNameAuthentication\ClientWeb\CustomX509Validator\Myx509Validator.cs

     文件        685  2008-04-28 17:14  WCFUserNameAuthentication\ClientWeb\Default.aspx

     文件        916  2008-04-28 17:14  WCFUserNameAuthentication\ClientWeb\Default.aspx.cs

     文件       1879  2008-04-28 17:11  WCFUserNameAuthentication\ClientWeb\Default.aspx.designer.cs

     文件        375  2008-04-28 11:56  WCFUserNameAuthentication\ClientWeb\obj\Debug\ClientWeb.csproj.FileListAbsolute.txt

     文件       7168  2008-04-30 11:19  WCFUserNameAuthentication\ClientWeb\obj\Debug\ClientWeb.dll

     文件      17920  2008-04-30 11:19  WCFUserNameAuthentication\ClientWeb\obj\Debug\ClientWeb.pdb

     文件       4608  2008-04-28 12:01  WCFUserNameAuthentication\ClientWeb\obj\Debug\TempPE\Service References.TestWCFService.Reference.cs.dll

     文件       1316  2008-04-28 11:13  WCFUserNameAuthentication\ClientWeb\Properties\AssemblyInfo.cs

     文件       2521  2008-04-28 12:01  WCFUserNameAuthentication\ClientWeb\Service References\TestWCFService\configuration.svcinfo

     文件      19521  2008-04-28 12:01  WCFUserNameAuthentication\ClientWeb\Service References\TestWCFService\configuration91.svcinfo

     文件        393  2008-04-28 12:01  WCFUserNameAuthentication\ClientWeb\Service References\TestWCFService\MySimpleService.disco

     文件      11344  2008-04-28 12:01  WCFUserNameAuthentication\ClientWeb\Service References\TestWCFService\MySimpleService.wsdl

     文件       2398  2008-04-28 12:01  WCFUserNameAuthentication\ClientWeb\Service References\TestWCFService\MySimpleService.xsd

     文件        683  2008-04-28 12:01  WCFUserNameAuthentication\ClientWeb\Service References\TestWCFService\MySimpleService1.xsd

     文件       2466  2008-04-28 12:01  WCFUserNameAuthentication\ClientWeb\Service References\TestWCFService\Reference.cs

     文件       2124  2008-04-28 12:01  WCFUserNameAuthentication\ClientWeb\Service References\TestWCFService\Reference.svcmap

     文件       9179  2008-04-30 11:01  WCFUserNameAuthentication\ClientWeb\Web.config

     文件       5120  2008-04-28 12:01  WCFUserNameAuthentication\ServerWcfService\bin\ServerWcfService.dll

     文件      13824  2008-04-28 12:01  WCFUserNameAuthentication\ServerWcfService\bin\ServerWcfService.pdb

     文件       1191  2008-04-28 11:50  WCFUserNameAuthentication\ServerWcfService\CustomValidators\CustomUserNameValidator.cs

     文件        438  2008-04-28 11:28  WCFUserNameAuthentication\ServerWcfService\obj\Debug\ServerWcfService.csproj.FileListAbsolute.txt

     文件       5120  2008-04-28 12:01  WCFUserNameAuthentication\ServerWcfService\obj\Debug\ServerWcfService.dll

     文件      13824  2008-04-28 12:01  WCFUserNameAuthentication\ServerWcfService\obj\Debug\ServerWcfService.pdb

     文件       1368  2008-04-28 11:14  WCFUserNameAuthentication\ServerWcfService\Properties\AssemblyInfo.cs

     文件       4384  2008-04-28 11:28  WCFUserNameAuthentication\ServerWcfService\ServerWcfService.csproj

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

评论

共有 条评论