BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Development  General develop...  ASP.NET 2.0 Web Application Project
Previous Previous
 
Next Next
New Post 5/3/2006 3:11 AM
User is offline Michel
4 posts
No Ranking


ASP.NET 2.0 Web Application Project 

Hi again,

i was wondering, you are currently in the process of migrating to asp.net 2.0. In my opinion the default web projects in 2.0 are to say the least 'unpleasant', especially in larger projects. MS seems to agree, since they are developing the 'Web application Project' option, which is basically the old 2003 web project version, with all the cool new things of the 2005 web projects. Might be worth checking out: http://webproject.scottgu.com/

Kind Regards,

Michel

 
New Post 5/3/2006 5:58 AM
User is offline admin
602 posts
bugnetproject.com
1st Level Poster




Re: ASP.NET 2.0 Web Application Project 
Modified By admin  on 5/3/2006 6:50:19 AM)
Hi Michel,

I did browse upon the web application projects earlier on but I wasn't clear of the benefits. I just went over the link you sent me again and now that I have some hands on experience with the new vs 2005 web project model I can definitely see the benefits to these new project model.

I will examine converting it over using the instructions at the page that you sent.

Edit

I was very curious of when each project should be used and why.  Microsoft have given us a document that discusses this topic which is an interested read.

http://msdn.microsoft.com/vstudio/default.aspx?pull=/library/en-us/dnvs05/html/WAP.asp

The thing is that I am well on my way with the new project model and am already over the hump of the conversion since BugNET is a small application there were not to many issues to manually fix up.  I think at this point ...converting would be a step back for the project.  The big issue was the compiled down to a single assembly for deployment but Web Deployment Projects takes care of that along with running msbuild tasks.   I guess it is a preference of the project model.  The dynamic recompilation is a nice featue of 2005.

Cheers.

Davin Dubeau
BugNET - Core Developer

 
New Post 5/3/2006 7:16 AM
User is offline Michel
4 posts
No Ranking


Re: ASP.NET 2.0 Web Application Project 

Hi "admin" ( :p)

I have to say i did not have alot of time when i had to choose whether or not to convert our current project to the new Web Application format. So i did not read all the documentation there is. I did it based on the problems i had. For instance the 'default' webprojects had several disadvantages that encouraged us to upgrade:

  • SLOW - we use integration with CVSNT using a custom connector called "PushOk" that allows visual studio integration just like with VSS on both LAN and WAN. the moment we dropped a webproject in our solution of around 20 projects, it took ages to finish updates and checkins and refreshes. (main reason)
  • What's in is in - meaning that every file in the folder is automatically a sourcecontrolled item. things such as logfiles and other runtime created files are considered by the web project to be under sourcecontrol. There was no default behaviour like in the normal projects.
  • NO project file (another main issue) - All information is stored in the solution file. It drove us crazy that when adding a file, opening a webpage, or even recompiling it wanted to check out the solution again. (seemed totally random at some point..) (and then you couldn`t because someone else had the solution checked out because of the same issue)
  • No default namespaces, just one big pile of webpages/classes - We like to work as neatly as possible. that includes adding everything nicely into namespaces etc. the default webprojects seems much more geared to the so called 'quick and dirty' approach.

As i said i did not have all the time in the world to find fixes for some of the problems i have described. But nor did i have to, since migrating to the new WAP took about 10 minutes on my free sunday evening, and another 30 minutes to make sure everything worked as i wanted to. (thanks to the nice tutorial on link i posted). In essence it was no more then right click -> convert.
It has all the new features the default webproject has, plus all the benefits of the more structured VS2003 webprojects ( no need for the web deployment projects, just 'publish' or create a web setup project..) And it works much faster (more of an issue when your projects grows and grows).

All in all we are very happy with the new WAP and i dont think we will ever use the old system again (unless we are forced to, or maybe join you bugnet project, and you refuse to upgrade ; ) ).

Anyway, try the current webproject, if you dont like it it's always possible to upgrade (it only takes 10 minutes of your fee sunday... :P) But dont say i didnt warn you ;).

 

 
New Post 5/4/2006 6:38 AM
User is offline admin
602 posts
bugnetproject.com
1st Level Poster




Re: ASP.NET 2.0 Web Application Project 
Hi Michel,

I appreciate the detailed description of some of the problems you were having with the web projects in vs 2005.  I can agree that the issues that you were having could be painful in a team development situation.  Especially when the project is under source control.

I follow the instructions to convert the project, the first time it seemed to work fine but the second time I got numerous errors, so Im not sure if I did something incorrect. It didn't seem to like any custom controls I used even though they were properly referenced.  MS is planning on supporting both types of projects so perhaps when they release the final version of the web applicaiton projects I will try to convert again sometime and if that doesn't produce somewhat acceptable results I will wait till the final version is release.

Thanks for the insight and tips,

Davin


Davin Dubeau
BugNET - Core Developer

 
New Post 5/5/2006 6:06 AM
User is offline admin
602 posts
bugnetproject.com
1st Level Poster




Re: ASP.NET 2.0 Web Application Project 
Looks like the final release will be available soon:

http://weblogs.asp.net/scottgu/archive/2006/05/02/444847.aspx

Davin Dubeau
BugNET - Core Developer

 
Previous Previous
 
Next Next
  Forum  Development  General develop...  ASP.NET 2.0 Web Application Project

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.