.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Forecast: Cloudy: Load Balancing Private Endpoints on Worker Roles

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :ASP.Net

A client needed to load-balance private service endpoints on Windows Azure Worker Roles without taking on the latency of a queuing operation. I'll walk you through one possible solution to this problem.

Joseph Fultz

MSDN Magazine May 2011

View Complete Post

More Related Resource Links

Load balancing and Custom Filters in WCF 4.0 Routing Services

Hi, Couild someone please guide me to various ways of achieving load balancing using Router Service. i tried seeing few Blogs and tried to understand the round robin concept and the custom filters conceptr. but i m not able to see any specific site which would guide me on various examples of custom filters .And round robin seems a bit complex. http://blogs.msdn.com/b/routingrules/archive/2010/04/14/load-balancing-at-the-routing-service.aspx The above link gave me some insight  . is there any othe way of achieving load balancing other than Round robin. I did go through the samples of Routing services in WCf training Kit Thanks

Load Balancing/Load Sharing features in SQL Server 2005/2008

Is there any load balancing features in SQL Server? My understanding is that SQL Server Clustering is not a load balancing feature.  Other features seem to be more like load sharing features: Degrees of Parallelism Table Partitioning Resource Governor seems to be more like a resource allocation feature.          

Load balancing using web service

Hi Friends                 Presently we are developing a windows product using dot net, combined with sas (another language). If sas not get installed in local machines then we are in need of using server machine which has sas with it, we are using socket programming to communicate with server machine, Problem is when more number of requests comes to the server for processing sas it is becoming slow, so we need  Load balancing If we go with web service which is having same domain name but different ip address mapped using Domain Name System (DNS) We will get work done faster     What i want is will this work fine, what else i have to done for achieving this, how can i test itWaitingBalaji Manoharan  

Is network load balancing improved for TCP remoting in .Net 2.0 ?


The MSDN TV broadcast for improvements in .Net remoting 2.0 says that the Socket Cache for TCP has been improved to allow for better load balancing.

I cant find any other information about this.

Does this mean that Network Load Balancing is now viable for .Net Remoting 2.0 using the TCP channel ? ( some previous posts say that NLB does not work ideally with older .Net remoting TCP connections )


What are Best practice for setting up databases in a distributed load balancing environment



What is the best practice out of the following in a distributed load balancing environment:

keep application database and persistent/tracking database seperate

Keep application , persistence , tracking data all in one database.



SharePoint 2007 feature deployment in a load balancing environment


I'm looking for information to know how to deploy a Sharepoint 2007 solution (via WSP) in a load balancing environment.  Is it possible to isolate one server at a time.

Daniel Siconnelli There is neither good nor evil... only mogwais and gremlins

Load Balancing WSS WFEs (2007)

I have a CentralAdminServer which hosts an application, which users use and can navigate to at http://server/site.  I added an application server to the farm to support the application; users cannot browse to this because it is purely an application server.  I want to add a WFE on http://server2 so that users can browse to the application as http://server2/site.  Instead of using AAM, I want to use a load balancer.

If I add a WFE to this configuration (as stated previously), can I simply add http://server/site and http://server2/site to the load balancer?  And then add the Load Balanced URL to the application settings in central admin?

I shouldnt have to set AAM, right?  The load balancer will determine where the requests go and then the application will determine which app server to use, correct?


Load balancing on SQL 2005 Standard ?


SQL 2005 Standard.

Hi I would like to find the best approach to load balancing some SQL 2005 Servers taking in mind also the future scaling out of tens or hundreds servers.

I found this article: http://goo.gl/zP1R that writes about P2P replication, Table partitioning and Database mirroring but:

- P2P replication is limited to 12 servers
- table partitioning is not related to our case
- From what I know Database mirroring is only a high-availability solution, isn't it ?

What do you think ? Which is the best solution ?

Is SQL 2008 better in this area ? Could I upgrade to better meet these points ?


WCF Service configuration in Web Farm and Load Balancing envrionment.


I want to configure ASP.NET Website Project using WCF Service[NetTcp] (both in c#) for web-farm (for website) and NLB Load balancing (for service). I would like to configure following options for same.

NetTcpBinding.maxConcurrentCalls, NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections

Note: During single machine configuration when I changed value of NetTcpBinding.ListenBacklog and NetTcpBinding.MaxConnections in WCF Service project to more that 10, which is default value. I got exception. When I changed this value in Website it was working fine. Due to this I had to keep in default configuration. Not sure why this is the case. If anyone could explain this it would be helpful.

Following reference gives idea how to configure in given environment but does not tell how to go about it.

Ref: http://msdn.microsoft.com/en-us/library/ee377061%28BTS.10%29.aspx

Let me simplify a bit. Lets say I have following configuration.

  • 2 IIS servers in Web Farm.
  • 3 WCF Service Servers (NetTcp) in NLB
  • Default config. for single instance.
    • NetTcpBinding.ListenBacklog: 10
    • NetTcpBinding.MaxConnections: 10
    • NetTcpBinding.maxConcurrentCalls: 16

Forecast: Cloudy: Performance-Based Scaling in Windows Azure


One of the great features of cloud computing is the ability to scale up or down to serve the needs of the application owner. We'll show you a technique for programmatically scaling your app in Windows Azure based on application performance.

Joseph Fultz

MSDN Magazine October 2010

Forecast: Cloudy: SQL Azure and Windows Azure Table Storage


When migrating your applications to Windows Azure, there are several data storage options to choose from. We'll look at strengths of SQL Azure and Windows Azure Table Storage to help you understand which is the right choice for your app.

Joseph Fultz

MSDN Magazine November 2010

Matching C# methods with a pattern finding the Public, Private, etc modifiers and balancing the curl


Hello all,

For a large conversion project, we need to match certain key words within C# methods and remove the entire method if found. I know .Net has a feature that allows balanced matching on the curly braces, but I am not sure how to implement it.

In a two step process, you could match the modifiers Public, Private, etc and their balanced curly braces to identify the methods and then remove those that contained the key words. In a one step process, I think you could use a positive lookahead for the key words as well.

Could someone help me with the pattern that has the balanced curly brace logic with the modifiers to identify the methods? Thanks in advance for any ideas and/or suggestions.


Have a great day!

I need complete tutorial about MSSQL 2008 Database mirroring for load balancing


I need complete tutorial about MSSQL 2008 Database mirroring for load balancing

i want to load balance my SQL workload

all database insert update and delete queries will be mirrored

all select queries will be load balanced

sql servers will run at windows server 2008r2 at different computers (VPS)

Browser based Pokemon MMORPG Pokemon Craft Developer Used asp.net 4.0 routing at it's Pokedex

SharePoint 2010 Network Load Balancing and Kerberos Authentication


Hello all. Thanks for taking a look at this...

To put it simply, kind of, I have a SharePoint 2010 farm with 1 web application (non default port) using kerberos authentication with 2 load balanced web front end servers.

NLB = web.domain.com

The NLB is setup at web.domain.com (on port 80), as mentioned above, and directs traffic to either web server on port 8090.

An SPN has been setup for the NLB url with the web applications service account.
Delegation has been setup on the web app account and the web servers.
I am not using host headers for this web app.
I have setup the useapppoolcredentials instead of disabling kernel mode in IIS7 (tried it with it disabled too)

I tried this just in case...Registered SPNs for both web servers, with and without port numbers, and with and without fqdns.

The Problem
Kerberos authentication will not work when the NLB is set at port 80. If I set the NLB to match the web application port, 8090, kerberos authentication works fine and all is well.

This may be an obvious issue, but i cant put my finger on what I am missing.

Simply put, i would just like to have the users type in web.domain.com (the NLB url) instead of having to put in web.dom

ASP.NET Architecture - ASP.NET Worker Process - HTTP Pipleline - Http Modules and Handlers

"ASP.NET is a powerful platform for building Web applications, that provides a tremendous amount of flexibility and power for building just about any kind of Web application. Most people are familiar only with the high level frameworks like WebForms and WebServices which sit at the very top level of the ASP.NET hierarchy. In this article I'll describe the lower level aspects of ASP.NET and explain how requests move from Web Server to the ASP.NET runtime and then through the ASP.NET Http Pipeline to process requests.

ASP.NET forms authentication with roles

.A timeout is specified in minutes. This is "time since last request" not the "time since login". If a login is indicated to be persistent (described later) this is ignored.
.A protection method is specified for the cookie.
Next I wanted to specify a folder to which access is restricted to people who have logged in. To do this I entered the following code in the web.config file (beneath

Combine, minify and compress JavaScript files to load ASP.NET pages faster

Websites are getting more interactive these days and most of this interactivity comes from JavaScript. People are using different JavaScript libraries and frameworks to make their websites more interactive and user friendly.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend