pipeline

Best practices for development environment and API dev?

My current employer uses a 3rd party hosted CRM provider and we have a fairly sophisticated integration tier between the two systems. Amongst the capabilities of the CRM provider is for developers to author business logic in a Java like language and on events such as the user clicking a button or submitting a new account into the syst...

Flexible compiler pipeline definitions...

I'm developing a compiler framework for .NET and want a flexible way of defining pipelines. I've considered the following options: WWF Custom XML pipeline description Custom pipeline description in code (using Nemerle's macros to define syntax for it) Other code-based description Requirements: Must not depend on functionality only...

Benefits of using short-circuit evaluation

boolean a = false, b = true; if ( a && b ) { ... }; In most languages, b will not get evaluated because a is false so a && b cannot be true. My question is, wouldn't short circuiting be slower in terms of architecture? In a pipeline, do you just stall while waiting to get the result of a to determine if b should be evaluated or not? Wo...

How do you determine if WPF is using Hardware or Software Rendering?

I'm benchmarking a WPF application on various platforms and I need an easy way to determine if WPF is using hardware or software rendering. I seem to recall a call to determine this, but can't lay my hands on it right now. Also, is there an easy, code based way to force one rendering pipeline over the other? ...

Is it possible to terminate or stop a PowerShell pipeline from within a filter

I have written a simple PowerShell filter that pushes the current object down the pipeline if its date is between the specified begin and end date. The objects coming down the pipeline are always in ascending date order so as soon as the date exceeds the specified end date I know my work is done and I would like to let tell the pipeline...

IIS, Asp.NET pipeline and concurrency

I'm wondering how the concurrency in a web application actually works. Ive read several articles and to my understanding multiple instances of HttpApplication would be working at the same time. Now, I created a simple web app to test concurrency and put the following to global.asax: protected void Application_BeginRequest(object sender,...

How can you diff two pipelines in Bash?

How can you diff two pipelines without using temporary files in Bash? Say you have two command pipelines: foo | bar baz | quux And you want to find the diff in their outputs. One solution would obviously be to: foo | bar > /tmp/a baz | quux > /tmp/b diff /tmp/a /tmp/b Is it possible to do so without the use of temporary files in ...

SSIS - ProcessInput in PipelineComponent gets called more than once

H guys. I'm developing a custom component for SSIS. I'm having a problem when processing inputs. The problem is that the "ProcessInput" method gets executed more than once. Two times in this case. This is the process input snippet: public override void ProcessInput(int inputID, PipelineBuffer buffer) { IDTSInput90 input = Component...

Biztalk Splitting a file and the use of

Hi! In Biztalk 2006 I have a custom pipeline that split a file into many files, before each file get mapped. In the send pipeline I use "Use Temporary file for writing". My question is: When splitting messages and use "Use Temporary file for writing", will every one of the splitted files be moved to the out folder from the temp folder a...

What part of the ASP.Net framework do you use to execute arbitrary code on every inbound request to IIS?

I'd like to run a discrete chunk of .Net code for each and every request that comes through a certain Web site in IIS. This is completely isolated code -- it doesn't affect anything before or after it -- it logs some information from the request, then ends. Note that this is not something I can put in Application_OnRequestBegin or some...

Is there an event in the request pipeline where both Request and Response are available and populated?

I need to bind to an event in the request pipeline where both the Request and Response are populated. The Request is simple, but I need the StatusCode off the Response object. At what point in the pipeline is the Response populated? ...

Can a request be handled and ended prematurely, early in the pipeline?

I have an HttpModule that has bound an event handler to EndRequest. Is there any way to handle the request inside the event handler? Meaning, I don't just want to run code and keep the request moving -- I want to stop it dead in its tracks, return a 200 Status Code, and call it a day, without it request continuing to the next step in t...

How do you persist data from one HTTP module to another and to the eventual handler?

From an HTTP module, is there a way to persist something in the Request to be accessed by a mater module or the eventual handler? Can you "stick" something on the Request as it passes through that will still be there later in the pipeline? ...

Why don't PreSendRequestHeaders and PreSendRequestContent run consistently?

When working with HTTP modules, has anyone noticed that the final two events in the pipeline -- PreSendRequestHeaders and PreSendRequestContent -- don't always run? I've verified that code bound to EndRequest will run, but will not when bound to either PreSendRequestHeaders or PreSendRequestContent. Is there a reason why? I thought pe...

Do I need to change anything programmatically to leverage the integrated pipeline in IIS7?

Do I need to change anything programmatically to leverage the integrated pipeline in IIS7? If so, what's the best way to degrade gracefully and remain functional on IIS6? Thanks! ...

Perform xml transformation and filtering in java

I'd like to filter a couple of nested xml elements, evaluation of their attributes. For this purposes I'm searching a efficient and lightweight java api or framework. The main requirements are: filtering of element bodies, based on some pattern or condition event based XML transformation My first idea was apache jelly, but jelly h...

Problem with IIS7 and integrated pipeline

Hi, I have a problem with IIS7 and integrated pipeline. Previously I had win xp with IIS 5 and everything worked correctly. I have migrated my application to IIS 7 in Vista I have decided to put the pipeline mode of my application pool to integrated mode (which in theory is better). All things are working properly except one… The prob...

This operation requires IIS integrated pipeline mode.when i am trying to access the length or size of headers

hi, i am using IIS 6 n facing problem when trying to get length or total no. of headers using HttpModule.. ...

ASP.NET Control Render Pipeline

I have an issue with a pager control i am building. My code is the following protected override void CreateChildControls() { base.CreateChildControls(); pnl = new Panel { ID = "NewsPager", CssClass = "NewsPager" }; Controls.Add(ddl); AddPagerControls(); } AddPagerControls adds a bunch of LinkButtons that use the same event h...

How can I test client pipelining in java?

Can anyone suggest a simple setup of a servlet in java that supports pipelining? (It is for unit testing, so simplicity is better than scaleability). ...