DCSIMG
.NET 4.0 - IHateSpaghetti {code}

IHateSpaghetti {code}

VSX, DSL and Beyond by Eyal Lantzman

Syndication

Coding / Architecture

Extensibility /DSL

Projects

Articles

Browse by Tags

All Tags » .NET 4.0 (RSS)
Toolbox items in DSL tools
In this post: 1) General overview of the way the toolbox items work in DSL tools for VS2010 2) Toolbox related Changes from VS2008 to VS2010 3) Customization of static toolbox items - how to grouped model elements into single toolbox item   In VS 2010 we change the way we manage toolbox items from being set explicitly during package initialization to being partially set(*) before the package has been created and initialized. The toolbox items that are set this way called static toolbox item...

Posted by Eyal | 2 comment(s)

DslLibraries in VS2010 DSL SDK
  One of the new features for DSL in VS2010 is DSL libraries, in this post I will explain how to use the new feature.   Prerequisites : VS SDK 2010 Beta2 and higher + DSL SDK 2010 Beta2 and higher.   DslLibrary is a DSL that is used as a library – you can extended it or just use it with you DslLibrary/DSL. In order to start creating DslLibraries:   1. Start VS and then File->New->Project 2. Find the Domain-Specific Language Designer (under Other Project Type->Extensibility...

Posted by Eyal | 35 comment(s)

WPF Toolkit June 2009
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...

Posted by Eyal | 1 comment(s)

DSL 2010 Beta1 Sample: ModelBus
The first DSL SDK 2010 Beta1 was just added by Jean-Marc and it demonstrates the usage of our new feature - ModelBus, used for model referencing. The code and the documentation is available here: http://code.msdn.microsoft.com/DslTools Side note: check out my first feature as MS employee - the ModelBus Picker - the WPF-based reference picker that pops when you click on the ellipsis for ModelBusReference typed properties ;-) Feedback is appreciated

Posted by Eyal | with no comments

Announcing the Visual Studio 2010 DSL SDK Beta 1
Jean-Marc has just announced about our release of DSL SDK for VS2010 Beta1 ! In that posts he covers about the new features we've added, sample and more! We have a new code gallary page that is worth checking out: http://code.msdn.microsoft.com/DslTools (I planning to write a sample regarind our new WPF databinding features in the next week or two). You can download the SDK here . Cheers

Posted by Eyal | with no comments

Win7 specific .NET API
Windows 7 specific APIs include demo , labs and presentaions: Windows 7 Sensor and Location .NET Interop Sample Library Windows 7 Multitouch .NET Interop Sample Library Windows 7 Taskbar and Libraries .NET Interop Sample Library Have fun

Posted by Eyal | 1 comment(s)

תגים:, , ,

WPF stuff and multi touch
  Are you intrigued by multi touch? The Windows Engineering team just posted a great article on how Touch was implemented in Windows 7 and on how software developers can tap into this: http://blogs.msdn.com/e7/archive/2009/03/25/touching-windows-7.aspx#comments Check out these labs to find out how you can use Windows 7 touch with WPF 3.5 SP1: http://code.msdn.microsoft.com/WindowsTouch This WPF 4.0 session from PDC shows you what you can expect next: http://channel9.msdn.com/pdc2008/PC03/  ...

Posted by Eyal | 1 comment(s)

System.Net traces
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">                        ...

Posted by Eyal | with no comments

GDI vs GDI+ text rendering and measuring
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...

Posted by Eyal | with no comments

Virtual Earth 3D WPF Component
Infostrat has taken VE3D and wrapped it up in a WPF control that you can just drop right into your XAML, they also put this project, including the source, onto CodePlex under LGPL. You just need VS 2008 and .NET 3.5 SP1. Very cool !

Posted by Eyal | 3 comment(s)

StyleCop update 4.3.1.3
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...

Posted by Eyal | with no comments

Using Windows Azure Blob Storage to store aerial images
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! 

Posted by Eyal | 1 comment(s)

Free ASP.NET MVC eBook Tutorial
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...

Posted by Eyal | 5 comment(s)

Collections and WPF collection view types
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...

Posted by Eyal | with no comments

Implementing MVVM in WPF & Silverlight
If you are interested in using MVVM (Model View ViewModel) design pattern for your applications you should definitely take a look at the screencasts made available on Josh's site . Implementing Model-View-ViewModel in WPF Implementing Model-View-ViewModel in Silverlight Implementing MVVM & Exploring UX Design Patterns

Posted by Eyal | 1 comment(s)

More Posts Next page »