.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

Load balancing and Custom Filters in WCF 4.0 Routing Services

Posted By:      Posted Date: September 07, 2010    Points: 0   Category :WCF
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

View Complete Post

More Related Resource Links

looking out Versioning WF4 services using custom filters in Routing service


Happen to see Matt Snider's post on a thread at http:/ /social.msdn.microsoft.com/Forums/en/wfprerelease/thread/0fa38041-f85b-4882-b350-77eaf6998c4a
In this he has given a list of possible solutions for implementing workflow service versioning. The last solution that he explains is . . .

Utilizing constructed correlation data in order to distinguish between v1 and v2 conversations (a client should be tied to a given version for the length of a conversation).

This is the same solution that I wanted to implement in my system, But I have no idea on how to implement it.

Please assist me to implement the same.

SQL Server 2005: Jazz Up Your Data Using Custom Report Items In SQL Server Reporting Services


Custom report items in SQL Server 2005 Reporting Services address your needs for custom reports without the pain of doing it from scratch.

Teo Lachev

MSDN Magazine October 2006

Office: Relive the Moment by Searching Your IM Logs with Custom Research Services


Often, IM conversations contain important information you'd like to keep and reuse. Fortunately, MSN Messenger 6.2 has a feature to keep a conversation history permanently in XML format. This article shows you how to leverage that conversation history by consolidating IM exchanges so they are indexed, searchable, and ultimately reusable using the Microsoft Office 2003 Research and Reference task pane.

John R. Durant

MSDN Magazine February 2005

SQL Server: Display Your Data Your Way with Custom Renderers for Reporting Services


SQL Server 2005 Reporting Servicesis a great tool that offers a centralized approach to storing and rendering reports. It also lets users view and download reports without installing additional software. Plus, reports can be saved in any number of different formats using custom report renderers. In this article, the author will develop one such report renderer that outputs HTML reports, but the skills you'll learn can easily be used to create a renderer for Microsoft Word documents or any other format of your choosing.

James Yip

MSDN Magazine February 2005

Contexts in .NET: Decouple Components by Injecting Custom Services into Your Object's Interception


The .NET Framework can use contexts as an object's execution scope and intercept calls going to and from the object, similar to the way COM+ provides component services. What is new with this mechanism is that the runtime allows developers to take part in the interception chain and add powerful services, thus extending existing component services. This in turn decouples the business logic from the system plumbing and simplifies long-term maintenance. Presently, .NET contexts and interception are undocumented aspects of .NET. This article presents the underlying interception architecture and message processing, explains custom context attributes, and walks through a custom interception-based component service.

Juval Lowy

MSDN Magazine March 2003

Office XP: Build a Custom DLL to Expose Your Objects and Services Through Smart Tag Technology


Smart Tags is a new technology delivered with Office XP that makes it easy for users to complete common tasks on familiar and relevant data regardless of the application they are using. Microsoft provides tools to make it easy to roll out simple Smart Tag applications using XML as a backbone. The Smart Tag SDK provides the detail needed to build a COM automation server for Smart Tags in Visual Basic or Visual C++. This article brings the reader through the SDK to outline the process of building a Smart Tag DLL using the tag recognizer and the action provider to create customized user experiences.

Paul Sanna

MSDN Magazine January 2002

Slow load time of custom assembly on x64 compared to x86.

I am developing an application that automatically generates assemblies using the CSharpCodeProvider (.Net Framework 3.5).  These assemblies contain a single class with a very large number of local variables and methods.  After compilation I create an instance of this class (using Activator.CreateInstance) to be used elsewhere in the application.  When the application is deployed on a 32-bit system (tested on Win 7 Prof 32-bit and on Win XP) the CreateInstance method returns after 1 or 2 seconds, i.e. it first JITs the assembly before creating the instance.  However, on a 64-bit system (tested on Win 7 Home 64-bit, Win Server 2003 64-bit and Win Server 2008 64-bit) CreateInstance takes up to 5 minutes to return. Is there any reason why it would be that much slower on a 64-bit machine? I have tried many different options when compiling, such as setting the platform to x64, using the /optimize flag, etc, but none of these have made a difference. I also tried calling PrepareMethod on all the method in the class.  When I do this in the 32-bit environment, it takes approximately 10 seconds.  In the 64-bit environment it takes more than 3 minutes. As a last resort I tried ngen before constructing the object, but this made no difference in the execution time.

Custom SharePoint Timer Job doesn't run after changing code and restart timer services.

Hi We are facing an issue that our custom SharePonit Timer Job doesn't run after a changing the code. First, we developed and deployed a timer job. It worked fine for a few days, then we detected a memory leak and killed the OWSTIMER.EXE. (Maybe we should uninstall the timer job and restart the timer services nicely). We fixed the problem, redeployed the fix as a feature (assemblies are re-GACed ...) to our small SharePoint farm (one web server, one services server), restarted the SharePonit Timer Services. Now we can see the time job in Timer Job Definition in Central Admin but the job never runs (Since it doesn't run, the timer job status page doesn't have any info about it). We tried the same process in a dev environment with SharePoint signle box installation. The timer job just works fine. I did some search on Internet and followed some instruction to clear the cache from "C:\ProgramData\Microsoft\SharePoint\Config\1d50d73c-9bf1-4444-85a9-910ed050d1bf" by 1. Remove all the xml2. Clear the cache.ini with "1".3. restart the timer services. It still doesn't fix the problem.Please advise what else I can do. I even rename the timer job and redeploy it. It doesn't help. I checked the even log and SharePoing log and couldn't see anything wrong. Our OS is W2K8.         public override void FeatureActivated(SPFeatureReceiverProperties properties)        { 

Creating Custom Business Connectivity Services Connectors Using SharePoint Server 2010

Learn how to create a Business Connectivity Services (BCS) custom connector to integrate data sources into SharePoint Server 2010.

How to keep custom web part collapsed on page load

Hi, I have developed one custom web part and successfully deployed it on MOSS site. Now the requirement is that the custom web part should be collapse mode by default. how to do this? Which property need to set and where? Please suggest.

Reporting services + report parameters and custom dropdown length

Hi, I have some report and plenty of parameters inside that report. One of parameter contains values stored inside dropdown list (that are downloaded from db). Is there any way I can set the maximum length of that dropdown control? The problem is that when I expand drop down list I have a horizonal scrollbar because some values inside that dropdown list are too long. How can I customize this parameter and dropdown control so there will be no horizontal scrollbar and values inside it will always be visible?

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.          

After enabling routing, get 'Ajax client-side framework failed to load"

Hopefully someone's come across this before... After I try using routing on my web form & load my page I get a few javascript errors one after the other: Error: ASP.NET Ajax client-side framework failed to load.Error: 'Type' is undefinedError: 'Sys' is undefinedError: Object expectedError: 'Sys' is undefined   After fooling with this for awhile, I created a blank aspx page. It loaded fine. I drop a scriptmanager on the page & the errors above pop up. I've been using ajax controls up until this point, & they work just fine when I comment out my routing code so I know the toolkit is not corrupt. Its gotta be a config issue...just not sure where to go. It's a .net 4 web app on IIS7   Here's the code I added to my global.asax:void RegisterRoutes(RouteCollection routes)        {            routes.MapPageRoute("PageRouting","{department}","~/Subweb.aspx");        }protected void Application_Start(object sender, EventArgs e)        {            RegisterRoutes(RouteTable.Routes);        }   In my web.config I added the assembly: &

SSIS custom task calling web services response errors.

Hi             I have some code within a .Net 3.5 library which call a web service.  The web proxy class was created using WSDL command line tool.  Also the library is wrapped within .Net console, for testing the library works, and SQL Server Integration Services custom task, which is intended to use so that it will be part of the ETL process.    If I run the SSIS custom task and console application on a Windows XP everything works as expected.    However I am currently facing a problem where the response from the web service is not being interpreted correctly when running within the SSIS custom task on windows server 2008 R2, whereas the response from the web service is correctly understood when running the library within console application on the same server.    Has anyone come across this problem before or know any issues with SSIS and .Net libraries which call web services?

Excel services - web service and filters

Is is possible to use filters against excel services web service. I mean I have Pivot table in excel file. I would like to get this workbook by Excel Services web service and set filters.

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 )


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