91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 0.47M
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2021-02-24
  • 語言: C#
  • 標簽: 架構??REST??SOA??

資源簡介

它基于HTTP協議,是一種明確構建在客戶端/服務端體系結構上的一種風格。特征如下:
1、網絡上的資源都被抽象為資源,這些資源都具有唯一的統一資源標識符
(URI:Uniform Resource Identiter),這些資源都是自我們描述的。這些資源使用HTTP內容標頭類型指定。如:XML、JSON、HTML、PNG等。
2、服務的使用者通過HTTP協議的標準動作(Get、Put、Post、Delete)通過統一的接口對資源進行操作。
3、對資源進行的操作不會改變它的URI。
4、客戶端、服務端之間的交互是沒有狀態的。由于這種無狀態行,服務端不需要為每個客戶端維護Context

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.IO;
using?System.Net;
using?System.ServiceModel;
using?SOAContracts;

namespace?ClientConsole
{
class?Program
{
static?void?Main()
{
Console.WriteLine(“調用SOA?服務....“);
InvoleSOAService();
Console.WriteLine();
Console.WriteLine(“調用REST服務....“);
InvokeRESTService();
Console.ReadLine();
}

static??void?InvoleSOAService()
{
using?(ChannelFactory?factory?=?new?ChannelFactory(“SOAService“))
{
????????????????try
????????????????{
????????????????????ILog?log?=?factory.CreateChannel();
????????????????????List?listAll?=?log.GetAll();
????????????????????Console.WriteLine(string.Format(“SOA?Service中?GetAll?方法獲取到日志記錄有{0}條“?listAll.Count));
????????????????????Console.WriteLine();
????????????????????const?string?year?=?“2011“;
????????????????????const?string?month?=?“10“;
????????????????????List?list?=?log.GetMonthLog(year?month)

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????83410??2019-05-07?15:31??WCFstyle\.vs\config\applicationhost.config

????..A..H.????153088??2019-05-07?16:32??WCFstyle\.vs\WCFstyle\v15\.suo

?????文件??????????0??2019-05-07?15:17??WCFstyle\.vs\WCFstyle\v15\Server\sqlite3\db.lock

?????文件???????4096??2019-05-07?15:17??WCFstyle\.vs\WCFstyle\v15\Server\sqlite3\storage.ide

?????文件??????32768??2019-05-07?15:30??WCFstyle\.vs\WCFstyle\v15\Server\sqlite3\storage.ide-shm

?????文件????3922272??2019-05-07?16:32??WCFstyle\.vs\WCFstyle\v15\Server\sqlite3\storage.ide-wal

?????文件????????376??2019-05-07?15:32??WCFstyle\ClientConsole\App.config

?????文件???????6656??2019-05-07?16:20??WCFstyle\ClientConsole\bin\Debug\ClientConsole.exe

?????文件????????376??2019-05-07?15:32??WCFstyle\ClientConsole\bin\Debug\ClientConsole.exe.config

?????文件??????13824??2019-05-07?16:20??WCFstyle\ClientConsole\bin\Debug\ClientConsole.pdb

?????文件??????14328??2011-10-27?17:09??WCFstyle\ClientConsole\bin\Debug\ClientConsole.vshost.exe

?????文件????????292??2011-10-27?16:33??WCFstyle\ClientConsole\bin\Debug\ClientConsole.vshost.exe.config

?????文件????????490??2007-07-21?01:33??WCFstyle\ClientConsole\bin\Debug\ClientConsole.vshost.exe.manifest

?????文件???????5632??2019-05-07?16:12??WCFstyle\ClientConsole\bin\Debug\SOAContracts.dll

?????文件??????11776??2019-05-07?16:12??WCFstyle\ClientConsole\bin\Debug\SOAContracts.pdb

?????文件???????3274??2019-05-07?15:32??WCFstyle\ClientConsole\ClientConsole.csproj

?????文件??????????0??2019-05-07?16:20??WCFstyle\ClientConsole\obj\Debug\ClientConsole.csproj.CopyComplete

?????文件?????????42??2019-05-07?16:20??WCFstyle\ClientConsole\obj\Debug\ClientConsole.csproj.CoreCompileInputs.cache

?????文件???????2080??2019-05-07?16:20??WCFstyle\ClientConsole\obj\Debug\ClientConsole.csproj.FileListAbsolute.txt

?????文件??????26966??2019-05-07?16:20??WCFstyle\ClientConsole\obj\Debug\ClientConsole.csprojAssemblyReference.cache

?????文件???????6656??2019-05-07?16:20??WCFstyle\ClientConsole\obj\Debug\ClientConsole.exe

?????文件??????13824??2019-05-07?16:20??WCFstyle\ClientConsole\obj\Debug\ClientConsole.pdb

?????文件???????6638??2019-05-07?15:41??WCFstyle\ClientConsole\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件??????????0??2019-05-07?15:32??WCFstyle\ClientConsole\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

?????文件??????????0??2019-05-07?15:32??WCFstyle\ClientConsole\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

?????文件??????????0??2019-05-07?15:32??WCFstyle\ClientConsole\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

?????文件???????2066??2019-05-07?16:21??WCFstyle\ClientConsole\Program.cs

?????文件???????1370??2011-10-27?16:01??WCFstyle\ClientConsole\Properties\AssemblyInfo.cs

?????文件???????5632??2019-05-07?16:12??WCFstyle\RESTContracts\bin\Debug\RESTContracts.dll

?????文件??????11776??2019-05-07?16:12??WCFstyle\RESTContracts\bin\Debug\RESTContracts.pdb

............此處省略172個文件信息

評論

共有 條評論