473,405 Members | 2,379 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,405 software developers and data experts.

How to replace SSIs

Hello,
We are incorporating a new .NET application into an existing ASP
application. We currently make heavy use of server side includes to
incorporate the branding for specific customers. These includes contain
variables and such that are then repeatedly used throughout the
remaining ASP pages. Customers are in control of their branding and as
they make changes, we re-write the include file. We need to keep this
functionality.

I've create a .NET application and I need to be able to incorporate
these server side includes into my .NET pages as well, so that I can
use the variables defined in the includes within my .NET pages. How can
I do this? I have simply included the files like normal but the server
side include is read and processed after the .NET page load function
has run.

Any advice is much appreciated!

Thanks!

Jun 12 '06 #1
3 987
SSI were replaced by MasterPages

check the use of MasterPages so you can know what you want to do.

--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"LilC" <ca*********@hotmail.com> escreveu na mensagem
news:11**********************@f6g2000cwb.googlegro ups.com...
Hello,
We are incorporating a new .NET application into an existing ASP
application. We currently make heavy use of server side includes to
incorporate the branding for specific customers. These includes contain
variables and such that are then repeatedly used throughout the
remaining ASP pages. Customers are in control of their branding and as
they make changes, we re-write the include file. We need to keep this
functionality.

I've create a .NET application and I need to be able to incorporate
these server side includes into my .NET pages as well, so that I can
use the variables defined in the includes within my .NET pages. How can
I do this? I have simply included the files like normal but the server
side include is read and processed after the .NET page load function
has run.

Any advice is much appreciated!

Thanks!

Jun 12 '06 #2
Yes but the master page would need to have different code for each
customer and we'd prefer to not have to make a database call within the
master page (which would be on every page) in order to get that
customer's branding code. The server side includes contain the HTML
that the customer has specified for their branding so it's faster to
just include that file. But I need to be able to access the variables
that are defined within that include.

Bruno Alexandre wrote:
SSI were replaced by MasterPages

check the use of MasterPages so you can know what you want to do.

--

Bruno Alexandre
(a Portuguese in Københanv, Danmark)
"LilC" <ca*********@hotmail.com> escreveu na mensagem
news:11**********************@f6g2000cwb.googlegro ups.com...
Hello,
We are incorporating a new .NET application into an existing ASP
application. We currently make heavy use of server side includes to
incorporate the branding for specific customers. These includes contain
variables and such that are then repeatedly used throughout the
remaining ASP pages. Customers are in control of their branding and as
they make changes, we re-write the include file. We need to keep this
functionality.

I've create a .NET application and I need to be able to incorporate
these server side includes into my .NET pages as well, so that I can
use the variables defined in the includes within my .NET pages. How can
I do this? I have simply included the files like normal but the server
side include is read and processed after the .NET page load function
has run.

Any advice is much appreciated!

Thanks!


Jun 12 '06 #3
In article <11**********************@h76g2000cwa.googlegroups .com>, LilC
<ca*********@hotmail.com> writes
Yes but the master page would need to have different code for each
customer and we'd prefer to not have to make a database call within the
master page (which would be on every page) in order to get that
customer's branding code. The server side includes contain the HTML
that the customer has specified for their branding so it's faster to
just include that file. But I need to be able to access the variables
that are defined within that include.


Depends on how much variation there is between your cusomters' HTML and
code. If the code and variables are all the same, but the presentational
aspect of the HTML is different, then you could look at using themes.
Coupled will a good implementation of CSS-based layout and skins, this
would enable you to have one master page for everyone, and just
implement a different theme for each customer.

If you don't think this will give enough possibility for visual
variation, look at www.csszengarden.com and see how much it is possible
to change the visual display with CSS alone. Once you factor in skins as
well, you have a lot of power.

HTH

--
Alan Silver
(anything added below this line is nothing to do with me)
Jun 19 '06 #4

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

Similar topics

0
by: stant | last post by:
I am trying to call a mainframe cobol DB2 Stored Procedure from an SSIS 2005 SQL Task in BIDS. I believe that privileges and the number of parameters (6) are fine. I've tried casting and still have...
0
by: AMAN | last post by:
Hi all, I am a newbie to SSIS.Need a solution to couple of issues I am currently facing while developing ETL in SSIS 1) Under SSIS Package Folder I have defined mappings for 17 dimensions....
1
by: SQLNewbie | last post by:
Hi all, New to SQL Server - trying to create an SSIS package that will look for and import a series of Visual Foxpro tables (.DBFs) when they appear in a folder. The tables are/can be all...
1
by: Eric | last post by:
In MS Excel, the ability exists to run a "web query." This function is accessed via the data menu's import external data option. The web query wizard accepts a URL address, and then is able to...
0
by: fboweb.com | last post by:
Hey there! I have a DTS import package from an old SQL server that takes flat text files, does some munging on the columns using ActiveX scripts and imports those flat files to various tables. ...
1
by: oregondba | last post by:
We are attempting to load a DB2 v9 table with SQL Server Integration Services. The DB2 data exists on AIX and is built with a codeset of 1252. The SSIS server has the DB2 V9 client and we are...
0
by: Silly Milly | last post by:
Calling ALL SSIS GURUS I am trying to import identical MDBs (Access Database) columns into SQL Server 2005 using foreach loop in SSIS. The data and file name of the MDBs are not the same; however...
1
by: rmsterling | last post by:
All, Subject : SQL Server 2005 SSIS Script Help - XML Secure Pull in to DB table I was wondering if any of you could help me with something..... I want to design a SSIS script that will pull...
9
by: gelangov | last post by:
I have 2 variables, one is the column name of the table and the other one is the table name and I need to write this in the "Execute SQL task" of a "For each loop" container in a ssis package like...
6
by: jags_32 | last post by:
We have spent days trying to perform a proof of concept and I am dissappointed with SSIS to say the least. We are trying to connect and fetch data from a Double Byte Progress database and the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
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...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.