mesa t Posted January 15, 2004 Posted January 15, 2004 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. Quote
Roey Posted January 15, 2004 Posted January 15, 2004 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 Quote
mesa t Posted January 15, 2004 Author Posted January 15, 2004 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, Quote
Roey Posted January 15, 2004 Posted January 15, 2004 Sorry but haven't done that before, and wouldn't want to guess and lead you in the wrong direction. Quote
Administrators PlausiblyDamp Posted January 16, 2004 Administrators Posted January 16, 2004 You may want to investigate Webservices in that case as it will allow your system to be called via a network connection. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
mesa t Posted January 16, 2004 Author Posted January 16, 2004 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. Quote
Administrators PlausiblyDamp Posted January 16, 2004 Administrators Posted January 16, 2004 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.) Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
mesa t Posted January 16, 2004 Author Posted January 16, 2004 n-Tier re: I think that will be route. Thanks a lot for your help! TM Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.