473,326 Members | 2,128 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Middle tier for ASP.NET / Load balance

Hello All,

For my ASP.NET application, I am trying to have my middle tier (currently
logical layer) dll's to be loaded dynamically.
The aim is not to kill the sessions when I need to update those DLLs. (I
know that, I can stop app recycle when bin, web.config or folder changes)

Ideally, I would like load balance my middle tier dll's from a load balanced
machines.
Now, I am trying to findout which way is the best way to go.

I've heard/tried several things
1. People say to use web services (but it is a bit late for me because of
the current architecture)
2. I tried remoting in the past but did not succeed that much, always high
cost, high maintenance, doesn't work all the time
3. I heard that WCF can do some help to me.

And I have a hardware load balancer which can help in load balancing.

Now, can someone tell me the ultimate way to go in enterprise level? I need
a world class solution but not sure which one to research for and not enough
time.

Thanks in advance.

--

SevDer
http://www.sevder.com
A New Source For .NET Developers
Nov 3 '08 #1
3 4316
Have your asp.net application "talk to" WCF services, instead of directly to
the BAL.

I would look at Greg Leake's "stocktrader" application if you want easier
deployment of N number of WCF machines.
http://msdn.microsoft.com/en-us/netf.../bb499684.aspx
It is NOT a trivial learning curve, but the benefits are really good.
Here is a starter article:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!158.entry
If you're only going to have asp.net as a "wcf client", then I would stick
to the "DotNet to DotNet" implementation, as that blog entry discusses.
The code is download-able, and within 5 minutes you can have
TestWCF1.aspx
calling a WCF service.
Caching is trickier on the MiddleTier side. You can (of course) cache on
the WebServer side of things.



"SevDer" <se****@newsgroup.nospamwrote in message
news:OT*************@TK2MSFTNGP05.phx.gbl...
Hello All,

For my ASP.NET application, I am trying to have my middle tier (currently
logical layer) dll's to be loaded dynamically.
The aim is not to kill the sessions when I need to update those DLLs. (I
know that, I can stop app recycle when bin, web.config or folder changes)

Ideally, I would like load balance my middle tier dll's from a load
balanced machines.
Now, I am trying to findout which way is the best way to go.

I've heard/tried several things
1. People say to use web services (but it is a bit late for me because of
the current architecture)
2. I tried remoting in the past but did not succeed that much, always high
cost, high maintenance, doesn't work all the time
3. I heard that WCF can do some help to me.

And I have a hardware load balancer which can help in load balancing.

Now, can someone tell me the ultimate way to go in enterprise level? I
need a world class solution but not sure which one to research for and not
enough time.

Thanks in advance.

--

SevDer
http://www.sevder.com
A New Source For .NET Developers

Nov 3 '08 #2
Thanks a lot.
I will review and let you know if I have problems.
Also is this the best approach or there are alternatives?

Thanks again.

"sloan" <sl***@ipass.netwrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
Have your asp.net application "talk to" WCF services, instead of directly
to the BAL.

I would look at Greg Leake's "stocktrader" application if you want easier
deployment of N number of WCF machines.
http://msdn.microsoft.com/en-us/netf.../bb499684.aspx
It is NOT a trivial learning curve, but the benefits are really good.
Here is a starter article:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!158.entry
If you're only going to have asp.net as a "wcf client", then I would stick
to the "DotNet to DotNet" implementation, as that blog entry discusses.
The code is download-able, and within 5 minutes you can have
TestWCF1.aspx
calling a WCF service.
Caching is trickier on the MiddleTier side. You can (of course) cache on
the WebServer side of things.



"SevDer" <se****@newsgroup.nospamwrote in message
news:OT*************@TK2MSFTNGP05.phx.gbl...
>Hello All,

For my ASP.NET application, I am trying to have my middle tier (currently
logical layer) dll's to be loaded dynamically.
The aim is not to kill the sessions when I need to update those DLLs. (I
know that, I can stop app recycle when bin, web.config or folder changes)

Ideally, I would like load balance my middle tier dll's from a load
balanced machines.
Now, I am trying to findout which way is the best way to go.

I've heard/tried several things
1. People say to use web services (but it is a bit late for me because of
the current architecture)
2. I tried remoting in the past but did not succeed that much, always
high cost, high maintenance, doesn't work all the time
3. I heard that WCF can do some help to me.

And I have a hardware load balancer which can help in load balancing.

Now, can someone tell me the ultimate way to go in enterprise level? I
need a world class solution but not sure which one to research for and
not enough time.

Thanks in advance.

--

SevDer
http://www.sevder.com
A New Source For .NET Developers


Nov 4 '08 #3
My personal opinion is that you can scale the middle tier, and get by with
alot less webservers.
2 WebServers
6 MiddleTier Machines
1 DB Server

Something like that.

.......

Currrently, I use WCF with named pipes..thus my "WCF Service" actually runs
on the same machine. But I have the logical boundary, and thus I can go to
a physical boundary at any time with some config file changes.

.........

WCF is more abstract than remoting, and has more features and less
headaches.
WCF can expose a WebService endpoint when needed, but you should expose
other end points when you're doing DotNet to DotNet, because there are
better ~performing~~ endpoints than a WebService.
WebService is good for when you need DotNet, Asp, Java, to work with your
app.
But my opinion is that this is a good way to scale.

"SevDer" <se****@newsgroup.nospamwrote in message
news:uw**************@TK2MSFTNGP04.phx.gbl...
Thanks a lot.
I will review and let you know if I have problems.
Also is this the best approach or there are alternatives?

Thanks again.

"sloan" <sl***@ipass.netwrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
>Have your asp.net application "talk to" WCF services, instead of directly
to the BAL.

I would look at Greg Leake's "stocktrader" application if you want easier
deployment of N number of WCF machines.
http://msdn.microsoft.com/en-us/netf.../bb499684.aspx
It is NOT a trivial learning curve, but the benefits are really good.
Here is a starter article:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!158.entry
If you're only going to have asp.net as a "wcf client", then I would
stick to the "DotNet to DotNet" implementation, as that blog entry
discusses.
The code is download-able, and within 5 minutes you can have
TestWCF1.aspx
calling a WCF service.
Caching is trickier on the MiddleTier side. You can (of course) cache on
the WebServer side of things.



"SevDer" <se****@newsgroup.nospamwrote in message
news:OT*************@TK2MSFTNGP05.phx.gbl...
>>Hello All,

For my ASP.NET application, I am trying to have my middle tier
(currently logical layer) dll's to be loaded dynamically.
The aim is not to kill the sessions when I need to update those DLLs. (I
know that, I can stop app recycle when bin, web.config or folder
changes)

Ideally, I would like load balance my middle tier dll's from a load
balanced machines.
Now, I am trying to findout which way is the best way to go.

I've heard/tried several things
1. People say to use web services (but it is a bit late for me because
of the current architecture)
2. I tried remoting in the past but did not succeed that much, always
high cost, high maintenance, doesn't work all the time
3. I heard that WCF can do some help to me.

And I have a hardware load balancer which can help in load balancing.

Now, can someone tell me the ultimate way to go in enterprise level? I
need a world class solution but not sure which one to research for and
not enough time.

Thanks in advance.

--

SevDer
http://www.sevder.com
A New Source For .NET Developers



Nov 5 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mr. Smart | last post by:
I have a middle-tier written using Foxpro. I'd like this tier to coommunicate (that is pass some variables to ASP). I defined a Session variable somewhere in my ASP file, e.g. Session("Usercode") =...
62
by: SAN3141 | last post by:
There doesn't seem to be consensus about when to put code in the database or in the middle tier. There was a long discussion about this in an Oracle newsgroup (message ID:...
2
by: billym | last post by:
Does anyone know if C# (or .NET applications in general) can be load balanced on the middle tier simply by deploying them to multiple servers in a clustered environtment? If so, would this be...
0
by: JasonP | last post by:
Hi, I am trying to decide the best middle tier method for the system I am currently building. There are no issues of supporting previous software versions, etc as this is a completely new...
6
by: Ian Williamson | last post by:
Greetings, My company has an ASP.NET based enterprise product that is undergoing some changes and I need some community input to help solve a problem. In the current implementation, any given...
1
by: dgk | last post by:
How can I create a middle tier object using the standard databinding stuff? All the examples that I see in the books using the new 2005 controls just shows how to build stuff in two tiers. It...
3
by: Jules | last post by:
Sorry for being contentious title, but I am confused and concerned over the level of MS infrastructure support to the business logic layer. MS have great support to Web services, for EAI and B2B...
0
by: Ayoa | last post by:
I have a c# assembly which i have exposed to a VB COM object. Within the c# assembly, i implemented a singleton pattern which loads the cached from the database if the cache is null. This data does...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.