Chris Menegay's WebLog

ASP.NET 2.0 Dec. CTP gotcha

First - who made the decision that people don't write applications in ASP.NET?  Everything is now a "web site".  Maybe it's just me, but I absolutely hate not having a project file.  While I don't condone it, I've seen code that has one Web application in ASP 1.1 have a project reference in a solution to another ASP.NET application - that doesn't even seem possible in 2.0 (which might be a good thing - but it will upset some people).

I just spent the last 2 hours trying to create a CLASS and use it in my applciation.  I am moving an application from B1R to Dec. CTP and simply renamed my "code" (I hate this too btw) to Application_Code.  Well, apparently that didn't work.  I could create classes, but I could not use them, as it wouldn't find them in that directory.  I even deleted the directory and re-added it with the class files - that didn't help. I was finally able to get things going by removing the directory, then did Add->New Item->Class and it prompted me to create the directory.  Apparently there is some magic going on behind the scenes, and that upsets me. 

 

Comments

Matt Hawley said:

I've not tried the Dec. CTP, but did you try naming your folder to App_Code - remember, thats what its going to, and probably has already changed. I know for a fact that in the Nov. CTP, its App_Code.
# January 4, 2005 3:36 PM

Eric Newton said:

I would have to agree, magic behind the scenes reeks of failure.
# January 4, 2005 3:36 PM

Brock Allen said:

The Dec CTP is an older build than the Nov CTP. For any ASP.NET 2.0 work, I'd suggest getting the Nov CTP.
# January 4, 2005 3:41 PM

Bill Mattox said:

I agree on the web site complaint. For the life of me, I have not understood the reasoning behind this and it has never been explained. It seems arbitrary and unnecessaryly confusing.

Also, I was unaware that the Dec CTP is an older build than the Nov... does anyone know why?
# January 9, 2005 1:06 PM

Chris Menegay said:

I wasn't aware of Nov. CTP being newer, but it makes since. I think they are retrofitting the VSTS features into builds of Visual Studio, and that takes a bit of time. Similar to the way Beta 1 Refresh was simply Beta 1 with Team System and nothing else. That just me speculating though...

Since I'm more interested in VSTS than ASP.NET, I'm kind of stuck, and Dec. CTP is very unstable.
# January 9, 2005 8:26 PM

Bill Mattox said:

By "unstable", are you referring to VSTS? I noticed, for example, that I was unable to create the AdventureWorks Walkthrough without error... and what it DID generate seems significantly different than we saw in Texas. (No Work Items, for example).
# January 10, 2005 10:29 AM

Chris Menegay said:

No, VSTS is almost as stable as it was in Beta 1R. I've found ASP.NET and Winforms to be unstable in the Dec. CTP. And since the point of the CTP was VSTS, I can't be too mad at Microsoft for that.
# January 10, 2005 11:00 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)