I'm very new to C # and .NET, and I ran into a problem, and I'm not sure which direction I need to go.
My company works with a third-party subscription system for many functions, including billing and renewal. This system has the ability to automatically send email when certain events are triggered. For example, each subscription goes through, as we call, a series of updates. This series consists of several endeavors throughout the life of a subscription.
When a subscription qualifies for certain efforts in this series, we can create an event that causes the system to send an HTTP POST request to the given URI with an XML payload. The endpoint (.aspx page) receives the request, processes it and returns a response, in this case, HTML code. HTML is then sent via email using the runtime system.
I have a basic web application built using several of these .aspx pages. Each page has a corresponding .cs code per file.
Here is where my question really begins. In our execution system, we can only define one endpoint per event / product combination. Thus, no matter what effort is signed at that moment, the event itself is the same. However, this is an HTTP POST XML request. It is in the XML that I can tell for what efforts the request was created. The reason this is important is because the HTML address of the corresponding email is different for each effort. To put it a bit differently, the HTML that needs to be rendered differs, from top to bottom, with an effort of 1 than an effort of 2. Effort 2 is different from effort 3, etc.
So, I'm trying to figure out how to "configure traffic." Since all of these requests come to the same endpoint, I need to dynamically return the correct HTML for the appropriate effort.
.aspx , . PlaceHolder, . Visible true false, .
, HTML- .
, , . , ? , ? ?