Browse by Tags
All Tags »
.NET 3.5 (
RSS)
Check out the new WPF toolkit that was released today on WPF codeplex site . The new stuff: Chart Controls Bug fixes for common issues, including: - DataGrid.DeleteCommand requires a current cell (as reported here) - DataGridColumn DisplayIndex ArgumentOutOfRange exception (as reported here) - DatePicker IsEnabled=False does not gray out (as reported here) - DatePicker Enter, Escape, and Spacebar inputs do not correctly commit/cancel edits and close the popup - VSM steady state animations fail to...
Found this useful post you might want to know how to add tracing information for System.Net namespace: <configuration> <system.diagnostics> <trace autoflush="true" /> <sources> <source name="System.Net"> ...
I was investigate a GDI/GDI+ related bug the other day and I found out that GDI+ doesn’t render RTL text very well. In order to render it correctly you need to render it using GDI. GDI+ Text rendering This is done by Graphics.DrawString(…) / Graphics.MeasureString(..) GDI Text rendering This is done by TextRenderer.DrawText(..) / TextRenderer.MeasureText(…) The interesting thing about GDI text measuring is that it sometimes the measured size might be larger than the maximum size so be aware of that...
Some of the features: Ability to use <include> tags within Xml header documentation to pull docs from external files. Get accessor in property required to appear before set accessor .generated.cs files ignored by default Bugfixes: 18: Partial methods not handled correctly 31: Documentation rules should understand <include> element 56: Require get accessor before set accessor 63: When documenting a generic class, only allows <see cref="MyClass"/> and not <see...
I found this cool post on how to use azure blob storage to store your images. This post includes some source code (C#) to upload the images. Nice!
Summery from the original post by ScottGu NerdDinner ASP.NET MVC Tutorial The tutorial starts by using the File->New Project command in Visual Studio to create a brand new ASP.NET MVC project, and then incrementally adds functionality and features. Along the way it covers how to: Create a database Build a model with validation and business rules Implement data listing/details UI on a site using Controllers and Views Enable CRUD (Create, Update, Delete) data form entry Use the ViewModel pattern...
This is more of a general post on various collections and how does WPF bind to them and what are the interfaces that WPF uses in order to manage those collections. When binding collection to an ItemsControl (TreeView, ListView, ListBox, ComboBox and etc) or to a more simple control (Button, TextBox, TextBlock and etc) WPF creates behind the scene an ICollectionView object. This object can be one of the following types: CollectionView – handles collections that implement IEnumerable ListCollectionView...
There is an interesting open source project in codeplex that is based on DSL Tools, I saw just the videos but it looks promising. Here's the projects summery and pictures Sculpture is a .NET open source Model-Driven Development code generation framework ideal for creating and managing .NET Enterprise Applications. With Sculpture you can model your application components, and then transform this model to deployable components with your favorite technology. Sculpture comes with a host of ready...
תגים:WCF, WPF, ASP.NET, C#, LINQ, Winforms, SQL, .NET 3.5, DSL, framework, Architecture, NHibernate, ORM, Agile, .NET 3.5SP1, Screencast, DEV, ASP.NET MVC, Visual Studio 2010, UML, .NET 4.0, Visual Studio 2008
When testing WPF forms on WinForms hosting WPF controls you'll probably get test run error: One of the background threads threw exception: System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used. Here is a quick sample of code that causes this problem: class MyDialog { public bool Show() { System.Windows. Window w = new System.Windows. Window (); w.Show(); } } And here's the unit test using System.Windows.Threading;...
I came across this project at codeplex here's the project summery: " Project Description The MSBuild Extension Pack is the successor to the FreeToDev MSBuild Tasks Suite and provides a collection of over 170 MSBuild tasks designed for the .net 3.5 Framework. A high level summary of what the tasks currently cover includes the following: • System Items: Certificates, COM+, Console, Date and Time, Drives, Environment Variables, Event Logs, Files and Folders, GAC, Network, Performance Counters...
Although the author writes about java applications the concepts are the same for .NET and supported to some extent by Visual Studio Test Edition Here's the summery: "Performance tuning was once more “art” than “science”, but after a combination of abstract analysis and trial-and-error, wait-based tuning has proven to make the exercise far more scientific and far more effective. Wait-based tuning begins by performing a wait-point analysis of an application’s architecture in order to identify...
This blog carnival will be entirely dedicated to web development in MS platform. Scott has published a whole list of links in his blog ASP.NET · Amazon EC2 Support for Windows and ASP.NET: Big news announced this week: Amazon will be offering Windows Server 2008 as an option in their EC2 service. This enables you to use ASP.NET, IIS7 and SQL Server in the cloud. · Using ASP.NET WebForms, MVC and Dynamic Data in a Single Application : Scott Hanselman has a nice post that demonstrates how you can have...
In the last weekend there were number of tools/frameworks that were published/upgraded/etc FxCop 1.36 - .NET Code Analysis Tool for Microsoft .NET Framework Design Guidelines - documentation and download 200+ bug fixes that reduce noise, missing analysis and rule crashes Support for analyzing anonymous methods and lambda expressions New option for skipping analysis over tool generated code Spell checker libraries now ship in the box Changes in the way references are resolved and located Better support...
תגים:C#, .NET 2.0, .NET 3.0, .NET 3.5, Performance, fxarch, framework, NHibernate, .NET 3.5SP1, DEV, Unity
Source files rebasing enables a common CI scenario where the code is compiled in one location and analyzed in another one. One useful scenario is during 2 builds comparison. Usually, analysis results are done the same way and thus, source files paths are the same both in older and newer analysis results. In this condition, when trying to compare 2 versions of a source file NDepend tells that because the 2 paths are the same, it can’t compare the source files. A solution to this problem is to fetch...
I found a great tool that detects deadlocks using debugging tools for windows very interesting approach! The tool does not require to have the code re-compiled in any way or form, with any external dependencies, nor reference any external library or have you modify your code to use any special type of locks inside your code It works on release builds with no PDB files It works on running processes or previously captured memory dumps It detects deadlocks across multiple threads and returns detailed...
More Posts
Next page »