ASP.NET / .net 新手问题 - Java Hotspot 等效吗?
是一名经验丰富的 java 开发人员,他开始学习 .net 方面的知识,并打算选择一个 asp.net 项目作为我的开始领域(这样我就可以与 grails、spring mvc 等进行比较)
我 我发现令人烦恼的是每次代码更改都必须重新启动我的网络服务器。在开发期间的 java 方面,我使用标准 JVM 热点来动态重新加载我的类。我们还购买了 JRebel http://www.zeroturnaround.com/jrebel/,它利用此功能更高的层面!
任何 .net 专家都可以告诉我是否存在与 java 热点等效的 JRebel 技术(尤其是 c#)?
谢谢
I'm an experienced java dev who is starting to learn the .net side of things, and was going to pick up a asp.net project as my area to begin(so I can compare to grails, spring mvc etc)
One thing I am finding v annoything is having to restart my web server for each code change. On the java side during development, I use standard JVM hotspot to reload my classes on the fly. We also bought JRebel http://www.zeroturnaround.com/jrebel/ which takes this capability to an even higher plane!
Can any .net guru tell me if there is an equivalent of java hotspot, JRebel technologies for .net (esp c#)?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我找到了; MS 的定义是“编辑并继续”
I found it; the MS definition is "edit and continue"
我应该指出,有两种类型的网络项目运行方式不同。
如果您使用“文件|新建项目”创建一个Web项目,然后选择Web类型,这是Web应用程序的“旧式”,它将把您的.vb或.cs文件中的所有代码编译成dll,将其放入bin 目录。
如果您使用“文件|新建网站”创建一个Web项目,这是较新的样式,并且不会创建dll,并且所有页面都是动态编译的。
如果您未处于调试模式,您只需在 Visual Studio 中进行更改,刷新页面,更改就会应用。
简单的问题...您是使用内置的测试 Web 服务器还是使用本地 IIS 实例进行开发。无论哪种情况,您都不需要重新启动 Web 服务器。一旦启动了开发服务器,您只需将浏览器指向正确的 URL 即可访问您的站点,而无需点击“播放按钮”(只有在您想要调试后端代码时才需要)。
希望这有帮助。
I should point out that there are two types of web projects that operate differently.
If you create a web project using "File|New Project" Then choose the Web type, this is the "older style" of web app which will compile all the code in your .vb or .cs files into a dll, put it into the bin directory.
If you create a web project using "File|New Web Site" This is the newer style, and no dll is created, and all pages are compiled on the fly.
If you are not in debug mode, you can simply make changes in visual studio, refresh your page, and the changes will be applied.
Quick question...are you using the built in test web server or are you using a local IIS instance for development. In either case, you should not need to restart the web server. Once you start even the dev server, you can just point your browser to the right url to get to your site without having to hit the "play button" which is only if you want to debug back end code.
Hope this helps.
alexanderb - 你对新人很有帮助……不是!
dotnetnewbie - 祝你好运,顺便说一句,像 Java 世界一样,EnC(编辑并继续)也有限制。恕我直言,JRebel 插件将事情提升到了一个新的水平(比 .net world + 标准 java Hotpspot 更好),因为它允许方法签名更改、新方法等。
alexanderb - you're very helpful to someone who is new...not!
dotnetnewbie - good luck and btw there are limitations on EnC (Edit and Continue) like in the Java world. IMHO the JRebel addon takes things to a new level(better than .net world + standard java Hotpspot) as it allows method signature changes, new methods etc.