是否有任何 WCF 配置工具可以使工作变得更轻松
是否有任何工具不仅需要对每个配置选项和细微差别有深入而深入的了解,而且只需最少的输入即可设置应用程序。 类似于向导,根据这些简单的输入生成 XML 配置。 我不关心安全性,我只需要服务正常工作。 理想情况下,该工具也能够设置 IIS6,或者至少使用一组给定的选项,它会生成我需要在 IIS 中完成的步骤列表。
Microsoft 服务配置编辑器并不比直接编辑 XMl 更好。 我确实找到了一个具有正确想法的网站,但它无法解决我的简单安装问题。 (http://www.noemax.com/support/wcf_binding_configuration_wizard.html)。
有没有什么东西可以让一些约定在这座堆积如山的配置中发挥作用?
Are there any tools that go beyond requiring deep and intimate knowledge of every configuration option and nuance and will just setup an application with a minimum of inputs. Something like a wizard that produces the XML configuration based on those simple inputs. I don't care about security I just need the service to work. Ideally the tool would be able to setup IIS6 as well or at least with a given set of options it would produce a list of steps I needed to complete in IIS.
The Microsoft Service Configuration Editor is no better than direct editing of the XMl. I did find a web site that has the right idea but it wasn't able to solve my simple installation. (http://www.noemax.com/support/wcf_binding_configuration_wizard.html).
Is there anything out there that puts some convention into play over this mountain of configuration?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
WCF 配置乍一看确实非常令人畏惧! 我喜欢您链接到的配置向导 - 为什么它对您来说不够好?
我现在不知道有什么工具可以解决您的问题并帮助您找出正确的配置 - 恐怕这实际上可以归结为学习诀窍并了解其来龙去脉。
基本上,我学到的是:甚至不要开始想象你可以做的所有事情 - 尝试专注于你应该做什么(以及你需要什么) )。
实际上,它可以归结为优秀书籍“Programming WCF” 作者:Juval Lowy:
基本上,选择您需要的一个,然后从那里您就可以确定要做什么以及如何做。 我绝对推荐您阅读 Juval 的书 - 非常好的资源!
所以问题是:您的应用程序适合哪个类别? 基于此,您几乎可以从那里确定所需的一切。
另外,我观看了两个截屏视频,它们确实帮助我克服了 WCF 中的大量配置选项,并专注于真正重要的内容:
两者都让我很好地了解什么配置是真正需要的 - 以及什么只是无用的配置。
希望对一些人有所帮助!
马克
WCF configuration can look very daunting at first, indeed! I like that configuration wizard you linked to - why wasn't it good enough for you?
I don't know of any tool right now, that would solve your problem and help you figure out the proper configuration - it really boils down to learning the ropes and getting to know the ins and outs of it, I'm afraid.
Basically, what I've learned is : don't even start to imagine all the things you could do - try to focus on what you should do (and what you need).
Really, it boils down to about five scenarios as outlined in the excellent book "Programming WCF" by Juval Lowy:
Basically, pick the one you need, and from there, you're pretty much set as to what to do and how to do it. I would definitely recommend checking out Juval's book - excellent excellent resource!
So the question is: which category does your app fit in? Based on that, you can pretty much determine all that's needed from there.
Also, I watched two screencasts that really helped me get over the heaps of configuration options in WCF, and focus on what's really important:
Both gave me a good feel for what configuration is really needed - and what is just fluff.
Hope that helps some!
Marc