中型公司的基本框架服务有哪些?
我为一家中型制造公司创建 .NET 应用程序。我想创建一些可供我的大多数应用程序使用的“框架”Web 服务。
您发现哪些 Web 服务对于在这样的环境中重用非常有用?
更新:应用程序将执行从与外部客户的电子商务到标签到运输、库存和报告的所有操作。
I create .NET applications for a mid-sized manufacturing company. I would like to create a number of "framework" web services that can be employed by most of my applications.
What web services have you found to be useful for reuse within such an environment?
UPDATE: applications will do everything from e-commerce with external customers to labeling to shipping, inventory and reporting.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我永远不会创建框架 Web 服务或一般框架 (*)。这导致生成代码是因为它看起来属于框架,而不是因为代码有用。
我的解决方案是继续编写应用程序代码(您认为将使用框架的代码),然后只有当您发现代码确实在多个地方使用时才重构为框架库和服务。这样你就不会浪费时间编写永远不会被使用的漂亮的库代码。
(*) 从来没有,自从我真正确实编写了这样的框架代码以来,并且花了很多时间来做这件事,以至于调用框架的代码从未完成。从那以后就没有了。
I would never create framework web services, or frameworks in general (*). That leads to producing code because it looks like it belongs in the framework, not because the code is useful.
My solution is to go ahead and write the application code (the code you believe would be using the frameworks), then refactor into framework libraries and services only once you find that the code really is used in more than one place. That way you don't waste your time writing beautiful library code that never gets used.
(*) Never, since the time I actually did write such framework code, and spent so much time doing it that the code meant to call the framework never got finished. Not since then.
记录。一个适当健壮的日志服务总是有用的。
Logging. A properly robust logging service is always useful.