Handling a page request in Microsoft Office SharePoint Server 2007

3. September 2008

Microsoft Office SharePoint Server 2007 has been redesigned completely when it comes to integrating with ASP.NET 2.0; it is now built on top of ASP.NET 2.0 and is far more reliant on the features provided by the ASP.NET 2.0 infrastructure.

In Microsoft Office SharePoint Server 2007, incoming requests are always handled first by the ASP.NET runtime. The SharePoint ISAPI filter has been removed, and instead the Microsoft  Office SharePoint Server 2007 infrastructure relies on ASP.NET 2.0 by defining HTTP modules and HTTP handlers responsible for handling SharePoint related requests.

In the web.config file of a SharePoint web application, you will notice that the <httpHandlers>
section contains an HTTP handler called Microsoft.SharePoint.ApplicationRuntime. SPHttpHandler. This handler ensures that the SPHttpHandler will eventually handle all requests for all file types (for instance, .aspx, .txt, .doc, or .docx files). You can find the web.config file by following these steps:

1. Open a command prompt and type the following command: inetmgr. This opens Internet Information Services (IIS) Manager.
2. Expand the [server name] (local computer) node.
3. Expand the Web Sites node.
4. Right-click the SharePoint web application and choose Properties. This opens the [web application] Properties window.
5. Click the Home Directory tab and copy the value of the Local path text field.
6. Open an instance of Windows Explorer and navigate to the path found in the previous step.
7. Open the web.config file found in this folder in any text editor.

When the ASP.NET engine is finished processing a request, it calls the SharePoint Virtual Path Provider (also known as the WSS File provider or SPVirtualPathProvider). ASP.NET 2.0 introduces the concept of virtual path providers, which are pluggable components that integrate with ASP.NET and can be used to parse .aspx pages. The SharePoint Virtual Path Provider is able to retrieve .aspx pages from a SQL Server database with full-text extensions and does not suffer from the limited functionality regarding page parsing found in SharePoint 2003. Microsoft Office SharePoint Server 2007 supports two types of pages: uncustomized and customized. Uncustomized pages are page templates that are located on the file system of the web server. Customized pages are modified page templates that are written to a SharePoint content database. One task the SharePoint Virtual Path Provider is responsible for when handling a page request is deciding whether the page is located on the file system or in a content database. The SafeMode parser optionally parses pages that are retrieved from the database.

After the SharePoint Virtual Path Provider has had the opportunity to handle (but not compile) a page, it returns the result to the ASP.NET engine that compiles the page, which then asks the virtual path provider to fetch the page layout class, which is also compiled. The ASP.NET engine adds SharePoint context data to the web metadata and then retrieves the master page associated to the SharePoint page. The master page is compiled, and a response is returned to the client. Following Figure shows an overview of the page-handling process in Microsoft Office SharePoint Server 2007.

SharePoint

Comments

2/28/2010 9:54:46 PM #
Should I get a Virtual Private Server? At the moment I am using ixwebhosting but they keep shutting me down due to high server load. Im getting about 2,000 UV a day. What brand should I get?
4/5/2010 3:44:40 AM #
Considerably, the post is in reality the freshest on this worthy topic. I agree with your conclusions and will eagerly look forward to your incoming updates. Just saying thank you will not just be sufficient, for the fantastic lucidity in your writing. I will instantly grab your rss feed to stay privy of any updates. Good work and much success in your business efforts!
6/7/2010 7:14:48 AM #
This is such a deep blog!  What can I say, youve hit the nail right on the head!  You even added some videos to make it seem so much more real.  Youve got a great way of communicating with the reader, a great way of making me feel like what you have to say is just as important to me as it is to you.  Keep it up!
6/11/2010 11:25:28 PM #
This article gives the light by which we can observe the reality. this is very good one and gives in depth info. thanks for this nice post Good publish..
..
.Valuable info for all.I will recommend my friends to study this for sure
6/12/2010 3:57:20 AM #
The Cup will be very close!   I give it a coin toss in my opinion but best of luck to both soccer teams! I will be watching the entire match!
6/13/2010 1:36:56 AM #
Ha awesome weblog how did you get all those people to RT. I heard its not so hard, OH, fav toy in the world for a 30 yo is got to be a <A href="http://nerfgunsforsale.org/">Nerf N Strike Vulcan ebf 25 blaster yellow</A> </SPAN></SPAN>I bought it for my father and theyve never got to open it, I shoot up my brother and its exilrating &lt;-----(spellings?) Smile

6/14/2010 12:07:28 AM #
The Cup is going to be very intense!   I give it a coin toss in my opinion but best of luck to both soccer teams! I'll be watching the entire match!
6/16/2010 4:20:01 PM #
Ha cool weblog is this page unique theme. I heard its not so hard, OH, fav toy in the world for a 30 yo is got to be a <A href="http://nurfguns.net/">Nerf Shotgun</A> </SPAN></SPAN>I bought it for my father and theyve never shot it, I shoot up my nephew and its awesome Smile

6/22/2010 9:30:10 AM #
Very worthwhile article.  Your own internet site is quickly starting to be among my favorites.
7/9/2010 4:36:24 AM #
I posted your piece of writing 2 my myspace profile.
8/5/2010 2:10:00 AM #
Hi there,I love reading through your blog, I wanted to leave a little comment of support.  Wishing you the best of luck for all your blogging efforts.
8/5/2010 2:41:39 AM #
I really enjoyed reading your posts. They are both well written and informative. Congratulations man - not an easy thing to do.
8/5/2010 2:56:33 AM #
You've just given me a great idea to blog about...Thanks man, keep up the good work!
8/5/2010 9:03:41 PM #
I differ with most people here; since I found this blog post I couldn't stop until I was done, while it wasn't just what I had been searching for, was still a great read though. I will instantly grab your RSS feed to maintain in touch of any updates.
NAB
8/12/2010 11:19:40 AM #
Hello
I tried to subscribe to your RSS but it did not work.  I'll give it a shot later.
8/14/2010 4:50:00 PM #
I differ with most folks here; I found this blog post I couldn't stop until , while it wasn't just what I had been trying to find, was indeed a nice read though. I will instantly take your feed to keep informed of future updates.
8/16/2010 2:33:53 AM #
Hi, probably I am being a little bit off topic here, nonetheless I had been checking your site and it appears outstanding!. I’m creating a website and attempting to make it interesting, however every single time I touch it I wreck something up. Did you design and style the website by yourself? Can somebody with very little knowleadge do it, as well as add frequent updates without messing it up? Anyway, great information on here, extremely helpful.
8/16/2010 5:59:19 AM #
Totally new to me; I didn’t know the many ripples and depth to the story until I searched here through Yahoo! Good job.
8/16/2010 8:03:55 AM #
Many thanks for making the sincere effort to explain this. I feel very strong about this and would like to read more. If it's OK, as you learn more in depth knowledge, would you mind writing more posts similar to this one with more tips?
8/16/2010 8:14:19 AM #
Many thanks for making the truthful effort to explain this. I feel fairly strong about this and would like to read more. If it's OK, as you learn more in depth knowledge, would you mind writing more articles similar to this one with more tips?
8/16/2010 9:38:06 PM #
I don’t agree with most people here; since I started reading this post I couldn't stop until I was done, while it wasn't just what I had been searching for, was a great read though. I will immediately grab your RSS feed to keep in touch of any updates.
8/18/2010 3:55:09 PM #
I am just getting my feet wet in management media and starting to learn how to do it well - resources like this blog are very helpful. As our Site is based in the US, it’s all a bit new to us. The reference mention is something that I worry too well, how to show your own real enthusiasm and share to the community.
8/30/2010 8:47:53 PM #
Actually, I’m just beginning in management media and starting to learn how to do it well - resources like this blog post are very helpful. As our company is based in the US, is kind of new to us The reference mention is something that I worry about as well, how to show your own authentic enthusiasm and share to the community.
9/1/2010 3:20:21 AM #
I don’t agree with most folks here; I found this blog post I couldn't stop until , while it wasn't just what I had been looking for, was still a nice read though. I will instantaneously grab your blog feed to maintain in touch of any updates.
9/1/2010 11:24:29 AM #
I am just starting out in marketing media and trying to find out how to do it well - resources like this blog are very helpful. As our company is based in the US, it’s all a bit new to us. The example above is something that I worry too well, how to show your own genuine enthusiasm and share to the community.
9/8/2010 2:09:32 PM #
I have to say, as much as I enjoyed studying what you needed to say, I couldnt help however lose curiosity after a while. Its as in case you had an amazing grasp on the subject matter, however you forgot to incorporate your readers. Perhaps it's best to take into consideration this from more than one angle. Or possibly you shouldnt generalise so much. Its higher if you concentrate on what others might have to say as an alternative of just going for a intestine response to the subject. Think about adjusting your own thought process and giving others who might learn this the advantage of the doubt.

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading