eurowise
 Basic Member Posts:205
 |
| 08 oct. 2008 07:55 |
|
Hi All, I am glad to announce that Code Complete 3.5 Beta version is now available for download for subscribers. . It includes tutorials for generating windows and WPF applications for both the Northwind and PTracker database. Sample applications generated using the new templates for Windows and WPF applications for both the Northwind and PTRracker databases are also available for everyone in the download area. Installation: Code Complete 3.5 will install side by side with version 3.0 and can run in parallel. There is no need to uninstall version 3.0. Here just some of the new features included in this release 3.5: • Bug fixes from version 3.0. • The business and data layer templates have changed to fix some bugs and to support CSLA.NET 3.6 and provide support for binary fields, including images • Data source wizard: possibility of renaming stored procedures and support for optimistic locking • Solution wizard: includes an option for generating a WPF application. • Templates for windows application: o Improved look o Use of user controls to generate the search and data entry screens. All user controls inherit from a new win control library. o Main form includes a data toolbar used for navigation and managing CRUD and export operations and a tree view for form navigation o An option dialog in the solution wizard that enables you to set several options before generating your windows UI: MDI vs. SDI, third party control library (only the Janus templates are included in this release), columnar vs. tabular layout for your controls… o Support for images • Templates for WPF application (new): o Use of user controls to generate the search and data entry screens. All user controls inherit from a new wpf control library. o Main form includes a data toolbar used for navigation and managing CRUD and export operations and a tree view for form navigation o An option dialog in the solution wizard that enables you to set several options before generating your windows UI: TABS vs. SDI, third party control library (not yet implemented in this release), columnar vs. tabular layout for your controls… o Support for images Still to come: • Templates for more third party control libraries including Infragistcs and DevExpress. • Improved web templates • Support for Silverlight • Integration with Enterprise Library (replacing Code Complete Services) • Support for Entity Framework. This will include generating Code Complete data sources from an EDMX file. Thank you for your support and feedback. Regards Philip |
|
|
|
|
sky40627
 New Member Posts:4
 |
| 17 oct. 2008 06:08 |
|
Will there be other ui controls supported as janus, dexexpress .. ? The support for entity framework will be in version 3.5 ? When will this be ready ? |
|
|
|
|
eurowise
 Basic Member Posts:205
 |
| 19 oct. 2008 06:46 |
|
yes, there will be support fro DevExpress, Infragistics and EF. There will be an other beta soon and then an RTM around the begining of December. philip |
|
|
|
|
tdrake
 New Member Posts:12
 |
| 28 oct. 2008 01:27 |
|
Hi, I've been working with the beta for csla 3.6, wcf,wpf and come vistaDB work and can get them working, but I'm getting some ongoing issues - how do we report bugs during the beta? Anyway: - VistaDB = WindowsApp - WPF - CSLA3.6 - LINQ - Authertication windows, UI - TABS getting: Error: An error occured trying to save solution config file. Error: System.InvalidCastException: Conversion from string "VistaDB.Provider" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) at CodeCompleteAddin35.GlobalClass.GetDBProvider() at CodeCompleteAddin35.SolutionClass.Start() WPF is erroring: Error 1 The tag 'PLWpfDataEntryControl' does not exist in XML namespace 'clr-namespace:CodeComplete.WPFControls;assembly=CodeComplete.WPFControls'. Line 1 Position 27. C:\NIRVista2\NIRVistaOne\Data Entry Forms\WPFCustomerMasterControl.xaml 1 27 NIRVistaOne Added - CodeComplete.WPFControls and WindowsFormIntegration VistaDB.NET20 and System.Drawing to reference (I've seen this is meeting from the script on all wpf projects, and removed Microsoft.Windows.Themes - running MS vista) I'm still getting missing references in the WPF (DateTimePicker and DataGridView) where I can't see what's missing... anyway - hope this cn help you.
|
|
|
|
|
eurowise
 Basic Member Posts:205
 |
| 28 oct. 2008 04:22 |
|
You are missing a reference to System.Windows.dll. The WPF generated user controls use the win forms DateTimePicker and GrdiView control (until we get the equivalent in WPF) Philip Regards
|
|
|
|
|
sky40627
 New Member Posts:4
 |
| 28 oct. 2008 07:37 |
|
I have been testing also and i am getting some errors like : using the generic type 'Csla.Data.ConnectionManager<C>' requires '1' type arguments when generating business layers |
|
|
|
|
thaehn
 New Member Posts:11
 |
| 28 oct. 2008 10:38 |
|
When I went through the tutorial for creating a WPF application with the Northwind database (I used SQL Server as the data source), several project directories were created above the ones that had the real projects in them. I also received some errors in the Solution.log file: Info: NorthwindTodd.DataLayer reference added successfully to NorthwindTodd.WPF Error: Failed to add a reference NorthwindTodd.BusinessLayer to NorthwindTodd.WPF. Error message: System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at VSLangProj.References.AddProject(Project pProject) at CodeCompleteAddin35.SolutionManager.AddReference(Project Proj, Project ProjRef, Boolean IsWebProject) at CodeCompleteAddin35.SolutionClass.AddReferences() Deleting the empty projects and manually adding a reference to the NorthwindTodd.BusinessLayer in the .WPF project solved the problem. When I build the solution I am getting several warnings such as: Warning 6 The variable 'Parameter' is declared but never used C:\Projects\Todd\NorthwindTodd.DataLayer\DL Classes\DLCustomer.Designer.cs 117 26 NorthwindTodd.DataLayer Warning 18 'NorthwindTodd.WPF.WPFProductControl.SearchControl' hides inherited member 'CodeComplete.WPFControls.PLWpfDataEntryControl.SearchControl'. Use the new keyword if hiding was intended. C:\Projects\Todd\NorthwindTodd.WPF\Data Entry Forms\WPFProductControl.xaml.cs 64 40 NorthwindTodd.WPF Warning 25 'NorthwindTodd.BusinessLayer.BLProductList.AddNewCore()' hides inherited member 'System.ComponentModel.BindingList<NorthwindTodd.BusinessLayer.BLProduct>.AddNewCore()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. C:\Projects\Todd\NorthwindTodd.BusinessLayer\BL Lists\BLProductList.Designer.cs 125 24 NorthwindTodd.BusinessLayer When I run the application created and click on Cuntomers/Search I get a grid listing all customer. If I click on one I get: The following exception has occured: ---Error message: Exception has been thrown by the target of an invocation. ---Detail message: System.Security.SecurityException: User not authorized to view a data ---Additional Info: ClassName: WPFCustomerControl MethodName: GetRecord I am logged in at the "Admin" account that has both the "DATENT" and "BROWSE" roles. Todd |
|
|
|
|
eurowise
 Basic Member Posts:205
 |
| 29 oct. 2008 10:12 |
|
Thanks for the feedback. We are looking into these issues. Philip |
|
|
|
|
thaehn
 New Member Posts:11
 |
| 29 oct. 2008 07:59 |
|
The date picker and the data grid were updated by Microsoft with the RTM version on CodePlex today: http://www.codeplex.com/wpf/Release/ProjectReleases.aspx?ReleaseId=15598 You can include them now! Todd |
|
|
|
|
eurowise
 Basic Member Posts:205
 |
| 30 oct. 2008 07:01 |
|
Thanks. Will do Philip |
|
|
|
|
thaehn
 New Member Posts:11
 |
| 13 nov. 2008 08:15 |
|
Philip, I just generated another project. This time I have over 300 errors and over 100 warnings. I fixed the trivial ones like missing #enddefine, but there seems to be a number of stored procedures that are referenced that were never generated. They all end in the word "Result" such as "spSelectPartySkillResult". This I think is the cause of most of the errors. Something of note, which doesn't seem to cause a problem, but isn't what would be expected, is that stored procedures that are generated for tables that have the work "class" in them are getting one "s" dropped off the name such as "spSelectWorkOrderClas" for the WorkOrderClass table. Todd |
|
|
|
|
eurowise
 Basic Member Posts:205
 |
| 13 nov. 2008 10:47 |
|
Hi Todd, Can you give me a bit more details on the application that is generating the errorr i.e. what type of app win, wpf. it looks like you are using LINQ. Thanks Philip |
|
|
|
|
thaehn
 New Member Posts:11
 |
| 13 nov. 2008 10:19 |
|
I did a WPF and LINQ project. I had the same issue as last time where projects were being created in the directory just above the ones that are the real projects. I have an issue that is related to my data as well: Instead of the User/Role tables I have a User, UserRole and Role tables. The UserRole table has two integer IDs. I had to change the stored procedure that was generated to look up the roll in the Role table and return that. But now, so generated code has an eror: public class DLLogin { public DLLogin(); public static bool CheckLogin(string usLogin, string usPassword); public static SqlCommand GetLoginCommand(string usLogin, string usPassword); public static SqlDataReader GetLoginReader(string usLogin, string usPassword); public static SqlCommand GetRoleCommand(int ur_usId); public static SqlDataReader GetRoleReader(int ur_usId); public static List<string> GetRoles(int ur_usId); } } The last line GetRole expects a string, but an int is being passed. I tried to modify this code, but it says [from metadata] and is locked. Where do I make the change? Should I create a view and use that instead? Todd |
|
|
|
|
eurowise
 Basic Member Posts:205
 |
| 14 nov. 2008 09:53 |
|
Can you email me the data source project so that I can generate a solution from it and see what the problem is? Thanks Philip |
|
|
|
|
thaehn
 New Member Posts:11
 |
| 14 nov. 2008 07:12 |
|
Phil, I sent you the e-mail. If you need anything else please let me know. Todd |
|
|
|
|
sky40627
 New Member Posts:4
 |
| 20 nov. 2008 06:54 |
|
When can we expect a Beta 2 ? Or a final version ? |
|
|
|
|
eurowise
 Basic Member Posts:205
 |
| 21 nov. 2008 07:50 |
|
Version 3.5 Beta 2 will be released first week of December, followed by an RTM two weeks later. Philip |
|
|
|
|
jfrench
 New Member Posts:5
 |
| 22 nov. 2008 06:33 |
|
When will the DevExpress templates be available? Any chance of getting my hands on pre-release or beta versions of them? I desparately need these for project with a very fast approaching deadline. Thanks, Jeff French |
|
|
|
|
eurowise
 Basic Member Posts:205
 |
| 24 nov. 2008 07:32 |
|
The Beta2 version will be released next week (1st of December) and it will include DevExpress templates for both Win and Web. Can you wait until then? Philip |
|
|
|
|
jfrench
 New Member Posts:5
 |
| 24 nov. 2008 07:09 |
|
I can wait if I have to but it would be extremely helpful to be able to use them over the long weekend. As this is a side project, weekend work hours are precious. :) |
|
|
|
|