2
web.config에서 끝점을 정의하고 다음과 같이 global.asax (서비스에 대해)에 경로를 등록하는 것의 차이점은 무엇입니까?web.config 끝점 정의와 global.asax 경로 등록 사이의 차이점은 무엇입니까?
protected void Application_Start(object sender, EventArgs e)
{
RouteTable.Routes.Add(
new ServiceRoute(
"",
new WebServiceHostFactory(),
typeof(PersonService)
)
);
}