473,573 Members | 2,753 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question on Using Partial Types with ASP.NET via J.I.T.

I got three (3) files

(1) Untitled.aspx
(2) Untitled.aspx.1 .cs
(3) Untitled.aspx.2 .cs

These three files must be used together to make file #1, Untitled.aspx, page
work via
J.I.T. when the User first hits Internet Explorer 6.0 on your browser.
MY QUESTION to the Microsoft ASP.NET and C# teams.

I know how file #2,Untitled.asp x.1.cs, is connected and can be found by file
#1, the Untitled.aspx page.
How does file #3, Untitled.aspx.2 .cs, get found by the file #1 when I the
first time with Internet Explorer?

IN OTHER WORDS, I am NOT using pre-compile for VS.NET to make these file
compile together.
I would be just using J.I.T. compiling like you do now with src= attribute
in a ASP.NET page.

Jul 21 '05 #1
43 2603
"nospam" <n@ntspam.com > schrieb
I got three (3) files

(1) Untitled.aspx
(2) Untitled.aspx.1 .cs
(3) Untitled.aspx.2 .cs
[...]

This is a VB.NET group. Please post to the *most* appropriate group(s) only.

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Jul 21 '05 #2
Cor
Hi Nospam,

I am curious, what is the reason that you post this questions to a VB.net
language related newsgroup?

Cor

(1) Untitled.aspx
(2) Untitled.aspx.1 .cs
(3) Untitled.aspx.2 .cs

Jul 21 '05 #3
Are you working with ASP.NET 2.0? I would assume so, since you are talking
partial classes. If so, you are likely working with the PDC alpha, which is
not feature complete.

Just to run with it, one idea to try would be to place the second partial
class file into the SRC directory and take advantage of the code compiling
ability. Not sure how it would work on partial classes, however, so it is
simply an experiment.

If you are in ASP.NET 1.x, please add more detail, as I am lost.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** *************** **********
Think Outside the Box!
*************** *************** *************** *************** **********
"nospam" <n@ntspam.com > wrote in message
news:OB******** ******@TK2MSFTN GP09.phx.gbl...
I got three (3) files

(1) Untitled.aspx
(2) Untitled.aspx.1 .cs
(3) Untitled.aspx.2 .cs

These three files must be used together to make file #1, Untitled.aspx, page work via
J.I.T. when the User first hits Internet Explorer 6.0 on your browser.
MY QUESTION to the Microsoft ASP.NET and C# teams.

I know how file #2,Untitled.asp x.1.cs, is connected and can be found by file #1, the Untitled.aspx page.
How does file #3, Untitled.aspx.2 .cs, get found by the file #1 when I the
first time with Internet Explorer?

IN OTHER WORDS, I am NOT using pre-compile for VS.NET to make these file
compile together.
I would be just using J.I.T. compiling like you do now with src= attribute
in a ASP.NET page.

Jul 21 '05 #4
nospam,
Have you considered asking in the Whidbey newsgroups?
http://communities.microsoft.com/new...idbey&slcid=us

Did the ASP.NET 2.0 article I refer you too the other day help?

http://msdn.microsoft.com/asp.net/wh...ompilation.asp

Or one of the articles on the following page?
http://msdn.microsoft.com/asp.net/whidbey/
MY QUESTION to the Microsoft ASP.NET and C# teams. Why are you bothering the VB.NET users then?

Hope this helps
Jay

"nospam" <n@ntspam.com > wrote in message
news:OB******** ******@TK2MSFTN GP09.phx.gbl... I got three (3) files

(1) Untitled.aspx
(2) Untitled.aspx.1 .cs
(3) Untitled.aspx.2 .cs

These three files must be used together to make file #1, Untitled.aspx, page work via
J.I.T. when the User first hits Internet Explorer 6.0 on your browser.
MY QUESTION to the Microsoft ASP.NET and C# teams.

I know how file #2,Untitled.asp x.1.cs, is connected and can be found by file #1, the Untitled.aspx page.
How does file #3, Untitled.aspx.2 .cs, get found by the file #1 when I the
first time with Internet Explorer?

IN OTHER WORDS, I am NOT using pre-compile for VS.NET to make these file
compile together.
I would be just using J.I.T. compiling like you do now with src= attribute
in a ASP.NET page.

Jul 21 '05 #5
VB is going to have Partial Types right?

(1) Untitled.aspx
(2) Untitled.aspx.1 .vb
(3) Untitled.aspx.2 .vb

happy?


"Cor" <no*@non.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi Nospam,

I am curious, what is the reason that you post this questions to a VB.net
language related newsgroup?

Cor

(1) Untitled.aspx
(2) Untitled.aspx.1 .cs
(3) Untitled.aspx.2 .cs


Jul 21 '05 #6
Yes, I looked at every link you posted...still doesn't answer the question.
Let me ask you, do you understand what my question is exactly referring to?

Some people here are just shooting into the wind with their answers.
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message
news:Oc******** ******@TK2MSFTN GP12.phx.gbl...
nospam,
Have you considered asking in the Whidbey newsgroups?
http://communities.microsoft.com/new...idbey&slcid=us
Did the ASP.NET 2.0 article I refer you too the other day help?

http://msdn.microsoft.com/asp.net/wh...ompilation.asp
Or one of the articles on the following page?
http://msdn.microsoft.com/asp.net/whidbey/
MY QUESTION to the Microsoft ASP.NET and C# teams.

Why are you bothering the VB.NET users then?

Hope this helps
Jay

"nospam" <n@ntspam.com > wrote in message
news:OB******** ******@TK2MSFTN GP09.phx.gbl...
I got three (3) files

(1) Untitled.aspx
(2) Untitled.aspx.1 .cs
(3) Untitled.aspx.2 .cs

These three files must be used together to make file #1, Untitled.aspx,

page
work via
J.I.T. when the User first hits Internet Explorer 6.0 on your browser.
MY QUESTION to the Microsoft ASP.NET and C# teams.

I know how file #2,Untitled.asp x.1.cs, is connected and can be found by

file
#1, the Untitled.aspx page.
How does file #3, Untitled.aspx.2 .cs, get found by the file #1 when I the first time with Internet Explorer?

IN OTHER WORDS, I am NOT using pre-compile for VS.NET to make these file
compile together.
I would be just using J.I.T. compiling like you do now with src= attribute in a ASP.NET page.


Jul 21 '05 #7
VB.NET is going to have Partial Types right?

(1) Untitled.aspx
(2) Untitled.aspx.1 .vb
(3) Untitled.aspx.2 .vb

happy?

"Armin Zingler" <az*******@free net.de> wrote in message
news:eQ******** ******@TK2MSFTN GP09.phx.gbl...
"nospam" <n@ntspam.com > schrieb
I got three (3) files

(1) Untitled.aspx
(2) Untitled.aspx.1 .cs
(3) Untitled.aspx.2 .cs
[...]

This is a VB.NET group. Please post to the *most* appropriate group(s)

only.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Jul 21 '05 #8
"nospam" <n@ntspam.com > schrieb
VB.NET is going to have Partial Types right?

(1) Untitled.aspx
(2) Untitled.aspx.1 .vb
(3) Untitled.aspx.2 .vb

happy?


Why do you post to the C# group, if it is, as you think, a VB.NET issue?
Maybe it is independent from the language as it affects both languages?
Maybe it's a framework or/and asp problem?

You can't blame the modem manufacturer for a broken phone line.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Jul 21 '05 #9
I know the PDC alpha is not feature complete.

I just want to know how Microsoft is "attempting " to implement this partial
type feature with ASP.NET pages using JIT compiling.

Do you understand the original question? YES or NO

The more successful, as well as larger, 1.1 .NET web sites don't use
CodeBehind= attribute, they use src= attribute as it allows them to have
fully separated pages that can be easily FTP's to the server and changes can
be made rapidly without affecting the entire web site. These commercial
sites also tend to use Text Editors, HomeSite, Dreamweaver, icsharp, Web
Matrix, etc other than VS.NET as their sites need to be USABLE by millions
of people, not to mention reliable.

As you already know in ASP.NET 2.0 Whidbey, there are several compiling
options. One of which is a separate dll for each .aspx page which wasn't in
the VS.NET 2003 versions.

Those who knew better realized the CodeBehind= attribute and the single dll
file was a very very BAD architectural pattern for web development and
maintenance, not to mention reliability.
But enough of that, JIT for a Partial Types on a .aspx page will allow
people to build MORE RICH .aspx pages by making it more manageable when some
of the code is split inbetween 2 or more code behind files.


"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamM> wrote in
message news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Are you working with ASP.NET 2.0? I would assume so, since you are talking
partial classes. If so, you are likely working with the PDC alpha, which is not feature complete.

Just to run with it, one idea to try would be to place the second partial
class file into the SRC directory and take advantage of the code compiling
ability. Not sure how it would work on partial classes, however, so it is
simply an experiment.

If you are in ASP.NET 1.x, please add more detail, as I am lost.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** *************** **********
Think Outside the Box!
*************** *************** *************** *************** **********
"nospam" <n@ntspam.com > wrote in message
news:OB******** ******@TK2MSFTN GP09.phx.gbl...
I got three (3) files

(1) Untitled.aspx
(2) Untitled.aspx.1 .cs
(3) Untitled.aspx.2 .cs

These three files must be used together to make file #1, Untitled.aspx,

page
work via
J.I.T. when the User first hits Internet Explorer 6.0 on your browser.
MY QUESTION to the Microsoft ASP.NET and C# teams.

I know how file #2,Untitled.asp x.1.cs, is connected and can be found by

file
#1, the Untitled.aspx page.
How does file #3, Untitled.aspx.2 .cs, get found by the file #1 when I the first time with Internet Explorer?

IN OTHER WORDS, I am NOT using pre-compile for VS.NET to make these file
compile together.
I would be just using J.I.T. compiling like you do now with src= attribute in a ASP.NET page.


Jul 21 '05 #10

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

Similar topics

7
2645
by: nospam | last post by:
Ok, 3rd or is it the 4th time I have asked this question on Partial Types, so, since it seems to me that Partial Types is still in the design or development stages at Microsoft, I am going to ask it differently. FOUR QUESTIONS: The background: I got three (3) files
38
1759
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the User first hits Internet Explorer 6.0 on your browser.
0
7746
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7668
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7986
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8179
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8036
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5258
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3699
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2167
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1269
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.