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

WebPrecompiler v1.0 - Automatically hit every page on your site

I saw a lot of requests for a program like this, so I wrote it. Yeah,
my site has "PSP software by Auri" but in this case it means "Pretty
Sweet Programming" :) There's both a VS2005 add-in and a standalone app
(separate downloads, you don't need both). This is my second developer
utility this year - my first being the Lorem Ipsum generator from a few
weeks back.

Download and get more info on WebPrecompiler at
http://hackingpsp.com/webprecompiler.aspx

Enjoy!

-Auri Rahimzadeh
Author, Hacking the PSP

What Is WebPrecompiler?
When you release an ASP, ASP.NET, JSP (and yes, other dynamic CGI)
site, the first time loading a page takes a moment while the server
executes and caches the page or application. This can translate to a
perception of slow performance. In addition, there's a tangible
benefit to hitting HTML files in IIS and many other web servers - the
HTML files are loaded into memory and served from there instead of the
hard drive or other storage medium. It's much, much faster to
retrieve data from RAM than the hard drive, so it pays to have every
application and every HTML file cached when you deploy a site. The
problem is, there are many, many files on a standard web site, and
it's quite laborious to hit all of them.

Enter WebPrecompiler. Give it the path to your web site, and give it
the URL, then tell it what files to hit (ASPX, ASP, JSP, and HTML), and
it will scan the folder for all the files and then hit every page on
that site, triggering your web server to compile and/or cache all the
files users hit on your site. WebPrecompiler also lets you save sites
you commonly need to deploy, so you don't have to enter their data
all the time. To make things even more convenient, WebPrecompiler comes
in two versions: one that runs directly inside of Visual Studio 2005,
and a standalone application that can be run on any PC running Windows
98SE or higher.

Is WebPrecompiler free?
Yeah, sort of. It's free to download and use. I wrote this tool
because I needed it, and I saw a lot of posts where others needed it,
too. But I'm also an author, and I try to make a living in software
development and books. So if you like WebPrecompiler, and you want to
help me out, buy my books, and recommend them to friends. As of the
writing of this Read Me, my current books are Hacking the PSP
(www.hackingpsp.com) and Geek My Ride (www.geekmyride.net).

Scanning a Site
To scan a site, simply enter the full path to the parent directory of
the web site and enter the URL to the web site. So, if your files are
on a server at \\web-server\www\site.com and your URL is
http://www.site.com, you would enter those values into the appropriate
boxes. You would then check the boxes for the file types you want to
scan for, and click Do It to begin the scan. The Site Name field is not
required - it is used for naming the site you're pre-compiling when
saving it for later use.

NOTE: When you scan a site, there may be a slight delay while the
system scans the files. The add-in has not crashed - it's just
scanning. :)

Saving Sites
If you need to scan the same site often, you can save your settings for
later use. Simply add the file path, file URL, and a Site Name that
will make it easy for you to remember the site, and click the Save
button. To use the site again, simply double-click it.

Removing Sites
To remove a saved site, select it in the list and press the minus
symbol on the bottom right of the Favorites list.

Support and Suggestions
I will do my best to help you with WebPrecompiler. There are many
different environments out there, and I'm sure there are features you
want (say, ASMX files, and the ability to pre-compile secured sites). I
plan on adding new features, but I'm putting this 1.0 version out so
you can give me suggestions.

For support and suggestions, please visit my web site and drop me a
note there: www.hackingpsp.com/contact.aspx.

Apr 12 '06 #1
1 1315
Ha********@gmail.com wrote:
I saw a lot of requests for a program like this, so I wrote it. Yeah,
my site has "PSP software by Auri" but in this case it means "Pretty
Sweet Programming" :) There's both a VS2005 add-in and a standalone app
(separate downloads, you don't need both). This is my second developer
utility this year - my first being the Lorem Ipsum generator from a few
weeks back.

Download and get more info on WebPrecompiler at
http://hackingpsp.com/webprecompiler.aspx

Enjoy!

-Auri Rahimzadeh
Author, Hacking the PSP

What Is WebPrecompiler?
When you release an ASP, ASP.NET, JSP (and yes, other dynamic CGI)
site, the first time loading a page takes a moment while the server
executes and caches the page or application. This can translate to a
perception of slow performance. In addition, there's a tangible
benefit to hitting HTML files in IIS and many other web servers - the
HTML files are loaded into memory and served from there instead of the
hard drive or other storage medium. It's much, much faster to
retrieve data from RAM than the hard drive, so it pays to have every
application and every HTML file cached when you deploy a site. The
problem is, there are many, many files on a standard web site, and
it's quite laborious to hit all of them.

Enter WebPrecompiler. Give it the path to your web site, and give it
the URL, then tell it what files to hit (ASPX, ASP, JSP, and HTML), and
it will scan the folder for all the files and then hit every page on
that site, triggering your web server to compile and/or cache all the
files users hit on your site. WebPrecompiler also lets you save sites
you commonly need to deploy, so you don't have to enter their data
all the time. To make things even more convenient, WebPrecompiler comes
in two versions: one that runs directly inside of Visual Studio 2005,
and a standalone application that can be run on any PC running Windows
98SE or higher.

Is WebPrecompiler free?
Yeah, sort of. It's free to download and use. I wrote this tool
because I needed it, and I saw a lot of posts where others needed it,
too. But I'm also an author, and I try to make a living in software
development and books. So if you like WebPrecompiler, and you want to
help me out, buy my books, and recommend them to friends. As of the
writing of this Read Me, my current books are Hacking the PSP
(www.hackingpsp.com) and Geek My Ride (www.geekmyride.net).

Scanning a Site
To scan a site, simply enter the full path to the parent directory of
the web site and enter the URL to the web site. So, if your files are
on a server at \\web-server\www\site.com and your URL is
http://www.site.com, you would enter those values into the appropriate
boxes. You would then check the boxes for the file types you want to
scan for, and click Do It to begin the scan. The Site Name field is not
required - it is used for naming the site you're pre-compiling when
saving it for later use.

NOTE: When you scan a site, there may be a slight delay while the
system scans the files. The add-in has not crashed - it's just
scanning. :)

Saving Sites
If you need to scan the same site often, you can save your settings for
later use. Simply add the file path, file URL, and a Site Name that
will make it easy for you to remember the site, and click the Save
button. To use the site again, simply double-click it.

Removing Sites
To remove a saved site, select it in the list and press the minus
symbol on the bottom right of the Favorites list.

Support and Suggestions
I will do my best to help you with WebPrecompiler. There are many
different environments out there, and I'm sure there are features you
want (say, ASMX files, and the ability to pre-compile secured sites). I
plan on adding new features, but I'm putting this 1.0 version out so
you can give me suggestions.

For support and suggestions, please visit my web site and drop me a
note there: www.hackingpsp.com/contact.aspx.


please post stuff like this in
microsoft.public.dotnet.framework.aspnet.announcem ents from now on

--
Craig
Microsoft MVP - ASP/ASP.NET
Apr 12 '06 #2

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

Similar topics

37
by: ajay | last post by:
How to make a web page getting refreshed after a given time interval automatically. HTML Code plz. Tx Ajay
2
by: casualpipesmoker | last post by:
Hi, I'd like to know how you would include updated blog posts in html? I assume it uses an RSS feed of some sort... but what kind of code is needed to automatically retrieve the updates from...
5
by: Sami | last post by:
Please bear with me, and if you answer this question, please do it step by step. I am new at Access, not at all sophisticated. I am using Office XP. This will need to be read in Access for...
5
by: Q. John Chen | last post by:
I redirect my user to the UPS tracking page. That's simple. What I want to do are: 1. I have my user's tracking number and I want to automatically enter the tracking number for the user. (At...
0
by: HackingPSP | last post by:
I saw a lot of requests for a program like this, so I wrote it. Yeah, my site has "PSP software by Auri" but in this case it means "Pretty Sweet Programming" :) There's both a VS2005 add-in and a...
3
by: vijaykokate | last post by:
Our company http://www.softnmation.com/ offers its customers a great variety of products. Everything you need can be found in this site. Web Template, CSS Template, Logo Template, Corporate...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
7
by: Ross Culver | last post by:
I need to ensure that session variables are removed whenever someone leaves my web site. My understanding is that this should be happening automatically with the session mode set to InProc. But...
4
by: itcassy | last post by:
I would like to pull a random or alphabetical result on the home page of a site and leave that same result on there for one week. The closest example I have found online is Random Quote Version...
5
by: camilin87 | last post by:
hello. I'm building a site using php I have a setup.php page wich has at the begining session_start(); and every single page from my site includes setup.php. When a user registers I save in...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.