473,618 Members | 3,005 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sharing Web Application (really expert level question)

Hello All,

The question may seem to be trivial, but I found it really was not, and I am
hoping that someone who has done it could share his/her experience.

How do I share my web application among my clients so it "becomes", or
appears to be, part of their websites?
Example: application showing current weather reports or stack prices, my
clients could "incorporat e" into their websites without actually hosting it.
In addition my service application needs to maintain client specific data.
Perhaps even list of each of my client users. You got the idea.

The obvious, simple solution is to create a separate copy of the application
for each client and configure accordingly. However, this is exactly the
solution I am trying to avoid. The reasons are obvious.

So, I think, the alternative is to:
1. tell my clients to setup subdomain forwarding with masking
2. check Request.UrlRefe rrer, perhaps within Session_Start event, and store
it in the session state
3. fill in Client Context data based on the Request.UrlRefe rrer, and keep in
the session state

My question is what are the potential problems with this approach?
The one I am aware of is that I will need a custom, smart
MembershipProvi der, if I chose to use this mechanism.

Are there any better ways of sharing my service application?

Thank you,

Tomasz
Nov 11 '06 #1
2 1224
Some ideas...
Start thinking like the page functioned like a banner ad that is fetched
from another site than which it will be displayed on. You can use a web
service or just simplify with query strings like an affiliate marketing
model. Don't expect any server-side functionality once the page or page
fragments are returned from your server. You can also return AJAX which
could then use JSON to make asynchronous calls back to your server.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://clintongallagher.metromilwaukee.com/
MAP http://wikimapia.org/#y=43038073&x=-...8&z=17&l=0&m=h

"thomas" <th****@thomas. comwrote in message
news:eQ******** ******@TK2MSFTN GP04.phx.gbl...
Hello All,

The question may seem to be trivial, but I found it really was not, and I
am hoping that someone who has done it could share his/her experience.

How do I share my web application among my clients so it "becomes", or
appears to be, part of their websites?
Example: application showing current weather reports or stack prices, my
clients could "incorporat e" into their websites without actually hosting
it. In addition my service application needs to maintain client specific
data. Perhaps even list of each of my client users. You got the idea.

The obvious, simple solution is to create a separate copy of the
application for each client and configure accordingly. However, this is
exactly the solution I am trying to avoid. The reasons are obvious.

So, I think, the alternative is to:
1. tell my clients to setup subdomain forwarding with masking
2. check Request.UrlRefe rrer, perhaps within Session_Start event, and
store it in the session state
3. fill in Client Context data based on the Request.UrlRefe rrer, and keep
in the session state

My question is what are the potential problems with this approach?
The one I am aware of is that I will need a custom, smart
MembershipProvi der, if I chose to use this mechanism.

Are there any better ways of sharing my service application?

Thank you,

Tomasz

Nov 12 '06 #2
The easiest way to share data is to provide a web service. If necessary,
code a page or control they can include in their site that is "pre" set up
to pull the information, pictures, etc.

If this is not an option, you can set up subdomains like
applicationName .domain.com. This requires working rather closely to their
people to set up the DNS entries and may cause you a bit of pain.

Wrapping you functionality in a IFrame, or similar, is another (low-tech)
option.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"thomas" <th****@thomas. comwrote in message
news:eQ******** ******@TK2MSFTN GP04.phx.gbl...
Hello All,

The question may seem to be trivial, but I found it really was not, and I
am hoping that someone who has done it could share his/her experience.

How do I share my web application among my clients so it "becomes", or
appears to be, part of their websites?
Example: application showing current weather reports or stack prices, my
clients could "incorporat e" into their websites without actually hosting
it. In addition my service application needs to maintain client specific
data. Perhaps even list of each of my client users. You got the idea.

The obvious, simple solution is to create a separate copy of the
application for each client and configure accordingly. However, this is
exactly the solution I am trying to avoid. The reasons are obvious.

So, I think, the alternative is to:
1. tell my clients to setup subdomain forwarding with masking
2. check Request.UrlRefe rrer, perhaps within Session_Start event, and
store it in the session state
3. fill in Client Context data based on the Request.UrlRefe rrer, and keep
in the session state

My question is what are the potential problems with this approach?
The one I am aware of is that I will need a custom, smart
MembershipProvi der, if I chose to use this mechanism.

Are there any better ways of sharing my service application?

Thank you,

Tomasz

Nov 13 '06 #3

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

Similar topics

1
4101
by: Dennis Gavrilov | last post by:
Hi, All! I have two questions: strategic and technical. Technical one first: I need to share an array of objects (implemented as hashes, having references to other objects and hashes, sharing done after blessing) between all of the mod_perl2 threads. The structure can grow quite big - tenths of thousands of array elements. It can grow as system operates (not possible to construct at apache startup). Sharing array is OK, but inserting...
1
1944
by: Simon Neve | last post by:
Hello, This question is related to sharing .Net projects across solutions and is reposted from the SourceSafe group. We have several different solutions and want to share common assemblies across them. Is it best to share the project and its files to each solution (each solution has it's own shared project), or have each solution point to the same file location of the project?
3
2845
by: Robert W. | last post by:
I'm embarking on a project that will have both a desktop application and a Pocket PC application. It seems logical to have as much code as possible sitting in a shared project, which would be referenced and utilized by both the Windows Forms application and the Mobile Device application. Are there any "gotchas" (ie. warnings) that anyone knows about in following this approach? Robert W. Vancouver, BC
5
10509
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to do this? (IIS 5 or 6 In case you're wondering why I would do this, we have many web sites on a single server, and there are groups of sites that need to share common configuration information. I'd like to ease some administration by having one...
3
1356
by: Chris Dunaway | last post by:
How can a class be shared between a web service and a client that consumes the web service? Suppose I have a Class Libraray with the following simple class: Public Class SimpleClass Private _AnInteger As Integer Public Property AnInteger As Integer Get
3
1998
by: grooby | last post by:
I would like to develop an asp.net Web application using muliple web projects under one solution file and share the session information between web applications( or projects). Is this possible?
2
1854
by: Matthew Hood | last post by:
My company has expressed a desire to convert an existing MS Access application to a full VB.NET application. My experience is with VB6 so I want to ask a few questions and get some input on the best way to handle the following design: Situation: We want to allow our customers to install with one of the following options: 1. Use an Access MDB file as the data backend. 2. Use a SQL Server backend. (Either MS SQL, or MySQL) 3. Use an...
4
2204
by: Ravi Ambros Wallau | last post by:
Hi: We developed a set of ASP.NET Web Applications that never runs in stand-alone mode, but always inside a portal (Rainbow Portal). All modules are copied on that portal. My question is: load time takes, sometimes, three or four of minutes in a medium-level machine (a PIII 1.5 Ghz), when the binary contents are changed, or if the time of last modification of the web.config file is changed. An application that runs in "stand-alone" mode...
2
9038
Airslash
by: Airslash | last post by:
Hello, I'm not an expert on writing C# code, but I've been busy alot on a multithreaded application to manage database information. I've finally managed to get the multithreading part working, by using these forums and google, and I really would like to share something, because I think it can be annoying sometimes to get it to work right. In my application I'm using alot of preload functions that run in a seperate thread, and a...
0
8653
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8304
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8455
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7126
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5552
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4065
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2587
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1459
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.