Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access classes in another assembly
Message
Information générale
Forum:
ASP.NET
Catégorie:
Windows Communication Foundation (WCF)
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01596007
Message ID:
01596014
Vues:
50
>Hi all, I have a WCF service which I'm using to retrieve data from a SQL database, the service uses classes which are in a separate assembly (my data access layer ), however in my client app which is an MVC app my controller methods need access to these classes as they are written to receive them as parameters ( for create edit etc...) how can I expose these classes in my service so that I don't need to reference the DAL assembly in my client ( which sort of defeats the object ), I hope this makes sense ?

If the service is in a Visual Studio project/solution, can't you just add a reference to the assembly?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform