Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi, I am newish to Network programming in .NET

 

I have currently been developing applications where the client interacts directly with the database (which has been working fine in small scale environments)

 

But I wanted to play about with 3-tier ideas to gain performance and scalability

 

So far I have been looking at serializing a data object and using sockets to send the xml string across the network. But I have been told that�s a dumb idea because it would be re-inventing the wheel and I should be using remoteing.

 

Well I have been looking into this and played about with a few examples.

All the examples I have found build parts of the data access layer into the remote object. Which they then reference in the client�

Now I am probably being thick but doesn�t that then mean if you want to change your data access layer you have to at least re-distribute the remote object dll to all the clients.

 

What am I missing here? How can I use remoteing and keep my data access layer separate to the client so I could use completely difrent databases and the client would't care.

 

Or should I be using sockets?

Can someone point me in the right direction please?

 

Thanks

Posted

Thanks for your help�

 

Looks like web services use IIS (ok ok that should have been obvious, as I said I am thick)

 

Had to think long and hard on this as web services do look tempting.

I didn�t want to use IIS though, it�s only going to run over a LAN and if I can get enough speed out of it I want to make some parts update in near real-time

 

After much deliberation I have decided that doing it via sockets will be more fun anyway. (Right here we go� my wheel will be� hmm octagonal!)

 

 

Thanks,

CyberDuke

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...