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

@@ -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 + "!";
}
}
}