.Net开发 [英] .Net development

查看:49
本文介绍了.Net开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。

我有一个项目,包括为掌上电脑开发应用程序。

简要地说客户端应用程序是一个医疗应用程序/>
药剂师将不得不访问数据库服务器以进行数据撤销。

这是我第一次与.Net开发联系,那么什么是

C#和Visual Basic.Net之间的区别以及其中哪一个应该使用


顺便说一句,哪种方式更好,两层架构与客户端

应用程序在Pocket PC上直接访问数据库服务器,或者是一个

三层架构,在客户端和客户端之间有一个服务器应用程序/>
数据库?

我需要ASP.Net吗?

开发需要哪些工具?

谢谢你好。

Hello.
I have a project which consists of developing an application for pocket pc''s.
Briefly the client application which is a medical application for
pharmacists will have to access a database server for data retreival.
Its the first time i am getting in touch with .Net development, so what''s
the difference between C# and Visual Basic.Net and which one of them should i
use?
And by the way, which way is better, a two tier architecture with a client
application on the pocket pc''s accessing the database server directly, or a
three tier architecture with a server application in between the client and
the database?
Do i need ASP.Net?
What tools do i need for the development?
Thank you.

推荐答案

嗨菲利普,

C#和VB.NET之间的最大区别在于它们的语法。

他们都使用.NET Framework,所以如果你使用C#或VB.NET就没有区别

,即使有一些小东西
C#中的
,你不能用VB.NET来反过来。反之。


如果你必须存储连接字符串(+ db password)我建议使用三层架构。

中间层然后(例如一个Web服务)处理所有传入的数据,并将数据传递给客户端。


如果您使用Web服务作为中间 - 你需要ASP.NET

作为IDE我会推荐Visual Studio .NET。


但也有一些免费的IDE就像# Devlop或WebMatrix。


Hi Philip,
the biggest difference between C# and VB.NET ist their Syntax.
Both of them use the .NET Framework, so it makes no difference
if you use C# or VB.NET, even if there are some small things
in C# that you can''t do with VB.NET and the other way round.

If you have to store your connection string (+ db password)
on the client application I would recommend a three-tier architecture.
The middle-tier then (e.g. a web-service) handles all incoming
db-requests and passes the data to the client.

If you use a Web-Service as yor middle-tier you need ASP.NET
and as a IDE I would recommend Visual Studio .NET.

But there are also some free IDE''s like #Devlop or WebMatrix.


你好。
我有一个项目,包括为掌上电脑开发应用程序。
简单地说,作为药剂师医疗应用程序的客户端应用程序必须访问数据库服务器以进行数据撤销。
这是我第一次接触.Net开发,那么'是什么'
C#和Visual Basic.Net之间的区别以及我应该使用哪一个?
顺便说一句,哪种方式更好,带有客户端的双层架构掌上电脑上的应用程序直接访问数据库服务器,或者是三层架构客户端和数据库之间的服务器应用程序?
我是否需要ASP.Net?
开发需要哪些工具?
谢谢。
Hello.
I have a project which consists of developing an application for pocket pc''s.
Briefly the client application which is a medical application for
pharmacists will have to access a database server for data retreival.
Its the first time i am getting in touch with .Net development, so what''s
the difference between C# and Visual Basic.Net and which one of them should i
use?
And by the way, which way is better, a two tier architecture with a client
application on the pocket pc''s accessing the database server directly, or a
three tier architecture with a server application in between the client and
the database?
Do i need ASP.Net?
What tools do i need for the development?
Thank you.



Philip,


在当前版本中,C#和Visual几乎没有区别

基本网。

它被用作水泥来获得所有预定义和你自己的课程

工作。


当前Visual Basic的版本(当使用Vistual Studio Net时)比C#更适合工作,因为在VBNet中构建的知识在VBNet中要高得多,并且后台编译也是如此。因此当你没有这么安全的时候(比如我)你可能没那么多时间构建

程序了。


In我认为一切都说了。


因此当你使用C派生语言(C C ++ Java

JavaScript)时,你的最佳选择可能就是C#,当你习惯了VB(VB6,VBS,VBA)的方言时(VB6,VBS,VBA)比你最好选择的可能就是VBNet。


这个工具是Visual Studio Net有更多版本。当你是一个专业开发者而不是MSDN订阅可能是一个不错的选择。

http://msdn.microsoft.com/vstudio/pr...o/default.aspx

http://msdn.microsoft.com/howtobuy/s...s/ default.aspx


一般来说,我对其余的问题都有答案,不过我认为

可以更好地回答人们正忙着和你一样忙着问候。


Microsoft.public.dotnet.framework.compactframework


我希望这有帮助吗?


Cor
Philip,

In the current versions there is almost no difference between C# and Visual
Basic Net.
It is used as the cement to get all the predefined and your own classes
working.

The current version of Visual Basic (when used Vistual Studio Net) is more
comfortable to work than C# with because that the build in intelissence in
VBNet is much higher and does background compiling. Therefore when you are
not such a secure typer (like me) you are probably less times building
programs.

In my opinion is with that everything said.

Therefore when you are used with a C derived language (C C++ Java
JavaScript) than your best choose is probably C#, when you are used to a
dialect of VB (VB6, VBS, VBA) than your best choose is probably VBNet.

The tool is Visual Studio Net which has more versions. When you are
professional developper than a MSDN subscription is probably a good choose.

http://msdn.microsoft.com/vstudio/pr...o/default.aspx

http://msdn.microsoft.com/howtobuy/s...s/default.aspx

In general I have an answer on the rest of your questions, however I think
that those can be better answered by people exactly busy with the same
question as you.

Microsoft.public.dotnet.framework.compactframework

I hope this helps?

Cor


你的应用程序有什么不清楚:它是否会连接(无线)

或断开连接(客户端 - 服务器)。

从你的问题看来,你似乎正在考虑cl ient / server。

但是,如果可以将您的应用程序作为服务器上的网页运行,并且

只需将设备用作非常专业的Web浏览器,我想认真考虑它。


我在一个项目上工作了一年,然后完全失败了。我们

使用手持设备在远程位置收集数据,并在用户返回中心位置时将其同步回中央服务器。


如果您决定使用断开连接模式:

我强烈建议您调查数据复制工具。设置

概念证明。讨论更好的方法。花点时间思考如何将来自许多设备的数据合并到公共中心的
数据库中。证明它会起作用。除非你得到这个

,否则别这样做。 (这是我的项目失败的地方)。


语言无所谓。谷歌在C#vs VB.Net上看到任何一个

数百个讨论。我不会进入它。它们都是优秀的语言。


杠杆SQL Server for CE巨资。这个漂亮的工具为您提供了许多你需要的自动数据复制功能,但不是全部。


一旦你掌握了数据,就开始了为
GUI开发不同的方法。你有一个小得多的屏幕。如果你的用户超过40岁,他们可能会因为视力问题而难以专注于小字体或

从看小屏幕切换到看一个物体或一个人

就在几英尺之外。你会想要最大限度地发挥这个小屏幕的功能,同时最大限度地减少因设计不良的用户界面造成的不适感。


在小屏幕上进行任何严肃的数据输入也很难。使用

控件输入数字并允许查找常见文本字符串

避免用户输入大量文本。


祝你好运


-

---尼克马利克[微软]

MCSD,CFPS,认证Scrummaster
http://blogs.msdn.com/nickmalik

免责声明:本论坛中发表的意见是我自己的意见,而不是我雇主的b $ b代表。

我不代表我的雇主回答问题。我只是一个帮助程序员的
程序员。

-

" Philip Germanos" <博士************ @ discussions.microsoft.com>写在

消息新闻:27 ********************************** @ microsof t.com ...
What is NOT clear about your application: Will it run connected (wirelessly)
or disconnected (client-server).
From your questions, it appears that you are considering client/server.
However, if it is possible to run your app as a web page on a server, and
just use the devices as very specialized web browsers, you way want to
seriously consider it.

I worked on a project that ran for a year before failing completely. We
were using handheld devices to collect data at remote locations and sync it
back to a central server when the user returns to the central location.

If you decide to go with disconnected mode:
I STRONGLY suggest that you want to investigate data replication tools. Set
up proofs of concept. Discuss better ways to do it. Take the time to think
about how you will merge data from many devices into the common central
database. Prove that it will work. Do NOTHING else until you get this
right. (This is where my project failed).

Language shouldn''t matter. Google on C# vs VB.Net to see any one of
hundreds of discussions. I won''t get into it. They are both excellent
languages.

Leverage "SQL Server for CE" heavily. This nifty tool gives you many of the
automatic data replication capabilities that you will need, but not all.

Once you have the data worked out, start working on different approaches for
GUI. You have a much smaller screen. If you users are over 40, they may
have eyesight problems that will make it harder to focus on small print or
to switch from looking at a small screen to looking at an object or person
that is a few feet away. You''ll want to maximize the functionality of that
tiny screen while minimizing the discomfort that a poorly designed UI would
cause.

It is also hard as hell to do any serious data entry on a tiny screen. Use
controls for entering numbers and allow lookups of common text strings to
avoid your user having to enter much text.

Good luck

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I''m just a
programmer helping programmers.
--
"Philip Germanos" <Ph************@discussions.microsoft.com> wrote in
message news:27**********************************@microsof t.com...
你好。
我有一个项目,包括开发一个口袋
pc的应用程序。
简要说明客户端应用程序是一个医疗应用程序药剂师将不得不访问数据库服务器进行数据撤销。
这是我第一次接触.Net开发,那么它的区别是什么?在C#和Visual Basic.Net之间,我应该使用哪一个?
顺便说一句,哪种方式更好,一个带有客户端应用程序的双层架构在掌上电脑上直接访问数据库服务器,或者在客户端
和数据库之间有一个服务器应用程序的三层架构?
我需要ASP.Net吗?
开发需要哪些工具?
谢谢。
Hello.
I have a project which consists of developing an application for pocket
pc''s.
Briefly the client application which is a medical application for
pharmacists will have to access a database server for data retreival.
Its the first time i am getting in touch with .Net development, so what''s
the difference between C# and Visual Basic.Net and which one of them
should i
use?
And by the way, which way is better, a two tier architecture with a client
application on the pocket pc''s accessing the database server directly, or
a
three tier architecture with a server application in between the client
and
the database?
Do i need ASP.Net?
What tools do i need for the development?
Thank you.



这篇关于.Net开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆