Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access classes in another assembly
Message
General information
Forum:
ASP.NET
Category:
Windows Communication Foundation (WCF)
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01596007
Message ID:
01596014
Views:
49
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform