Is WSSF smart to use WCF today at a new level of service?

I am at the client where I have successfully developed and deployed the WCF service level (compiled against .NET 4.5). It works great and everything is dandy.

However, we have an additional requirement - I have to rebuild (or at least redesign) the layer to enable WSSF. There are no old functions that we need to integrate with all operations in services, based on the implementation of SP in the database.

Should I do this or is it wiser to argue with him? I’m not sure, because I never worked with WSSF, and I had almost no explanation why we should be at this particular workplace (maybe they don’t want us to know, and also just don’t know on their own) .

My concerns are based, but not limited to:

  • The latest version is from August 2010.
  • Nothing is indicated in the section.
  • The license seems to be contrary to commercial activity.
  • WSSF is not widely used today as a technology (or is it ?!).
  • The purpose of WSSF is only in the old WCF-fy service layer (or not only!).

Especially # 4 and # 5 are not the strongest statements in my arsenal at the moment, so I will be happy to correct myself if anyone has a few wise words to contribute to this topic.

+4
source share
2 answers

The story that he does not look very good. From MSDN: Factory 2010 Web Service :

Factory Web Services software is now community supported and can be found on the Factory Service website. This content has been deprecated and is no longer supported. It is provided as a courtesy for those who still use these technologies. This page may contain URLs that were valid upon initial publication, but now link to sites or pages that no longer exist. Senior Citizen: November 2011

1) So, it looks like it is completely community driven. However, looking at the discussion forum, there are not many posts, and many of them have no answers.

2) I find it quite common that the documentation tab is not populated in codeplex, but often there is documentation, but not the documentation tab.

3) Regarding licensing, Ms-PL is quite permissive, so I don’t think that there will be any problems.

4) Do not belittle him, but I do not think he was / very popular. Definitely not standard.

5) The purpose of the Factory service was to provide guidance β€” both written and code-based. See Factory Web Services for a discussion.

+1
source

WSSF was a tool that included best practices for creating WCF services. It has been many years since I used it, but basically I remember the wizard who asked several (actually a lot) questions about the service (contract), data (model), etc. What it will produce is a well-organized solution with several projects with correct naming conventions, detailed declarations, such as adding IsOneWay = true / false to [OperationBehavior] or IsRequired = true / false, Order = n, etc. . in [DataContract]. In other words, he generated a very verbose code that most of us dump until we need it.

He did more, although, for example, he structured your decision to have service contracts in one project, data transfer contracts in another, and implementation in another. He created test projects (I think). So, a very granular solution layout. I remember that the simplest of the services would lead to 6-7 projects in the solution. At first it was a little intimidating until you slipped the code that it generated.

Another interesting feature that he (at the time when many asked) is the way to make the first contract. Given the existing metadata of web services, you can create a new service solution.

In any case, as soon as it was completed, you just had to substantially ensure the implementation of the methods. Personally, I never took it to develop services. But at that time, I appreciated this and often turned to him customers who were new to the development of services, because I knew that this would lead them to the right start.

Comment on your concerns though ...

  • This is correct, and he does not have the resources to update it.
  • In fact, there is quite a bit of documentation. Just go to the "Home" tab and you will see links to it.
  • Not sure about that. The code that it generates belongs to you. You still have to compile it, and you will need to keep going forward. No different from any other code generation tool (as far as I know).
  • No, it is not. Also consider the time it was developed, the .NET Framework 2 - 3.x. Since then, much has been added to WCF. There were also some new recommendations for the development of services. If you use some of the new features added in the .NET Framework 3.5SP and later (which you probably are), then this is definitely not what I would recommend.
  • Again, this was one of the nice features (first contract development). But that was not the main idea. It was a tool to create the foundation for new services. In fact, the new service was the original motivation of the tool, as I recall. After you took the time to go through the dialogs, you had a really good solution to get started.
+1
source

Source: https://habr.com/ru/post/1497925/


All Articles