>I am familiar with what smart clients are and what multi tier is. I
> will create a smart client using a multi tier. A smart client, as the
[quoted text clipped - 7 lines]
> Regards,
> Rob
Yes, basically I will have two applications. The first one is a
server-client app. The second one is a standalone version, i.e. does
not need a server. Since both offer the same functionality I want to
re-use as much code as possible. For the db I will use MSSQL for the
server-client app and most likely MSDE for the standalone as they are
quite similar.
As mentioned for the server-client I was considering using web
services. But since the user's computer might not have IIS (Win XP
Home) I can't just re-use the code. What's the best way to handle this?
Maybe using something else then web services?
What other problem areas do I have to consider for instance regarding
authentification, autherization, security, etc?
Regards,
rob
Metallikanz! - 15 Aug 2005 06:36 GMT
.NET Remoting will be an alternative to WebServices, it's even considered a preferred choice for intranet applications over webservices, and the best part is that it can be hosted outside of IIS which apart from the current scenario that you have, is much more robust, stable and fast. Please look up the documentation on this subject for more information about security and things.
HTH, Metallikanz!
> Yes, basically I will have two applications. The first one is a
> server-client app. The second one is a standalone version, i.e. does
[quoted text clipped - 13 lines]
> Regards,
> rob
Thomas Egginger - 15 Aug 2005 06:44 GMT
Hi rob -
in my opinion your solution could look like this:
DAL
- data access to either SQL-Server (C/S Solution) or whatever (Client-Only
Solution)
Business Logic
- implemented abstract - doing what it has to do...
WebService
- "wrapper" for c/s solution - providing the functionaltites your Business
Logic offers. (maybe you dont need this layer in your scenario at all-think
about it!)
SmartClient
- WebService consumer - your App in a C/S scenario
FatClient
- no network connection - so just beeing able of using your BuisnessLogic /
DAL directly!
> Yes, basically I will have two applications. The first one is a
> server-client app. The second one is a standalone version, i.e. does
[quoted text clipped - 13 lines]
> Regards,
> rob
hB - 15 Aug 2005 11:46 GMT
DAL - able to switch DB. (MS Data Access App Block)
Business Logic
- implemented abstract - doing what it has to do...
WebService - Calls BL (hosted on IIS)
Smart Client always:
Winform is your client always (perhaps) or a Browser.
In case of no Server to host your webservices, you host your web-svc
with in your dotnet app, if winform same exe, else if browser is your
client then perhaps another simple dotnet exe (any kind) hosting
asmx-web services.
Do:
[http://spaces.msn.com/members/habibcs/PersonalSpace.aspx?_c01_blogpart=blogmgmt&
_c=blogpart]
Executing ASPX / ASMX pages without a web server
http://radio.weblogs.com/0105476/stories/2002/07/12/executingAspxPagesWithoutAWe
bServer.html
http://msdn.microsoft.com/msdnmag/issues/04/12/ServiceStation/default.aspx
http://msdn.microsoft.com/msdnmag/issues/03/01/CuttingEdge/
http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp
This is very useful and easily do-able in dotnet 1.1 and 2.
Same Web SvC and stuff behind will work exactly in both IIS and your
custom ASP.Net host app.
---
hB