有使用 SharpDevelop 构建 ASP.NET MVC 应用程序的经验吗?

发布于 2024-08-25 11:08:19 字数 225 浏览 7 评论 0原文

我一直使用 VS 进行 .NET 开发,但我只是想知道现在的替代方案。我对 ASP.NET MVC 开发特别感兴趣。我不关心 VS 的任何视觉设计方面,但当然喜欢智能感知和调试功能。

那么,对于在 ASP.NET MVC 中尝试过 SharpDevelop 的人来说:

  • 你进展如何?

  • 主要缺点和痛点是什么?

谢谢

I've always used VS for .NET development, but am just wondering about the alternatives around now. I'm especially interested in use for ASP.NET MVC development. I'm not bothered about any of the visual design aspects of vs, but of course love intellisense and the debugging features.

So, for anyone who has tried SharpDevelop when doing ASP.NET MVC:

  • How did you get on?

  • What are the main disadvantages and pain points?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

美人迟暮 2024-09-01 11:08:19

从表面上看,SharpDevelop 编译项目和编辑源代码不会有任何问题......您只是不会获得任何工具支持。据我所知,其中包括 aspx 文件。

话虽如此,SharpDevelop 的 ASP.NET 插件编辑器似乎确实发生了一些变化 这里

来源:http://community.sharpdevelop.net/forums/t/7872.aspx

顺便说一句,如果您沿着这条路线走下去,那么用您的经验更新这个问题可能会很好......(:

By the looks of it, SharpDevelop won't have any problems compiling the project and editing the source...you just won't get any tooling support. From what I've read, that includes aspx files.

Having said that, there does seem to be some movement around an ASP.NET plug-in editor for SharpDevelop here.

Source: http://community.sharpdevelop.net/forums/t/7872.aspx

As an aside, it might to nice to update this question with your experiences if you go down that route... (:

同展鸳鸯锦 2024-09-01 11:08:19

我已经使用 SharpDevelop 创建了一个 ASP.Net WebForms 项目 - 没有遇到太多问题。缺乏视觉设计师当然很烦人,但它迫使你直接思考源代码,这是一件好事......

我还没有使用 MVC 做任何事情 - 尽管从事情的声音来看,唯一停止的事情目前SD就是工具。核心开发人员可能没有这方面的计划,但它是一个开源项目,因此没有什么可以阻止独立的努力。

我对 SD 代码进行了非常有限的工作(错误调查) - 在我看来,一旦你理解了他们的类,它就不是坏代码......他们作为一个项目的失败是(就像大多数开放的项目一样)源努力)每个人都想编码,因此文档被忽略。没有人喜欢编写文档,但清晰的文档可能会带来更多的参与……

这是一个伟大的项目,但他们忽视网络的决定是疯狂的。

I have used SharpDevelop to create an ASP.Net WebForms project - didn't have too many issues with it. The lack of a visual designer is certainly annoying, but it forces you to think about the source directly, which is a good thing...

I haven't done anything with MVC yet - though from the sounds of things the only thing that's stopping SD at the moment is the tooling. The core developers might have no plans for that, but it's an open source project, so there's nothing stopping an independent effort.

I've gone a very limited amount of work (bug investigation) with the SD code - it seems to me that once you understand their classes it's not bad code... Their failing as a project has been (as it is with most open source efforts) that everyone wants to code, so the documentation gets ignored. No-one likes writing documentation, but clear documentation might have led to far greater participation...

It's a great project, but their decision to ignore the web is madness.

九命猫 2024-09-01 11:08:19

正如 Kieron 所说,您将能够编译并且缺少工具。不幸的是,#Develop 论坛表示他们不打算直接支持它:

SharpDevelop 没有计划支持 ASP.NET。

缺乏工具并且知道它不会很快出现将是我的主要痛点。

As Kieron said, you'll be able to compile and you'll lack tooling. Unfortunately, #Develop's forum says that they don't plan to directly support it:

ASP.NET support is not planned for SharpDevelop.

The lack of tooling and knowing that it's not coming anytime soon would be the major pain point for me.

没有伤那来痛 2024-09-01 11:08:19

我在使用 SharpDevelop 进行 ASP.NET MVC 开发方面获得了积极的体验,特别是当我想要一个用于小型项目或学习目的的轻量级解决方案时。虽然 Visual Studio 是 .NET 开发的标准选择,但探索 SharpDevelop 等替代方案可以提供宝贵的见解和灵活性。

就我而言,我在 SharpDevelop 中使用 .NET Framework 4.5.2 创建了 ASP.NET MVC 和 WebAPI 项目模板。该模板是开发 ASP.NET MVC 和 Web API 应用程序的坚实起点。它对于您想要修复 MVC 应用程序而不需要臃肿的 Visual Studio 的场景特别有用,您甚至可以将便携式 SharpDevelop 放在 USB 驱动器上以增加便利。

项目模板的功能和库都是经过精心挑选的。 Bootstrap 4.6 带有额外的 Bootswatch 主题和 Bootbox.js、用于 SQL Server 支持的 EntityFramework.SharpDevelop、用于 MS Access 支持的 Dapper、AutoMapper 等。这确保了与 SharpDevelop 的兼容性,并为构建功能丰富的 ASP.NET MVC 应用程序提供了基本功能。至于 Petite-vue,您可以增强应用程序的交互性,而无需使用 jQuery 等较重的库。

我还选择不包含 OWIN 和 ASP.NET Identity,这可能会限制更复杂的身份验证和授权方案。然而,对于轻量级项目来说,这个决定是有意义的,并且符合保持开发环境精简的目标。

我相信 SharpDevelop 是 ASP.NET MVC 开发的可行替代方案,特别是当您不需要 Visual Studio 提供的全套功能时。智能感知和调试功能等基本工具的存在增强了开发体验。

在为您的项目使用 SharpDevelop 之前,考虑权衡并确保它满足您的特定要求至关重要。如果您不需要 Visual Studio 提供的高级功能,SharpDevelop 的轻量级和可移植性可能是一个显着的优势。

Github 存储库位于:https://github.com/aspdotnetgabs/sharpdevelopmvc

I had a positive experience using SharpDevelop for ASP.NET MVC development, especially when I wanted a lightweight solution for smaller projects or learning purposes. While Visual Studio is the standard choice for .NET development, exploring alternatives like SharpDevelop can provide valuable insights and flexibility.

In my case, I created an ASP.NET MVC and WebAPI project template using .NET Framework 4.5.2 in SharpDevelop. This template served as a solid starting point for developing ASP.NET MVC and Web API applications. It's particularly useful for scenarios where you want to fix an MVC app without the need for a bloated Visual Studio, and you can even carry the portable SharpDevelop on a USB drive for added convenience.

The features and libraries were carefully selected for the project template. There's Bootstrap 4.6 with bonus Bootswatch themes and Bootbox.js, EntityFramework.SharpDevelop for SQL Server support, Dapper for MS Access support, AutoMapper, and others. This ensures compatibility with SharpDevelop and provides essential functionality for building a feature-rich ASP.NET MVC application. As for Petite-vue, you can enhance the app interactivity without the need for heavier libraries like jQuery.

I also chose not to include OWIN and ASP.NET Identity, which might be a limitation for more complex authentication and authorization scenarios. However, for lightweight projects, this decision makes sense and aligns with the goal of keeping the development environment lean.

I believe SharpDevelop is a viable alternative for ASP.NET MVC development, particularly when you don't require the full suite of features offered by Visual Studio. The presence of essential tools like intellisense and debugging features enhances the development experience.

Before using SharpDevelop for your project, it's crucial to consider the trade-offs and ensure that it meets your specific requirements. If you don't need the advanced capabilities provided by Visual Studio, SharpDevelop's lightweight and portable nature can be a significant advantage.

Github repo here: https://github.com/aspdotnetgabs/sharpdevelopmvc

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文