• 大小: 8.08M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: C#  服务  REST  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Security.Cryptography.X509Certificates;

namespace CallWcfRest
{
    public class UserInfo
    {
        public string userName { get; set; }
        public string userPassword { get; set; }
    }
    class Program
    {
        static void Main(string[] args)
        {
            //客户端证书的处理
            X509Certificate2 cert = GetX509Certificate();
            string dataUrl = Properties.Settings.Default[“DataUrl“].ToString();
            string loginUrl = Properties.Settings.Default[“LoginUrl“].ToString();
            bool isAnoymous = true;
            Console.WriteLine(“请输入用户名:“

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

     文件       1020  2012-07-18 14:00  WcfRestService5\WcfRestService5\CallWcfRest\app.config

     文件       9728  2012-07-18 14:45  WcfRestService5\WcfRestService5\CallWcfRest\bin\Debug\CallWcfRest.exe

     文件       1020  2012-07-18 14:00  WcfRestService5\WcfRestService5\CallWcfRest\bin\Debug\CallWcfRest.exe.config

     文件      17920  2012-07-18 14:45  WcfRestService5\WcfRestService5\CallWcfRest\bin\Debug\CallWcfRest.pdb

     文件      11600  2012-07-18 14:45  WcfRestService5\WcfRestService5\CallWcfRest\bin\Debug\CallWcfRest.vshost.exe

     文件       1020  2012-07-18 14:00  WcfRestService5\WcfRestService5\CallWcfRest\bin\Debug\CallWcfRest.vshost.exe.config

     文件        490  2010-03-17 22:39  WcfRestService5\WcfRestService5\CallWcfRest\bin\Debug\CallWcfRest.vshost.exe.manifest

     文件     373760  2012-07-17 13:48  WcfRestService5\WcfRestService5\CallWcfRest\bin\Debug\Newtonsoft.Json.dll

     文件     418776  2012-07-17 13:48  WcfRestService5\WcfRestService5\CallWcfRest\bin\Debug\Newtonsoft.Json.xml

     文件       3102  2012-07-17 13:55  WcfRestService5\WcfRestService5\CallWcfRest\CallWcfRest.csproj

     文件       1306  2012-07-18 14:45  WcfRestService5\WcfRestService5\CallWcfRest\obj\x86\Debug\CallWcfRest.csproj.FileListAbsolute.txt

     文件       9728  2012-07-18 14:45  WcfRestService5\WcfRestService5\CallWcfRest\obj\x86\Debug\CallWcfRest.exe

     文件      17920  2012-07-18 14:45  WcfRestService5\WcfRestService5\CallWcfRest\obj\x86\Debug\CallWcfRest.pdb

     文件       6263  2012-07-18 14:45  WcfRestService5\WcfRestService5\CallWcfRest\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件      19130  2012-07-18 14:45  WcfRestService5\WcfRestService5\CallWcfRest\obj\x86\Debug\ResolveAssemblyReference.cache

     文件        118  2012-07-17 13:49  WcfRestService5\WcfRestService5\CallWcfRest\packages.config

     文件       3725  2012-07-18 14:23  WcfRestService5\WcfRestService5\CallWcfRest\Program.cs

     文件       1354  2012-07-17 11:56  WcfRestService5\WcfRestService5\CallWcfRest\Properties\AssemblyInfo.cs

     文件       2037  2012-07-17 12:38  WcfRestService5\WcfRestService5\CallWcfRest\Properties\Settings.Designer.cs

     文件        608  2012-07-17 12:38  WcfRestService5\WcfRestService5\CallWcfRest\Properties\Settings.settings

     文件      10240  2012-07-18 14:45  WcfRestService5\WcfRestService5\WcfRestService5\bin\WcfRestService5.dll

     文件      24064  2012-07-18 14:45  WcfRestService5\WcfRestService5\WcfRestService5\bin\WcfRestService5.pdb

     文件       2617  2012-07-18 14:13  WcfRestService5\WcfRestService5\WcfRestService5\DataService.cs

     文件       3905  2012-07-18 13:42  WcfRestService5\WcfRestService5\WcfRestService5\FileService.cs

     文件         94  2012-07-17 09:14  WcfRestService5\WcfRestService5\WcfRestService5\Global.asax

     文件        821  2012-07-18 09:12  WcfRestService5\WcfRestService5\WcfRestService5\Global.asax.cs

     文件    4341879  2012-07-18 13:31  WcfRestService5\WcfRestService5\WcfRestService5\images\angel.jpg

     文件       1631  2012-07-18 13:29  WcfRestService5\WcfRestService5\WcfRestService5\LoginService.cs

    .......      2125  2012-07-18 14:14  WcfRestService5\WcfRestService5\WcfRestService5\obj\Debug\CSAutoParameterize\original\Web.config

     文件       2125  2012-07-18 14:14  WcfRestService5\WcfRestService5\WcfRestService5\obj\Debug\CSAutoParameterize\transformed\Web.config

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

评论

共有 条评论