Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 26th, 2005, 04:08 AM
Authorized User
 
Join Date: May 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default What are .src files

What are the .src files.
I saw it in the ibuyspy starter kit application.In the folder Source viewer.What are there use and there advantages.

 
Old June 1st, 2005, 07:04 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

In the page directive (@ Page) you can specify several things to change the way the page works when it's compiled.

1. Strait inline code. Plain ASPX file with a server script block in it.
   <%@ Page%>

2. Inherited source file class (runtime-compiled). ASPX file derives from a class that is compiled at runtime using a SRC file
   <%@ Page Inherits="MyClass" Src="MyClass.aspx.vb" %>

3. Inherited assembly class (Pre-compiled). ASPX file derives from a class that lives in a pre compiled assembly.
   <%@ Page Inherits="MyApplication.MyClass" %>


Note: the CodeBehind attribute of the page directive is not significant to ASP.NET, but to Visual Studio.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
$@src newbieboobers XSLT 2 March 12th, 2008 04:22 PM
replace src URL billbillbill Classic ASP Basics 1 August 12th, 2007 01:03 AM
chapter2-src\src\ch02\sample5 _ need help M7777777bill BOOK: Professional Java Development with the Spring Framework 0 June 14th, 2006 10:00 PM
sending src name to new document elladi Classic ASP Basics 3 November 29th, 2004 11:42 PM
How to compile from the src directory ? Joe Servlets 1 June 13th, 2003 01:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.