This commit is contained in:
chi
2024-01-01 22:46:17 +09:00
parent 6e091f6218
commit 6a60c44489
20 changed files with 5815 additions and 547 deletions

View File

@@ -155,6 +155,7 @@
<Compile Include="fSFI.Designer.cs">
<DependentUpon>fSFI.cs</DependentUpon>
</Compile>
<Compile Include="IMyContract.cs" />
<Compile Include="ISO8601.cs" />
<Compile Include="keyValuedataTable.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace FCOMMON
{
[ServiceContract]
public interface IMyContract
{
[OperationContract]
string Hello(string name);
}
// 실제로 Client에서 호출될 함수
public class MyService : IMyContract
{
public string Hello(string name)
{
return "Hello " + name + "!";
}
}
}