-
Architectural question?
Hi,
I want to write 3-tier application (with database access layer, business and presentation layer), but I don't want to recompile presentation layer (client application - win. forms) when change something in business layer. How to manage this, how to bind business layer and client application?
regards j
-
Just have your business layer serve your Presentation layer (with data) - and have your business layer go through the data layer for all data access. I believe you could also have your bus layer react to events passed by the pres layer.
If you keep your bus and pres layers seperate, then you could even have more than 1 pres layer (win / web...), or at least it would be easier to change the UI when needed.
-
I have my business layer in dll, question is how to use presentation layer (exe with win forms) and bus dll in way to manage changing dll without recompiling presentation exe?
regards j
-
While I haven't specifically done this, I believe you could use remoting. I think that this will allow your application to get the latest DLL when it is referenced in your app. It might be worth looking into.
Maybe some of the other more experience vb gurus have other suggestions or insight?
-
Do you have some examples or links about using remoting?
regard j
-
Check out:
http://msdn.microsoft.com/library/de...roremoting.asp
Also, I have heard that Advanced .NET Remoting by Ingo Rammer is a good resource.