首页

REST与SOA两种架构

c#

2020-12-8

它基于HTTP协议,是一种明确构建在客户端/服务端体系结构上的一种风格。特征如下:
1、网络上的资源都被抽象为资源,这些资源都具有唯一的统一资源标识符
(URI:Uniform Resource Identiter),这些资源都是自我们描述的。这些资源使用HTTP内容标头类型指定。如:XML、JSON、HTML、PNG等。
2、服务的使用者通过HTTP协议的标准动作(Get、Put、Post、Delete)通过统一的接口对资源进行操作。
3、对资源进行的操作不会改变它的URI。
4、客户端、服务端之间的交互是没有状态的。由于这种无状态行,服务端不需要为每个客户端维护Context

资源下载此资源下载价格为2D币(VIP免费),请先
资源文件列表
WCFStyle/.vs/config/applicationhost.config , 83410
WCFStyle/.vs/WCFStyle/v15/.suo , 153088
WCFStyle/.vs/WCFStyle/v15/Server/sqlite3/db.lock , 0
WCFStyle/.vs/WCFStyle/v15/Server/sqlite3/storage.ide , 4096
WCFStyle/.vs/WCFStyle/v15/Server/sqlite3/storage.ide-shm , 32768
WCFStyle/.vs/WCFStyle/v15/Server/sqlite3/storage.ide-wal , 3922272
WCFStyle/ClientConsole/App.config , 376
WCFStyle/ClientConsole/bin/Debug/ClientConsole.exe , 6656
WCFStyle/ClientConsole/bin/Debug/ClientConsole.exe.config , 376
WCFStyle/ClientConsole/bin/Debug/ClientConsole.pdb , 13824
WCFStyle/ClientConsole/bin/Debug/ClientConsole.vshost.exe , 14328
WCFStyle/ClientConsole/bin/Debug/ClientConsole.vshost.exe.config , 292
WCFStyle/ClientConsole/bin/Debug/ClientConsole.vshost.exe.manifest , 490
WCFStyle/ClientConsole/bin/Debug/SOAContracts.dll , 5632
WCFStyle/ClientConsole/bin/Debug/SOAContracts.pdb , 11776
WCFStyle/ClientConsole/ClientConsole.csproj , 3274
WCFStyle/ClientConsole/obj/Debug/ClientConsole.csproj.CopyComplete , 0
WCFStyle/ClientConsole/obj/Debug/ClientConsole.csproj.CoreCompileInputs.cache , 42
WCFStyle/ClientConsole/obj/Debug/ClientConsole.csproj.FileListAbsolute.txt , 2080
WCFStyle/ClientConsole/obj/Debug/ClientConsole.csprojAssemblyReference.cache , 26966
WCFStyle/ClientConsole/obj/Debug/ClientConsole.exe , 6656
WCFStyle/ClientConsole/obj/Debug/ClientConsole.pdb , 13824
WCFStyle/ClientConsole/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache , 6638
WCFStyle/ClientConsole/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs , 0
WCFStyle/ClientConsole/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs , 0
WCFStyle/ClientConsole/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs , 0
WCFStyle/ClientConsole/Program.cs , 2066
WCFStyle/ClientConsole/Properties/AssemblyInfo.cs , 1370
WCFStyle/RESTContracts/bin/Debug/RESTContracts.dll , 5632
WCFStyle/RESTContracts/bin/Debug/RESTContracts.pdb , 11776
WCFStyle/RESTContracts/ILog.cs , 455
WCFStyle/RESTContracts/LogEntity.cs , 357
WCFStyle/RESTContracts/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache , 6768
WCFStyle/RESTContracts/obj/Debug/RESTContracts.csproj.CoreCompileInputs.cache , 42
WCFStyle/RESTContracts/obj/Debug/RESTContracts.csproj.FileListAbsolute.txt , 650
WCFStyle/RESTContracts/obj/Debug/RESTContracts.dll , 5632
WCFStyle/RESTContracts/obj/Debug/RESTContracts.pdb , 11776
WCFStyle/RESTContracts/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs , 0
WCFStyle/RESTContracts/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs , 0
WCFStyle/RESTContracts/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs , 0
WCFStyle/RESTContracts/Properties/AssemblyInfo.cs , 1370
WCFStyle/RESTContracts/RESTContracts.csproj , 3195
WCFStyle/RESTServices/bin/Debug/RESTContracts.dll , 5632
WCFStyle/RESTServices/bin/Debug/RESTContracts.pdb , 11776
WCFStyle/RESTServices/bin/Debug/RESTServices.dll , 5632
WCFStyle/RESTServices/bin/Debug/RESTServices.pdb , 13824
WCFStyle/RESTServices/LogServices.cs , 1495
WCFStyle/RESTServices/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache , 6480
WCFStyle/RESTServices/obj/Debug/ResolveAssemblyReference.cache , 4462
WCFStyle/RESTServices/obj/Debug/RESTServices.csproj.CopyComplete , 0
WCFStyle/RESTServices/obj/Debug/RESTServices.csproj.CoreCompileInputs.cache , 42
WCFStyle/RESTServices/obj/Debug/RESTServices.csproj.FileListAbsolute.txt , 1027
WCFStyle/RESTServices/obj/Debug/RESTServices.csprojAssemblyReference.cache , 6496
WCFStyle/RESTServices/obj/Debug/RESTServices.dll , 5632
WCFStyle/RESTServices/obj/Debug/RESTServices.pdb , 13824
WCFStyle/RESTServices/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs , 0
WCFStyle/RESTServices/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs , 0
WCFStyle/RESTServices/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs , 0
WCFStyle/RESTServices/Properties/AssemblyInfo.cs , 1368
WCFStyle/RESTServices/RESTServices.csproj , 3008
WCFStyle/RESTServiceWeb/bin/RESTContracts.dll , 5632
WCFStyle/RESTServiceWeb/bin/RESTContracts.pdb , 11776
WCFStyle/RESTServiceWeb/bin/RESTServices.dll , 5632
WCFStyle/RESTServiceWeb/bin/RESTServices.pdb , 13824
WCFStyle/RESTServiceWeb/bin/RESTServiceWeb.dll , 4608
WCFStyle/RESTServiceWeb/bin/RESTServiceWeb.dll.config , 1715
WCFStyle/RESTServiceWeb/bin/RESTServiceWeb.pdb , 11776
WCFStyle/RESTServiceWeb/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache , 7996
WCFStyle/RESTServiceWeb/obj/Debug/ResolveAssemblyReference.cache , 6164
WCFStyle/RESTServiceWeb/obj/Debug/RESTServiceWeb.csproj.CopyComplete , 0
WCFStyle/RESTServiceWeb/obj/Debug/RESTServiceWeb.csproj.CoreCompileInputs.cache , 42
WCFStyle/RESTServiceWeb/obj/Debug/RESTServiceWeb.csproj.FileListAbsolute.txt , 2495
WCFStyle/RESTServiceWeb/obj/Debug/RESTServiceWeb.csprojAssemblyReference.cache , 10153
WCFStyle/RESTServiceWeb/obj/Debug/RESTServiceWeb.dll , 4608
WCFStyle/RESTServiceWeb/obj/Debug/RESTServiceWeb.pdb , 11776
WCFStyle/RESTServiceWeb/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs , 0
WCFStyle/RESTServiceWeb/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs , 0
WCFStyle/RESTServiceWeb/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs , 0
WCFStyle/RESTServiceWeb/Properties/AssemblyInfo.cs , 1327
WCFStyle/RESTServiceWeb/RESTService.svc , 122
WCFStyle/RESTServiceWeb/RESTService.svc.cs , 442
WCFStyle/RESTServiceWeb/RESTServiceWeb.csproj , 5753
WCFStyle/RESTServiceWeb/RESTServiceWeb.csproj.user , 1491
WCFStyle/RESTServiceWeb/Web.config , 1715
WCFStyle/SOAContracts/bin/Debug/SOAContracts.dll , 5632
WCFStyle/SOAContracts/bin/Debug/SOAContracts.pdb , 11776
WCFStyle/SOAContracts/ILog.cs , 292
WCFStyle/SOAContracts/LogEntity.cs , 356
WCFStyle/SOAContracts/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache , 6650
WCFStyle/SOAContracts/obj/Debug/SOAContracts.csproj.CoreCompileInputs.cache , 42
WCFStyle/SOAContracts/obj/Debug/SOAContracts.csproj.FileListAbsolute.txt , 631
WCFStyle/SOAContracts/obj/Debug/SOAContracts.dll , 5632
WCFStyle/SOAContracts/obj/Debug/SOAContracts.pdb , 11776
WCFStyle/SOAContracts/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs , 0
WCFStyle/SOAContracts/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs , 0
WCFStyle/SOAContracts/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs , 0
WCFStyle/SOAContracts/Properties/AssemblyInfo.cs , 1368
WCFStyle/SOAContracts/SOAContracts.csproj , 3062
WCFStyle/SOAHost/App.config , 724
WCFStyle/SOAHost/bin/Debug/SOAContracts.dll , 5632
WCFStyle/SOAHost/bin/Debug/SOAContracts.pdb , 11776
WCFStyle/SOAHost/bin/Debug/SOAHost.exe , 5120
WCFStyle/SOAHost/bin/Debug/SOAHost.exe.config , 724
WCFStyle/SOAHost/bin/Debug/SOAHost.pdb , 11776
WCFStyle/SOAHost/bin/Debug/SOAHost.vshost.exe , 14328
WCFStyle/SOAHost/bin/Debug/SOAHost.vshost.exe.config , 640
WCFStyle/SOAHost/bin/Debug/SOAHost.vshost.exe.manifest , 490
WCFStyle/SOAHost/bin/Debug/SOASerivces.dll , 5632
WCFStyle/SOAHost/bin/Debug/SOASerivces.pdb , 13824
WCFStyle/SOAHost/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache , 6800
WCFStyle/SOAHost/obj/Debug/ResolveAssemblyReference.cache , 5508
WCFStyle/SOAHost/obj/Debug/SOAHost.csproj.CopyComplete , 0
WCFStyle/SOAHost/obj/Debug/SOAHost.csproj.CoreCompileInputs.cache , 42
WCFStyle/SOAHost/obj/Debug/SOAHost.csproj.FileListAbsolute.txt , 2290
WCFStyle/SOAHost/obj/Debug/SOAHost.csprojAssemblyReference.cache , 8208
WCFStyle/SOAHost/obj/Debug/SOAHost.exe , 5120
WCFStyle/SOAHost/obj/Debug/SOAHost.pdb , 11776
WCFStyle/SOAHost/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs , 0
WCFStyle/SOAHost/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs , 0
WCFStyle/SOAHost/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs , 0
WCFStyle/SOAHost/Program.cs , 371
WCFStyle/SOAHost/Properties/AssemblyInfo.cs , 1358
WCFStyle/SOAHost/SOAHost.csproj , 3552
WCFStyle/SOASerivces/bin/Debug/SOAContracts.dll , 5632
WCFStyle/SOASerivces/bin/Debug/SOAContracts.pdb , 11776
WCFStyle/SOASerivces/bin/Debug/SOASerivces.dll , 5632
WCFStyle/SOASerivces/bin/Debug/SOASerivces.pdb , 13824
WCFStyle/SOASerivces/LogServices.cs , 1494
WCFStyle/SOASerivces/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache , 6709
WCFStyle/SOASerivces/obj/Debug/SOASerivces.csproj.CopyComplete , 0
WCFStyle/SOASerivces/obj/Debug/SOASerivces.csproj.CoreCompileInputs.cache , 42
WCFStyle/SOASerivces/obj/Debug/SOASerivces.csproj.FileListAbsolute.txt , 996
WCFStyle/SOASerivces/obj/Debug/SOASerivces.csprojAssemblyReference.cache , 6370
WCFStyle/SOASerivces/obj/Debug/SOASerivces.dll , 5632
WCFStyle/SOASerivces/obj/Debug/SOASerivces.pdb , 13824
WCFStyle/SOASerivces/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs , 0
WCFStyle/SOASerivces/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs , 0
WCFStyle/SOASerivces/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs , 0
WCFStyle/SOASerivces/Properties/AssemblyInfo.cs , 1366
WCFStyle/SOASerivces/SOASerivces.csproj , 3266
WCFStyle/WCFStyle.sln , 4873
WCFStyle/WCFStyle.suo , 51712
没有账号? 忘记密码?

社交账号快速登录