Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

 

I have a fundamental question that I seem to have difficulty grasping.

 

I want to build a n-tier vb.net app, (not a web app), in a network environment.

 

Could I build the server side code as a collection of assemblies in a server share that I can reference in the Client code under project references ?

 

and if so, could I simply instanciate the classes within those assemblies from the client code ?.

 

Would I need marshaling or proxies ?.

 

Thanks,

 

Tino M.

Posted

I use one Assembly for each level in an n-tier application:

 

- User Interface

- Business

- Data Access Layer

 

Each Assembly is comprised of multiple classes that represent objects, and the class is then intantiated by the layer above it.

 

 

Hope this helps a bit

Posted

n-tier questions

 

Thanks for your reply Roey,

 

I think that your comments validate my idea that in a network environment, a client machine can instantiate and use the methods and properties of the classes inside the (server machine) Business logic assembly / ies.

 

What would you suggest I use if I now want to let remote

(out of network) users utilize the same server assemblies?.

 

sockets?

 

.net Remoting?

 

Thanks,

Posted

n-Tier reply

 

Thanks everyone for your comments on my questions.

 

I am familliar with webservices, but I dont want IIS involved in this application (If I understand it correctly webservices live in an IIS VD).

 

I am looking into remoting, or COM+ .....

 

 

Thanks again!

 

Tino Mesa.

  • Administrators
Posted

I'd go remoting in preference to COM+ unless you need features specific to COM+ as it is heavily based on Microsoft standards and RPCs (all data is a binary format as well).

 

With ermoting you can still use XML (SOAP) and http so to all intents and purposes it is a webservice but without needing IIS (more work than a webservice but maybe worth it.)

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

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...