CodeSmith Community
Your Code. Your Way. Faster!

VisualStudio 2008

Latest post 05-20-2008 3:44 AM by swin. 29 replies.
  • 11-20-2007 9:33 AM

    VisualStudio 2008

    Now that VisualStudio 2008 is officially released I was wondering what the time scales are for releasing a VS2008 friendly version of .netTiers is. Preferably one that can support LINQ and the other new features of .NET 3.5.

    Cheers Mark

     

    • Post Points: 65
  • 11-20-2007 11:03 AM In reply to

    • evolved
    • Top 50 Contributor
    • Joined on 12-27-2004
    • South River, NJ
    • Posts 93
    • Points 1,825

    Re: VisualStudio 2008

    It certainly isnt a small task. Do you know if entlib has a 3.5 release scheduled?

    http://www.jheidt.com
    ------------------------------
    Member of the .NetTiers team
    http://www.nettiers.com
    ------------------------------

    • Post Points: 35
  • 11-20-2007 2:57 PM In reply to

    • SuperJeffe
    • Top 25 Contributor
    • Joined on 05-05-2006
    • Tulsa, Ok
    • Posts 344
    • Points 8,620

    Re: VisualStudio 2008

    Just for curiosity sake and for some clarity....we do mean a version of Nettiers that supports the new features in 2008...like linq.

    Nettiers should work great with it's current functionality in 2008.  Unless I am missing something.

    ----------------------------------------------------------------------
     Member of the .NetTiers team | Visit http://www.nettiers.com
    ----------------------------------------------------------------------

    • Post Points: 65
  • 11-20-2007 4:19 PM In reply to

    • evolved
    • Top 50 Contributor
    • Joined on 12-27-2004
    • South River, NJ
    • Posts 93
    • Points 1,825

    Re: VisualStudio 2008

     Yes, they would compliment each other nicely (we're talking clr 3.5 right?), but there certainly would be some changes nessicary to fully integrate linq as a first class citizen into .netTiers.

    http://www.jheidt.com
    ------------------------------
    Member of the .NetTiers team
    http://www.nettiers.com
    ------------------------------

    • Post Points: 5
  • 11-21-2007 3:42 AM In reply to

    Re: VisualStudio 2008

    I could easily see this as a two stage release.

    First a minor update to simply generate the project and solution files in the VS2008 format, obviously with a new property to determine which VS you are interested in.

    Then a major update to select which Framework version you wish to target. Linq and Auto-Implimented properties being the two most obvious features of 3.5 to implement.

    I'll probably tweek the templates to support VS2008 projects so I'm happy to make them available if it will take too long for the team to make this available to everyone.

     Kind Regards,

    Mark

    • Post Points: 35
  • 11-21-2007 4:27 AM In reply to

    • swin
    • Top 10 Contributor
    • Joined on 06-14-2006
    • London, UK
    • Posts 922
    • Points 34,710

    Re: VisualStudio 2008

    Hi  Mark,

    A patch for the VS version would be most welcome! 

    With regards to the .net version I don't think anything for v3/3.5 has been scheduled yet, but it may make sense to just enable the ability to create the projects with the newer versions of the assemblies even though the nettiers underlying code won't necessarily take advantage of it yet. It would enable you to use it in your own code though and it may lessen the work load when we do implement future features.

    hth

    swin 

    ------------------------------------------------- Member of the .NetTiers team -------------------------------------------------
    • Post Points: 65
  • 11-22-2007 4:29 AM In reply to

    Re: VisualStudio 2008

    Hi Guys,

     I've attached the files I needed to get things working (for me) with VS2008. All its really doing is changing the the solution file to be file version 10 instead of nine and add the ToolsVersion=”2.0” attribute to the Project element in the Project files. This should allow people to use the same project files in VS2008 & VS2005, however there will need to be two separate solution files.

     I've not tested the the unit test code yet, but if I get time I will and post any fixes I have to make.

     Cheers

    Mark

    Filed under:
    • Post Points: 95
  • 11-26-2007 11:17 AM In reply to

    • evolved
    • Top 50 Contributor
    • Joined on 12-27-2004
    • South River, NJ
    • Posts 93
    • Points 1,825

    Re: VisualStudio 2008

    Even the small changes matter a lot. You're the man, thanks.

    http://www.jheidt.com
    ------------------------------
    Member of the .NetTiers team
    http://www.nettiers.com
    ------------------------------

    • Post Points: 5
  • 11-29-2007 5:07 AM In reply to

    • swin
    • Top 10 Contributor
    • Joined on 06-14-2006
    • London, UK
    • Posts 922
    • Points 34,710

    Re: VisualStudio 2008

    Mark,

    Thanks for the update, but as it wasn't a patch I couldn't just replace the files as I had already made some changes to some of them.  However, I've implemented the ability to generate to vs2008 format and also included another option to specifiy which dot net version to target (although obviously you shouldn't select v3 or v3_5 when generating vs2005 solution). 

    As the changes between the 2005 and 2008 formats aren't that great I decided to not add any additional solution/project files and it would increase maintenance should we add new templates in the future.  It also gave me an opportunity to remove some of the redundant vs2003 code as well.

    Please feel free to post more improvements, although if you could do them as a patch that would be much appreciated.  See http://community.codesmithtools.com/forums/p/3450/14311.aspx#14311 for info about contributing.

    Changes are commited in SVN677

    hth

    swin 

    ------------------------------------------------- Member of the .NetTiers team -------------------------------------------------
    • Post Points: 95
  • 11-29-2007 11:47 AM In reply to

    • evolved
    • Top 50 Contributor
    • Joined on 12-27-2004
    • South River, NJ
    • Posts 93
    • Points 1,825

    Re: VisualStudio 2008

    The eventual branch is going to be similar to the v1.1 / v2 split we had to make. From my (somewhat limited) experiences with linq, I can say it going to be difficult to avoid using some of the new functionality of the CLR. Once .nettiers split to clr 2 i never looked back, how long did we (or are we) maintaining updates to older versions of the CLR code?

    http://www.jheidt.com
    ------------------------------
    Member of the .NetTiers team
    http://www.nettiers.com
    ------------------------------

    • Post Points: 5
  • 11-29-2007 5:46 PM In reply to

    • gousheh1
    • Not Ranked
    • Joined on 11-06-2007
    • Posts 4
    • Points 110

    Re: VisualStudio 2008

    I am very new to both WEB development and NetTiers.  I had some problems getting the WEB services to work in 2005 so I just tried and opened the solution in 2008 and it asked me if I wanted to change the .NET version so I said OK.  Well, the only thing I had to do to get it to compile and actually expose the methods in BLL was to change the AjaxToolKit.dll and the config files.  By the way the instruction is very bad for some one who is new to web development.  Statements like add these lines to your web.config are confusing when you have more than one web.config; or your application web.config.  Which application?  It could have easily said to the webservices or data access layer and so on.Now I don't really know if I can use the WEB service methods (remotely).  If some one could actually supply an example (please) I will provide a report about my experience and will be very thankful.  The gurus should be very happy if some one like me could actually use a tool that they created and develop a layered application in less than a month being new to Visual Studio, C#, SQL server and IIS.By the way, I generated everything possible since I am evaluating the tools.  So far I am very happy with the results. I have 9 tables and it generated over 100 methods and database procedures which should take care of all updates and reports.By the way I have copied my config files to a text file (I am still having problems understanding config file formats and purpose).  Every time I make a change I just regenerate the whole project copy over the config files and it just works like a charm.

     

    • Post Points: 5
  • 11-30-2007 11:44 PM In reply to

    • stu28bu
    • Top 500 Contributor
    • Joined on 07-11-2007
    • Posts 10
    • Points 330

    Re: VisualStudio 2008

    I think I'm confused. You said you committed it to 677, but the last nightly download is 662 from way back on October 5th.  How can we get the new version?

    • Post Points: 35
  • 12-01-2007 1:36 AM In reply to

    • swin
    • Top 10 Contributor
    • Joined on 06-14-2006
    • London, UK
    • Posts 922
    • Points 34,710

    Re: VisualStudio 2008

    I think the nightly build server is broken at the moment, but I don't have the power to be able to fix it.

    You can get the latest direct from SVN though. See http://community.codesmithtools.com/forums/t/3450.aspx and follow the first few instructions.

    hth

    swin

    ------------------------------------------------- Member of the .NetTiers team -------------------------------------------------
    • Post Points: 5
  • 12-06-2007 1:53 PM In reply to

    Re: VisualStudio 2008

    Mark,

     I tried to copy these files into my .netTiers 2.2.0 directories, but it did not build. Am I missing something?

    Thanks
    Gordon

    • Post Points: 35
  • 12-06-2007 4:35 PM In reply to

    • swin
    • Top 10 Contributor
    • Joined on 06-14-2006
    • London, UK
    • Posts 922
    • Points 34,710

    Re: VisualStudio 2008

    if you get the latest version from svn then they are already integrated.

    hth

    swin

    ------------------------------------------------- Member of the .NetTiers team -------------------------------------------------
    • Post Points: 35
Page 1 of 2 (30 items) 1 2 Next > | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems