473,322 Members | 1,352 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,322 software developers and data experts.

stamping a page

Is there any way to stamp a page with a version nu, perferably from
Subversion or a date stamp by MS Dev Studio?
I want to know what version of a web page I have posted to my server, so I
can figure out if a problem occurred with a particular version?
If I were programming in C++, I could use the #pragma directive, but I don't
know how to do this programmitically in VB or C#
Aug 29 '08 #1
1 1171
The version is stored in AssemblyInfo.cs like this:

[assembly: AssemblyVersion("2.1.1.1")]

You can view it at runtime like this:

Label1.Text =
System.Reflection.Assembly.GetExecutingAssembly(). GetName().Version.ToString();

Note also there's an article here on auto-incrementing the build number:

http://www.codeproject.com/KB/dotnet...t_Version.aspx

Is that what you meant?

Ken
Microsoft MVP [ASP.NET]
Author: ASP.NET 3.5 For Dummies
"support" <su***********@people-places-work.infowrote in message
news:%2******************@TK2MSFTNGP06.phx.gbl...
Is there any way to stamp a page with a version nu, perferably from
Subversion or a date stamp by MS Dev Studio?
I want to know what version of a web page I have posted to my server, so I
can figure out if a problem occurred with a particular version?
If I were programming in C++, I could use the #pragma directive, but I
don't know how to do this programmitically in VB or C#

Aug 29 '08 #2

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

Similar topics

1
by: Michael Brennan-White | last post by:
If I submit my for using a get action the resulting page loads . If I use a post action I get an error page saying "The page cannot be found". I am calling the originating page!!! This happens...
0
by: Nathan | last post by:
Hi, I seem to having a peculiar problem with the display of odd and even pages in XSL-FO. Here is a small background of the problem. My xsl stylesheet mentions my fo:layout-master-set as ...
0
by: Paul Telco | last post by:
Dad, Nope, never heard of 'Tartiflette'. I suppose it shouldn't be a surprise that there is a French version of Raclette. The website is strange isn't it? On the one hand it is a demonstration...
1
by: Osiris Sawiris | last post by:
Hi to all, I have an application running on 20 workstations with the backend database located on one of these stations. The stations are running Windows 98, ME, and XP. and the application is...
2
by: James | last post by:
I've been to websites where if I navigate off a form, trying to get back to it by hitting the back button gives me a page which says "Warning, page has expired". It doesn't display the page. I've...
2
by: John Lau | last post by:
Hi, Is there documentation that talks about the page lifecycle, the lifecycle of controls on the page, and the rendering of inline code, in a single document? Thanks, John
0
by: stormey | last post by:
Hi. Our company just bought another company and we are incorporating all there data. I need to write a program in vb 6.0 or vb.net that will open all there pdf's and put a stamp on them. Each...
3
by: Mick | last post by:
Hi Is there a way of independently date and time stamping a record when it is created without relying on the computers own date and time setting? The PC will be standalone and only have...
1
by: support | last post by:
Is there any way to stamp a page with a version nu, perferably from Subversion or a date stamp by MS Dev Studio? I want to know what version of a web page I have posted to my server, so I can...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.