Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
WCF Routes using WebAPI

已答复 WCF Routes using WebAPI

  • mardi 6 mars 2012 06:39
     
      A du code

    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


Toutes les réponses