![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
|
Hi, I have developed large multithreaded network application using Win32 and Winsock in the past connecting to an SQL db. How fast and robost is .NET 2.0 for creating a similar application? I need to create an client and server application. The client application consists of C# Window.form controls which connects to a database. But I need the client to connect to a server application, and the server will control access to the database as well as report other live information. Is C# and .NET suitable for handling the server application? It needs to scale to handle many many connections on multiple threads. Also the Client C# application binds to a database, but now it needs to connect to a server application and then to the database. Do I need to create wrapper classes for my data and perform serialization ? or is there some other approach in .NET? |
#2
| |||
| |||
|
|
The best and most robust of these is the new Windows Communication Foundation (WCF) in .NET 3.0. Windows Communication Foundation http://msdn2.microsoft.com/en-us/library/ms735119.aspx isnt that vista only? |
|
Other good options are Web Services http://msdn.microsoft.com/webservices/default.aspx and .NET Remoting. http://msdn.microsoft.com/webservice...g/default.aspx Remoting may be interesting we have just had a play with it, security looks like an issue. |
|
All of these are substantially simpler than coding TCP/IP and provide simple mechanisms to call methods and marshal objects across networks. Of course .NET also has easy access to TCP/IP sockets so if you really want to write code at that level, you can. We may just do that, it what we did in win32, however if Remoting will handle alot of the plumbing we need we will use it. |
#3
| |||
| |||
|
|
The best and most robust of these is the new Windows Communication Foundation (WCF) in .NET 3.0. Windows Communication Foundation http://msdn2.microsoft.com/en-us/library/ms735119.aspx isnt that vista only? Windows XP SP2, Windows Server 2003 and Vista. The .NET 3.0 Runtime ships on vista, and is available as a free download for XP SP2 and Server 2003. No Win2k support? Remoting may be interesting we have just had a play with it, security looks like an issue. Why? our current system uses our own authentication system, a database table for storing user/pass info for connecting clients, is this still possible with .Remoting? Does Remoting support a database table for storing user/pass info? hash pass? Algortithm choices? Remoting is much easier and basically as fast as raw sockets. But using Binary Serialization together with TCP/IP sockets in .NET is not really difficult. It's just that Web Services, Remoting and WCF are all easier and more interoperable. Great, but you have ruled out windows 2000 users with .NET 3 Might be able to live with that. Will have a look at WCF. |
|
Isnt .net3 still in beta? where is the sdk for it? |
#4
| |||
| |||
|
|
Microsoft® Windows® Software Development Kit for Windows VistaT and .NET Framework 3.0 Runtime Components http://www.microsoft.com/downloads/d...displaylang=en |
#5
| |||
| |||
|
| "Cube" <SiliconJaltz05 (AT) yahoo (DOT) com> wrote in message news:1166591494.747347.29570 (AT) i12g2000cwa (DOT) googlegroups.com... The best and most robust of these is the new Windows Communication Foundation (WCF) in .NET 3.0. Windows Communication Foundation http://msdn2.microsoft.com/en-us/library/ms735119.aspx isnt that vista only? Windows XP SP2, Windows Server 2003 and Vista. The .NET 3.0 Runtime ships on vista, and is available as a free download for XP SP2 and Server 2003. Other good options are Web Services http://msdn.microsoft.com/webservices/default.aspx and .NET Remoting. http://msdn.microsoft.com/webservice...g/default.aspx Remoting may be interesting we have just had a play with it, security looks like an issue. Why? All of these are substantially simpler than coding TCP/IP and provide simple mechanisms to call methods and marshal objects across networks. Of course .NET also has easy access to TCP/IP sockets so if you really want to write code at that level, you can. We may just do that, it what we did in win32, however if Remoting will handle alot of the plumbing we need we will use it. Remoting is much easier and basically as fast as raw sockets. But using Binary Serialization together with TCP/IP sockets in .NET is not really difficult. It's just that Web Services, Remoting and WCF are all easier and more interoperable. David |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |