473,385 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 "incorporate" 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.UrlReferrer, perhaps within Session_Start event, and store
it in the session state
3. fill in Client Context data based on the Request.UrlReferrer, 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
MembershipProvider, 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 1216
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**************@TK2MSFTNGP04.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 "incorporate" 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.UrlReferrer, perhaps within Session_Start event, and
store it in the session state
3. fill in Client Context data based on the Request.UrlReferrer, 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
MembershipProvider, 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**************@TK2MSFTNGP04.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 "incorporate" 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.UrlReferrer, perhaps within Session_Start event, and
store it in the session state
3. fill in Client Context data based on the Request.UrlReferrer, 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
MembershipProvider, 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
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...
1
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...
3
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...
5
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...
3
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...
3
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
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...
4
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...
2
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.