Answered WCF Routes using WebAPI

  • terça-feira, 6 de março de 2012 06:39
     
      Contém Código

    Is is possible to create a WCF Data Service using the pattern used by MapHttpRoute, something as follows:

    routes.MapHttpRoute(
              name: "Account",
              routeTemplate: "Case/{accountname}",
              defaults: new DataServiceHostFactory()
          );
    where on CreatDataSource - I could get the value of "accountname" to determine some bussiness logic?

    Haroon


    • Editado Haroon Said terça-feira, 6 de março de 2012 06:41
    •  

Todas as Respostas