Re: WCF Architecture question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



If you're doing DotNet to DotNet, then I would give up the convenience of
WAS and write a Host as a Windows Service using TCP.

Check my example on "Interface development with WCF"




"SetonSoftware" <seton.software@xxxxxxxxxxx> wrote in message
news:1e482af8-1722-4766-8804-8c7d4fd5d743@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Dec 26, 2:48 pm, "Mr. Arnold" <MR. Arn...@xxxxxxxxxx> wrote:
"SetonSoftware" <seton.softw...@xxxxxxxxxxx> wrote in message

news:85958520-1a3d-4a15-a7cd-18301ac94ad0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx





We're planning to construct a C# 3.5 application as an XBAP. This
application will run in browsers on several thouasnd notebook
computers which are connected to a central server via wireless. The
application will use a SQL Server 2008 database.

The app would need to access data object assembies on the server to
read DataTables from and write data to the database though stored
procedures. The server is also where the business rule assemblies
would reside. I'm thinking one server to host the assemblies and
another to host SQL Server. The XBAP application will communicate with
the business layer server directly.

My question is: What kind of WCF architecture is most appropriate
here? Should I use an HTTP protocol hosted by IIS or TCP hosted by a
Windows service?

Using IIS has the following benefits:

1) IIS provides automatic processing activation, meaning when a message is
received for a service, the service is automatically launched if it is not
already launched.

2) IIS provides health monitors that a WCF services can take advantage of.
If a process in not responding or is taking longer than deemed necessary,
IIS will automatically recycle the process.

3) WCF service can utilize the ASP.NET shared hosting model.

4) WCF service can take advantage of the ASP.NET's compilation model.

IIS 5, 6 and 7 you get the following:

. Idle shutdown
. Process recycling
. Process health monitoring
. Message-based activation

You're using FW 3.5 and I'll assume VS 2008. If you are doing so, then you
should look into Linq to SQL using ADO.Net.Entities, fabulous stuff and
Datatables -- yuck.

http://www.codeguru.com/csharp/csharp/cs_linq/article.php/c15489__1/http://www.apress.com/book/view/1590599659-
Hide quoted text -

- Show quoted text -

This application is completely .NET to .NET communication. If I use
IIS am I limited to HTTP? Wouldn't TCP be faster? If I do use HTTP,
data sent between the different tiers would need to be serialized
whereas with TCP it wouldn't need to be, correct? This is all being
done on a WinXP platform.

Thanks

Carl


.



Relevant Pages

  • Re: WCF Architecture question
    ... > computers which are connected to a central server via wireless. ... Using IIS has the following benefits: ... WCF service can take advantage of the ASP.NET's compilation model. ... Wouldn't TCP be faster? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Web site viewable from outside office but not on Lan
    ... ..net except the host header. ... > server is dynamic, so any of these sites if hosted locally will need to ... > mostly an IIS and a firewall problem. ... >> There is a Forward Lookup Zone for ourcompany.com and it has a host ...
    (microsoft.public.windows.server.dns)
  • Re: WCF Architecture question
    ... > computers which are connected to a central server via wireless. ... Using IIS has the following benefits: ... IIS provides health monitors that a WCF services can take advantage of. ... Wouldn't TCP be faster? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: how to configure host headers for 3 IIS machines ?
    ... The CS-Host field is sent by the client. ... If the server is configured with host headers only, ... Kristofer Gafvert - IIS MVP ...
    (microsoft.public.inetserver.iis)
  • Re: Win XP MCE - Multiple ASP website hosting?
    ... You'll need to spend some time with google, but essentially you add some asp to the default page to examine the host header. ... We also used third party email server and FTP server ... I can't find any way to upgrade IIS to v5.1 full or IIS 6 so we can serve multiple sites. ...
    (microsoft.public.windows.mediacenter)