如何在.net框架中规划一个软件..?
我是一名软件开发新手,只开发了一些基于 Java 的应用程序。我想使用.NET框架制作一个适用于Windows的ERP软件。我决定使用 C# 来实现 GUI 和逻辑。
我很快就掌握了 C#,因为我很熟悉 Java。我现在也对 Windows 窗体有了一个概述。
我有一个与 MS SQL Server 交互并运行的小型应用程序。但我无法谷歌出几个问题——
- 我应该遵循什么架构。 MVC 对于基于 Web 的应用程序非常出色,但它对于桌面应用程序是否同样有效......?另外,文件夹结构和类层次结构应该如何......?
- 使用哪个数据库服务器..? SQLite 在网络上有一些缺点,但如果我计划在单个桌面上运行我的应用程序,它会有任何问题吗??
- 如何将我的数据库服务器与应用程序一起打包......?
- 如果我打算以 CD 形式出售该软件,我该如何防止多次 用户使用情况..??
阅读资源的链接会非常有帮助。
I am a novice software developer and have only developed a few Java based applications. I want to make an ERP software for Windows using the .NET framework. I had decided upon using C# for GUI and logic.
I went through C# quickly as I am well versed with Java. I now also have an overview of Windows form.
I have a small application interacting with MS SQL server up and running. But I couldn't Google out of a few problems -
- What architecture should I follow. MVC was excellent for web-based apps, but is it equally effective for desktop apps..?? Also, how should the folder structure and classes hierarchy be..??
- Which database server to use..?? SQLite has some shortcomings over a network but if I plan to run my app over a single desktop, would it have any problems..??
- How do I package my database server along with the application..??
- If I plan to sell the software on CDs, how do i prevent multiple
user usage..??
Links to reading resources would be very helpful..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议先生读一些书。我发现这本书为我在 .NET 架构方面奠定了良好的基础:
http://www.amazon.com/Microsoft%C2%AE-NET-Architecting-Applications-Pro-Developer/dp/073562609X
进入开发时要考虑到测试、n 层架构、继承等等。
I recommend doing some reading sir. One book I found that has given me a GREAT foundation on .NET architecture has been this book:
http://www.amazon.com/Microsoft%C2%AE-NET-Architecting-Applications-Pro-Developer/dp/073562609X
Goes into developing with testing in mind, n-tiered architecture, inheritance, everything.
一个问题中有很多问题;-)
首先,幸运的是,C# 和 Java 根本没有什么不同。您将能够将您的大部分知识从 Java 应用到 C# - 甚至许多库也从 Java 移植到 C#。
Quite many questions in one question ;-)
First, C# and Java are luckily not to different at all. You will be able to apply much of your knowledge from Java to C# - even many libraries were ported from Java to C#.