Last post Mar 19, 2007 03:16 PM by jdingo
Mar 14, 2007 11:22 AM|gt6974a|LINK
Well, I've never done too much with 1.1 but have done quite a bit with 2.0, problem is my new job there's an app in 1.1 and I don't really have experience with vs2003 or the differences b/t the two.
Anyone point to some good resources on this?
Mar 16, 2007 10:06 AM|jdingo|LINK
the asp.net developer/learning center should point out the differences to you regarding 1.1 vs 2.0. I can give you a few things to think about regarding the differences and that may be of help. If you are using 2.0 and working with data access then you
probably have been using the sqlDataSource. You want have that in 1.1 and you will find that you have to actually write the code to use the ado.net classes rather than the declarative syntax of the SqlDataSource. You will not have partial classes in 1.1
and therefore in your code behind you will have a class not a partial class, and your controls created in the .aspx page will have to be declared as their respective types in the code behind. So, if you have a button for instance then your code behind must
declare that button variable in order to write any code accessing that control. With the partial classes in 2.0, you dont have to do that and you can just use the object without first declaring it in your partial class. With that being said, be ready to
write more code that you would have in 2.0. Not such a bad thing and I believe it may solidify some concepts for you that you may not have had to delve into quite so deeply in 2.0. Good luck, hope this was helpful. -- jp
Mar 19, 2007 01:24 PM|gt6974a|LINK
thx that helps.
Now, I have 30% of the code in .NET 1.1 and 70% in classic asp.
There are in Visual Source Safe, I make a sample project of the .NET folder and 'get latest version' of the classic ASP.
Now when I add the files from classic ASP to the ASP.NET folder, the file/folder look like white folders with outlines. Do I need to specifically add these to the project by right clicking them and choosing such?
Mar 19, 2007 03:16 PM|jdingo|LINK
I would be apprehensive of mixing classic asp and .net. I have no experience personally with classic asp but i did a little searching and (as i understand it) classic asp is interpreted (using vbscript) while .net is compiled. server side cannot be shared
between. Would it possible to convert the classic asp to a .net version? Sorry that I do not know more about the classic stuff but .net is where i am capable. hope this is helpful and good luck in your endeavor! -- jp