.NET remoting newbie

Posts   
 
    
msorondo
User
Posts: 4
Joined: 30-Jul-2004
# Posted on: 07-Aug-2004 16:06:51   

Hi everybody..

I’m starting to build a new application which needs to access a centralized database from several points in the country through broadband.

After reading a lot I decided to use .NET remoting using http channel and the binary formatter (vb Win app).

Having looked through the forum and compared Northwind examples (SelfServicing and Adapter) I chose Adapter model due to distributed nature of the application.

So, the problem’s this is all theory and I don't have a clue where to start !!! . My main dude is how to build a facade using adapter model and remotely access it (I’m new to .NET so new to remoting). Next week I need to demonstrate my bosses that it's easier and quicker to develop this app with llblgen and make them buy a license.

I´m a vb6 developer and used to have my DAL code generated by my own simple code generator so that’s why I think llblgen is the best choice. I’m already convinced but need help to convince my bosses and a few clues on llblgen and remoting (have a practical example?)

Thanks a lot regards

Martin Montevideo, Uruguay

Devildog74
User
Posts: 719
Joined: 04-Feb-2004
# Posted on: 07-Aug-2004 22:50:01   

There is a remoting sample on the LLBLGen site.

Download the sample, install it, and test it. To do this, you will need to: 1. make the remoting server reference the northwind DAL sample project, the one that has the customer entities in it. 2. after the server app compiles, create a virtual directory that points to the compile directory of the server 3. modify the remoting client to use the virtual directory to find the remote object. 4. make sure the client has a copy of the interfaces assembly in its run directory 5. make sure the client has a reference to the interfaces defined

I reccomend you read ingo rammers book on remoting, MS press also has a good one.

msorondo
User
Posts: 4
Joined: 30-Jul-2004
# Posted on: 08-Aug-2004 17:19:53   

Devildog74 wrote:

There is a remoting sample on the LLBLGen site.

Maybe for registered users only? Can't find it.

Thanks a lot.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39752
Joined: 17-Aug-2003
# Posted on: 08-Aug-2004 17:50:42   

Yes in the customer area. For customers only, in examples -> last entry.

Frans Bouma | Lead developer LLBLGen Pro