2005年的ASP.NET应用程序? [英] ASP.NET app in 2005 ?

查看:57
本文介绍了2005年的ASP.NET应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




在VisualStudio 2005中创建ASP.NET项目时:

web.config,global.asax,...已消失?


以及WebForm1级中数据成员的声明?


哪里是编译版本?显然不在bin-subdir !!!!


谢谢

Chris

解决方案

在Sun,2005年7月10日09:34:50 -0400,Chris写了

(文章< _t **************** ******@phobos.telenet-ops.be>):



在VisualStudio 2005中创建ASP.NET项目时:哪里有web.config,global.asax,...已经消失了?

以及WebForm1级中数据成员的声明?

其中是编译版本?显然不在bin-subdir !!!!

谢谢



我刚开始使用VWD 2005并且很好奇我自己。我会

感谢小组可能有的任何见解。


--chris



是的,我知道这有点神秘,但ASP.NET团队已经改变了一些关于asp.net 2.0如何工作的内部结构。这是一篇很棒的MSDN文章

,它解释了改变了什么:

http://msdn.microsoft.com/asp.net/be ... /internals.asp

" chris ciotti" < CH ********** @ gmail.com>在消息中写道

news:ua ******************** @ giganews.com ...

On太阳,2005年7月10日09:34:50 -0400,克里斯写了
(在文章< _t ********************** @ phobos。 telenet-ops.be>):



在VisualStudio 2005中创建ASP.NET项目时:哪里有web.config ,global.asax,...走了?

以及WebForm1级中数据成员的声明?

编译版本在哪里?显然不在bin-subdir !!!!

谢谢
Chris



我刚刚开始使用VWD 2005,我很好奇我自己。我会感谢小组可能有的任何见解。




re:

在VisualStudio 2005中创建ASP.NET项目时:
其中有web.config,global.asax,...走了吗?


不是为你创建的默认web.config吗?

它应该是。这对我来说。


如果你想要一个global.asax(它不是必须的文件),

你只需要创建它:


" File"," New"" File" (或Control-N),并选择全局应用程序类


将创建一个global.asax模板,您可以对其进行修改。


re:编译版本在哪里?
显然不在bin-subdir中!!!!



Beta 2中的/ bin目录及更高版本的ASP.NET,只会
包含你自己编译的任何内容,比如控件的程序集,

组件或你想在应用程序中引用的其他代码。


代码隐藏中的代码加上App_Code目录中的代码,

将由VS.Net编译到ASP.NET临时文件目录,

从ASP.NET向客户端提供服务。


此更改允许ASP.NET 2.0的新编译模型

以更有效的方式合并你的部分课程。


Juan T. Llibre

ASP.NET MVP
http://asp.net.do/foros/

Foros de ASP.NET en Espa?ol

Ven,y hablemos de ASP.NET ...

======================


chris ciotti < CH ********** @ gmail.com>在消息中写道

news:ua ******************** @ giganews.com ... On Sun,2005年7月10日09:34 :50:0400,克里斯写了
(在文章< _t ********************** @ phobos.telenet-ops.be>):



在VisualStudio 2005中创建ASP.NET项目时:在哪里有web.config,global.asax,...去了?

以及WebForm1级中数据成员的声明?

编译版本在哪里?显然不在bin-subdir !!!!

谢谢
Chris



我刚刚开始使用VWD 2005,我很好奇我自己。我会感谢小组可能有的任何见解。




Hi,

When creating an ASP.NET project in VisualStudio 2005 : where have
web.config, global.asax, ... gone ?

as well the declaration of the datamembers in the WebForm1-class ?

where is the compiled version ? not in bin-subdir anymore apparently !!!!

thanks
Chris

解决方案

On Sun, 10 Jul 2005 09:34:50 -0400, Chris wrote
(in article <_t**********************@phobos.telenet-ops.be>):

Hi,

When creating an ASP.NET project in VisualStudio 2005 : where have
web.config, global.asax, ... gone ?

as well the declaration of the datamembers in the WebForm1-class ?

where is the compiled version ? not in bin-subdir anymore apparently !!!!

thanks
Chris

I''ve just started using VWD 2005 and am curious about this myself. I''d
appreciate any insight the group may have.

--chris



Yes, I know this is sort of a mystery but the ASP.NET team have changed some
of the internals on how asp.net 2.0 works. Here is a great MSDN article
that explains what changed:

http://msdn.microsoft.com/asp.net/be.../internals.asp
"chris ciotti" <ch**********@gmail.com> wrote in message
news:ua********************@giganews.com...

On Sun, 10 Jul 2005 09:34:50 -0400, Chris wrote
(in article <_t**********************@phobos.telenet-ops.be>):

Hi,

When creating an ASP.NET project in VisualStudio 2005 : where have
web.config, global.asax, ... gone ?

as well the declaration of the datamembers in the WebForm1-class ?

where is the compiled version ? not in bin-subdir anymore apparently !!!!

thanks
Chris



I''ve just started using VWD 2005 and am curious about this myself. I''d
appreciate any insight the group may have.

--chris




re:

When creating an ASP.NET project in VisualStudio 2005 :
where have web.config, global.asax, ... gone ?
Isn''t a default web.config created for you ?
It should be. It is for me.

If you want a global.asax ( it''s not an obligatory file to have ),
you only need to create it:

"File", "New", "File" ( or Control-N ) , and select "Global Application Class"

A global.asax template will be created, which you can modify.

re: where is the compiled version ?
not in bin-subdir anymore apparently !!!!


The /bin directory in Beta 2, and later versions of ASP.NET, will only
contain anything you compile yourself, like assemblies for controls,
components or other code you want to reference in your application.

The code in your code-behind, plus the code in the App_Code directory,
will be compiled to the ASP.NET Temporary Files directory by VS.Net,
from where it will be served by ASP.NET to the clients.

This change allows the new compilation model for ASP.NET 2.0
to merge your partial classes in a more efficient manner.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espa?ol
Ven, y hablemos de ASP.NET...
======================

"chris ciotti" <ch**********@gmail.com> wrote in message
news:ua********************@giganews.com... On Sun, 10 Jul 2005 09:34:50 -0400, Chris wrote
(in article <_t**********************@phobos.telenet-ops.be>):

Hi,

When creating an ASP.NET project in VisualStudio 2005 : where have
web.config, global.asax, ... gone ?

as well the declaration of the datamembers in the WebForm1-class ?

where is the compiled version ? not in bin-subdir anymore apparently !!!!

thanks
Chris



I''ve just started using VWD 2005 and am curious about this myself. I''d
appreciate any insight the group may have.

--chris




这篇关于2005年的ASP.NET应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆