本文介绍了设计和工具建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 微软主持人提出这个问题,但请告诉我是否有更好的问题。  早安: 我正在寻找以下是在.Net中设计或设计项目的最佳方法。 我需要开发一组例程,这些例程既可以在计划任务下作为批处理运行,也可以由用户通过Web表单运行。 哪种工具最好(Visual Studio,MVC,WCF等)? 您可以指向我的任何好资源(网站,书籍等)?   这里是一些高级要求: - 我们使用.Net框架,将转到4 - VB .Net而不是C#) - Visual Studio 2010或其他开发环境 - 开发一批例程来运行(我怀疑这将是一个类) - 运行上面的批处理服务器上的预定任务 - 从Web表单运行上述任何例程(每个例程的按钮和进度指示器)   我刚刚发现了这个帖子一个类似的问题。答案#1似乎是一种很好的方法,但这是使用当前工具和技术的最佳方法。 再次感谢。 http: //stackoverflow.com/questions/3462371/automating-an-asp-net-web-form 解决方案 "一批例程"。 你究竟是什么意思? 和 需要什么样的互动,何时? 一些替代方案是: 1)一个解耦的Windows服务,它从MSMQ中读取条目并为每个条目进行处理。 将结果写入某个表或另一个队列。 2)WCF Web服务。 3)在服务器EG Sql服务器上运行的批处理作业SSIS。  A Microsoft moderator suggested this fourm, but please let me know if there is a better one. Good Morning:I am looking for the best approach to architecting or designing the project below in .Net.  I need to develop a set of routines that can either be run as a batch under a scheduled task OR by a user via a web form.  Which tool(s) are best (Visual Studio, MVC, WCF, etc.)?  Any good resources you can point me to (sites, books, etc.)? Here are some high level requirements:- We use the .Net framework and would go to 4- VB .Net as opposed to C#)- Visual Studio 2010 or other dev environment- Develop a batch of routines to run (I suspect this will be a class)- Run the above batch as scheduled task on a server- Run any routine above from a web form (a button for each routine and a progress indicator) I just found this post which poses a similar question. Answer #1 seems like a good approach, but is that the best approach using the current tools and technologies.Thanks again.http://stackoverflow.com/questions/3462371/automating-an-asp-net-web-form 解决方案 "batch of routines".What exactly do you mean?andWhat interaction is required, when?Some alternatives are:1) A decoupled windows service which reads entries off a MSMQ and does processing for each.  Writing results to some table or another queue.2) A WCF web service.3) Batch jobs running on a server EG Sql server and SSIS.  这篇关于设计和工具建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-03 22:33
查看更多