I want to ask you something. last year i worked company and 4 team working one Project. when they publish web service, Data contract dlls were being loading Shared Data. Now when i was published all data contract dlls is not load in shared data. i dont
remember exatly. when then copy shared dll's to MVC bin all dlls update automaticaly. I think when i publish my Data contract as shared data everything will be done. I'm sorry for not remembering what this team did. How can i configure web service for publish
data contract as Shared Data.
The only thing that could have been happening here is that a classlib project called SharedData was created and the datacontract classes were put into it so that objects could shared across projects.
thanks for your your reply. I search classlib Project SharedData keyword in Google and I find an article which is exlain detailing this subject. He is used Package Reference (NuGet) technique for share Class Library. The other methods is commonly
used technique. These methods are Project Reference and DLL Reference. (NuGet) technique is best for me because when i add my shared library by using (NuGet) technique Project is automatically recognised my shared dlls.
You can find this article in Google. Write "Creating your first shared library in .NET Core" keyword and search. Site name is devtrends and articles written by Paul Hiles.
thanks for your your reply. I search classlib Project SharedData keyword in Google and I find an article which is exlain detailing this subject. He is used Package Reference (NuGet) technique for share Class Library. The other methods is commonly
used technique. These methods are Project Reference and DLL Reference. (NuGet) technique is best for me because when i add my shared library by using (NuGet) technique Project is automatically recognised my shared dlls.
You can find this article in Google. Write "Creating your first shared library in .NET Core" keyword and search. Site name is devtrends and articles written by Paul Hiles.
I will try this technique on Monday.
I call the project Entities using DTO(s) as datacontracts following the DTO pattern.
Member
2 Points
9 Posts
Configure WCF to Publish DLL which is named Shared Data
Sep 30, 2017 12:01 PM|renegadecommendant|LINK
I want to ask you something. last year i worked company and 4 team working one Project. when they publish web service, Data contract dlls were being loading Shared Data. Now when i was published all data contract dlls is not load in shared data. i dont remember exatly. when then copy shared dll's to MVC bin all dlls update automaticaly. I think when i publish my Data contract as shared data everything will be done. I'm sorry for not remembering what this team did. How can i configure web service for publish data contract as Shared Data.
Participant
1161 Points
1236 Posts
Re: Configure WCF to Publish DLL which is named Shared Data
Sep 30, 2017 01:12 PM|DA924|LINK
The only thing that could have been happening here is that a classlib project called SharedData was created and the datacontract classes were put into it so that objects could shared across projects.
Member
2 Points
9 Posts
Re: Configure WCF to Publish DLL which is named Shared Data
Sep 30, 2017 03:47 PM|renegadecommendant|LINK
thanks for your your reply. I search classlib Project SharedData keyword in Google and I find an article which is exlain detailing this subject. He is used Package Reference (NuGet) technique for share Class Library. The other methods is commonly used technique. These methods are Project Reference and DLL Reference. (NuGet) technique is best for me because when i add my shared library by using (NuGet) technique Project is automatically recognised my shared dlls.
You can find this article in Google. Write "Creating your first shared library in .NET Core" keyword and search. Site name is devtrends and articles written by Paul Hiles.
I will try this technique on Monday.
Participant
1161 Points
1236 Posts
Re: Configure WCF to Publish DLL which is named Shared Data
Oct 01, 2017 12:24 PM|DA924|LINK
I call the project Entities using DTO(s) as datacontracts following the DTO pattern.
https://en.wikipedia.org/wiki/Data_transfer_object
https://www.codeproject.com/Articles/1050468/Data-Transfer-Object-Design-Pattern-in-Csharp