H
Hardy Wang
Hi all,
I just installed VS.Net 2005 and tried to play with it. I have following
questions
1) I created a web project, I compile it, unlike VS.Net 2003 but I could not
find any DLL files in BIN folder, where are they?
2) I published the site, then I found a file named App_Web_xozrid3w.dll in
folder where I published. It seems that this should be the compiled web
project. BUT I could not find a setting how to control the naming of the
DLL.
3) In VS.Net 2003, the page behind code has something like
#region Web Form Designer generated code
override protected void OnInit(EventArgs e) {
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent() {
this.Load += new System.EventHandler(this.Page_Load);
this.btnSubmit.ServerClick += new EventHandler(btnSubmit_ServerClick);
this.valDate.ServerValidate += new
ServerValidateEventHandler(valDate_ServerValidate);
}
#endregion
But it is no longer available in this version. How can I turn them on by
default? And AutoEventWireup="true" is default in ASPX page now.
4) I added a Global.Asax, the code behind is totally disabled, which I hate
a lot.
5) Anybody has some recommendation of some books regarding VS 2005 and
ASP.NET 2.0?
Thanks a lot!
I just installed VS.Net 2005 and tried to play with it. I have following
questions
1) I created a web project, I compile it, unlike VS.Net 2003 but I could not
find any DLL files in BIN folder, where are they?
2) I published the site, then I found a file named App_Web_xozrid3w.dll in
folder where I published. It seems that this should be the compiled web
project. BUT I could not find a setting how to control the naming of the
DLL.
3) In VS.Net 2003, the page behind code has something like
#region Web Form Designer generated code
override protected void OnInit(EventArgs e) {
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent() {
this.Load += new System.EventHandler(this.Page_Load);
this.btnSubmit.ServerClick += new EventHandler(btnSubmit_ServerClick);
this.valDate.ServerValidate += new
ServerValidateEventHandler(valDate_ServerValidate);
}
#endregion
But it is no longer available in this version. How can I turn them on by
default? And AutoEventWireup="true" is default in ASPX page now.
4) I added a Global.Asax, the code behind is totally disabled, which I hate
a lot.
5) Anybody has some recommendation of some books regarding VS 2005 and
ASP.NET 2.0?
Thanks a lot!