.NET 3.0 [英] .NET 3.0

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

问题描述

Hello C#程序员:


我开始用C#2.0开发客户端/服务器应用程序。移动到3.0可以获得很多

吗?


我现在只是搂着其中一个功能是

远程。我应该跳过这个并直接去WCF吗?


谢谢,


比尔

解决方案



" Bill McCormick" < wp ********* @ newsgroup.nospamwrote in message

news:u%**************** @ TK2MSFTNGP03.phx .gbl ...


Hello C#程序员:


我开始用C开发客户端/服务器应用程序#2.0。移动到3.0,我获得了多少




我不确定如果不知道更多就能回答这个问题。


在3.5(或3.0)中,你可以使用用于UI而不是标准表单的WPF。使用

工具的状态,这意味着购买Expression Blend并且还有一些很难做的事情。您还可以使用LINQ来操作

数据对象。你得到了WCF,你在下面会问。


我现在正在搂着的一个功能是Remoteing。

我应该跳过这个并直接进入WCF吗?



我愿意。与WCF相比,远程处理是一个难以理解的工作,如果你必须通过WSDL公开访问它,那么
最终会完全重写位。

通过WSDL。使用WCF,您只需设置一个新的Web端点并使用它进行滚动。所以

有两个原因:


1.更易于设置(主要是声明性的)

2.创建标准的能力没有重写的基础端点


-

Gregory A. Beamer

MVP,MCP:+ I,SE,SD,DBA


订阅我的博客
http ://feeds.feedburner.com/GregoryBeamer#


或只是阅读它:
http://feeds.feedburner.com/GregoryBeamer


********* ***************************************

|创造性思考! |

***************************************** ***


Gregory A. Beamer(牛仔) - MVP写道:


" Bill McCormick" < wp ********* @ newsgroup.nospamwrote in message

news:u%**************** @ TK2MSFTNGP03.phx .gbl ...


> Hello C#程序员:

我开始用C#2.0开发客户端/服务器应用程序。移动到3.0可以获得更多的收益吗?



我不确定我能在不知情的情况下回答这个问题。


在3.5(或3.0)中,你可以使用用于UI而不是标准表单的WPF。使用

工具的状态,这意味着购买Expression Blend并且还有一些很难做的事情。您还可以使用LINQ来操作

数据对象。你得到WCF,你在下面问。


>我现在正在搂着的一个功能是Remoteing。
我应该跳过这个并直接进入WCF吗?



我愿意。与WCF相比,远程处理是一个难以理解的工作,如果你必须通过WSDL公开访问它,那么
最终会完全重写位。

通过WSDL。使用WCF,您只需设置一个新的Web端点并使用它进行滚动。所以

有两个原因:


1.更易于设置(主要是声明性的)

2.创建标准的能力没有重写的基于端点



好​​的,谢谢。另外,我需要VS 2008或更高版本才能进入3.0

领土吗?我想更快地加快所有这些新技术的速度

,并考虑上课或研讨会。我如何在我的地区(圣安东尼奥)找到一个好的
体面的?


-

谢谢,


比尔


//远程。我应该跳过这个并直接进入WCF吗?//

是的。


让我再说一遍。是的。

这是一个简单但有效的演示。

http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!158.entry

WCF模型是更有效的代码与远程处理方式。 WCF更多

抽象,并允许您以一种方式编写代码...但提供

不同的端点(或者剔除代码的方法) 。 Aka,相同的代码可以

提供Web服务,因为它可以Remoting。

Pre WCF,你必须对2个非常不同的模型进行编码。

.....................


如果你想要额外的功能,你只需要3.0。 WCF和WWF(或WF)

(Windows Workflow Foundation)?它们是附加组件。到2.0,而不是替换。
http://www.google.com/search?hl=en&q...low+Foundation


" Bill McCormick" < wp ********* @ newsgroup.nospamwrote in message

news:u%**************** @ TK2MSFTNGP03.phx .gbl ...


Hello C#程序员:


我开始用C开发客户端/服务器应用程序#2.0。移动到3.0,我获得了多少




我现在正在搂着的一个功能是Remoteing。

我应该跳过这个并直接进入WCF吗?


谢谢,


Bill


Hello C# programmers:

I''m began developing a client/server application in C#2.0. Do I gain
much by moving to 3.0?

One of the features that I''m just now getting my arms around is
Remoteing. Should I skip this and go right to the WCF?

Thanks,

Bill

解决方案


"Bill McCormick" <wp*********@newsgroup.nospamwrote in message
news:u%****************@TK2MSFTNGP03.phx.gbl...

Hello C# programmers:

I''m began developing a client/server application in C#2.0. Do I gain much
by moving to 3.0?

I am not sure I can answer this without knowing more.

In 3.5 (or 3.0), you can use WPF for your UI instead of standard forms. With
the state of tools, this will mean purchasing Expression Blend and there are
still some things that are hard to do. You also get LINQ for manipulating
data objects. And you get WCF, which you ask about below.

One of the features that I''m just now getting my arms around is Remoteing.
Should I skip this and go right to the WCF?

I would. Remoting is a pain in the butt to work with compared to WCF and you
end up completely rewriting bits if you have to make it openly accessible
via WSDL. With WCF, you just set up a new web endpoint and roll with it. So
there are two reasons:

1. Easier to set up (mostly declarative)
2. Ability to create standards based endpoints without rewriting

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************


Gregory A. Beamer (Cowboy) - MVP wrote:

"Bill McCormick" <wp*********@newsgroup.nospamwrote in message
news:u%****************@TK2MSFTNGP03.phx.gbl...

>Hello C# programmers:

I''m began developing a client/server application in C#2.0. Do I gain much
by moving to 3.0?


I am not sure I can answer this without knowing more.

In 3.5 (or 3.0), you can use WPF for your UI instead of standard forms. With
the state of tools, this will mean purchasing Expression Blend and there are
still some things that are hard to do. You also get LINQ for manipulating
data objects. And you get WCF, which you ask about below.

>One of the features that I''m just now getting my arms around is Remoteing.
Should I skip this and go right to the WCF?


I would. Remoting is a pain in the butt to work with compared to WCF and you
end up completely rewriting bits if you have to make it openly accessible
via WSDL. With WCF, you just set up a new web endpoint and roll with it. So
there are two reasons:

1. Easier to set up (mostly declarative)
2. Ability to create standards based endpoints without rewriting

OK, thanks. Also, do I need VS 2008 or greater to move into 3.0
territory? I want to come up to speed on all this new tech more quickly
and would consider a class or workshop. How would I go about finding a
decent one in my area (San Antonio)?

--
Thanks,

Bill


//Remoteing. Should I skip this and go right to the WCF?//
YES.

Let me say it again. YES.
Here is a simple but effective demo.
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!158.entry
The WCF model is more effective way to code vs Remoting. WCF is more
"abstract", and allows you to write your code in one way...but provide
different endpoints (or ways to fish out your code). Aka, the same code can
serve up WebServices as it can Remoting.
Pre WCF, you had to code against 2 very different models.

.....................

You only go to 3.0 if you want the extra features. WCF and WWF (or WF)
(Windows Workflow Foundation)? They are "add-ons" to 2.0, not replacements.
http://www.google.com/search?hl=en&q...low+Foundation


"Bill McCormick" <wp*********@newsgroup.nospamwrote in message
news:u%****************@TK2MSFTNGP03.phx.gbl...

Hello C# programmers:

I''m began developing a client/server application in C#2.0. Do I gain much
by moving to 3.0?

One of the features that I''m just now getting my arms around is Remoteing.
Should I skip this and go right to the WCF?

Thanks,

Bill



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

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