TheChief
MVP Developer
Registered:1163009962 Posts: 146
Posted 1368590856
Reply with quote
#1
As promised, here is how I get the IronSpeed version Dynamically. This way when you upgrade your application it will always show the version it was created in. In this how-to document I also added the javascript code to do the dynamic copyright as well. This parser class uses the AppInfo.xml file that IronSpeed uses when it creates the application. Enjoy, and thanks for your patience as I was creating the document. As always, make sure you have a backup of your application before attempting. Though you shouldn't have any problem. I also, as a sidebar put this class in the App_Code folder. Even though I have gotten it to work outside. I figured I would keep it simple so you wouldn't have a problem.
Attached Files
XML_Parser_Class_to_get_IronSpeed_Version.doc
(134.50 KB, 184 views)
__________________
Former Senior Web Engineer CEO Simple And Smart AppsIronSpeed MVP
pk_davidson
Registered:1247170309 Posts: 223
Posted 1386815844
Reply with quote
#2
I like this idea but we have a lot of webapps/websites written in VB. While I personally would prefer to work in C#, it's a least common denominator to develop in VB. So... I created a dll from Wayne's code and did a write up with details on how to create and use a dll from Wayne's XMLParser in a VB webapp/website. Thanks Wayne, I always prefer to automate something that I will certainly forget to update at some point in time.
Attached Files
Using-XML_Parser_Class_to_get_IronSpeed_Version-with-VB.doc
(205.50 KB, 57 views)
__________________ Paul
TheChief
MVP Developer
Registered:1163009962 Posts: 146
Posted 1386819583
Reply with quote
#3
Paul, Great job taking it to the next step. I agree with you on making things easily repeatable.
Such as Life sometimes we get things started and move on to the next item at hand. I am glad that you found it useful enough to take it to the next step. Well done my friend. Wayne
__________________Former Senior Web Engineer CEO Simple And Smart AppsIronSpeed MVP