I am fighting with an interesting situation. I have code that when executed in VS2005 SP1 Web Application project gives one result and when same line executed in Immediate Window gives another result!?!? Very weird.
thi code lives in anonymous method and it is called though delegate by
Does anyone have an idea?
I just found very interesting tool Adobe Flash to XAML Conversion tool. Thanks to Michael Swanson for building it in his spare time.
You might want to see 11 minutes screencast or in-depth 28 minutes Channel9 interview.
The SWF2XAML would be very helpful for Silverlight developers as it is direct competitor of Adobe Flash.
I've found interesting blog post about changes in Orcas July CTP at system.data.objects dev guy. Here are they (copied directly):
- IPOCO -- there's a lot more coming here to bring us closer to true POCO, but this is the first step in that direction and makes the key change to allow the creation of Entity classes that do not inherit from our base class.
- ObjectContext.Detach() -- will detach an object from the ObjectStateManager associated with an object context so that it can be attached to some other context or reclaimed by the garbage collector
- Multiple entity sets per type -- this is relatively esoteric, but it does exactly what its name says. You can define a model which has more than one entity set with the same base type. This is important because it enables models which work more naturally with various database models. If you have two tables with the same schema (say "accounts" and "expired_accounts" or something), then you can define entitysets for each of them which use the same entity type rather than needing to create a different entity type which just happens to have all the same properties. This resulted in a change to a number of the object context APIs -- strongly typed contexts, for instance, now have AddToEntitySetName methods (where EntitySetName is the actual name of each entity set).
- Support for referential integrity constraints -- This allows you to define a key to one entity type which is made up, in part, of properties which are also in the key of another entity type. The modeling scenario in the database is where a column is both a foreign key and part of a primary key.
- Span -- this makes it possible to specify that a query not only return an entity but return some set of related entities in a single round trip and automatically hook-up the graph. So, for instance, you could say that your customer query should also return the orders for each customer in a single round trip. We also have an automatic query re-write feature for the object layer that enables a feature we call Relationship Span where queries that retrieve entities will under-the-covers also return relationship information if the relationship is an EntityReference (rather than a collection). This is usually a quick operation since typically this relationship information is co-located in the relational database as a foreign key property, and it has the very useful property that for many cases entity graphs will automatically be hooked up as long as the relevant entities on either side of the relationship have been loaded. So, for example, if I query for a set of customers and then I separately do a query for a bunch of orders--any of those orders that are related to those customers will automatically bring along the relationship info and connect the orders up to the customers they go with.
- Transactions -- specifically integration with System.Transactions.
- Serialization -- that is, entities are automatically generated with attributes that enable binary serialization. Unfortunately EntityKeys do not yet serialize but that will be coming in a future CTP.
- No more default constructors in code-generated classes -- I've already written about this in an earlier blog post.
- Improvements to stored procedure support -- honestly I can't remember the details of this one just now, and since I'm sitting in the Denver airport where I have limited battery life on my laptop I'll delay looking it up for you. If anyone is wondering, drop me a note and I'll get back to you.
- Access to the underlying store connection -- You can now easily access the store connection from an EntityConnection which makes it much easier to go around the covers if you need to. (But I must say I don't have to do that nearly so often now as I used to -- this framework is actually starting to work pretty well for writing apps, IMHO <grin>.)
- Directory macros -- Makes it easier to specify where the metadata lives in hosted scenarios
- Native SQL read-only views -- You've got to see one of the demos Tim Mallalieu runs where he shows the entity framework accessing sharepoint or some other schema that otherwise really doesn't fit the model.
- UNICODE support in Entity SQL
- Query plan caching and I'm pretty sure we do some metadata caching across app domains as well, but that may not be fully online yet in this CTP release.
- Canonical functions in Entity SQL
- Associations between sub-types -- This one is a biggy (as if the others aren't). Before this change, the entity types that are on the ends of relationships had to be the base type of an entityset, but after this change you can define relationships between any types in the type hierarchy even if they aren't the base types. So, for instance, if I have a hierarchy that has Customer and BigAccountCustomer, then I could create an entity type DiscountPolicy and a relationship that only relates BigAccountCustomers to DiscountPolicies not just regular customers.
The answer is yes! Definetely! Microsoft UK made a post:
The Product Group have released an newer version of Visual Studio, but they aren't releasing it as a CTP. It is aimed at fixing a couple of problems for some targeted customers. The reality of this isn't tested or up to the quality of a proper CTP. You can still use this download, but it has some problems and it isn't supported for TFS. I would recommend waiting until Beta 2. Sorry for any confusion I have caused.
You can download VPC image from http://download.microsoft.com/download/f/2/a/f2ac411f-acf9-42a7-a84f-3efc409bcd6b/VSTS_VPCJuneCTP.mht
Breaking Changes in .NET Fx Libraries (Update: 7/11/2007)
LINQ to SQL: INotifyPropertyChanged and Column properties have changed, which generates 100+ errors in small projects. You'll need to recreate your LINQ to SQL classes with the renamed LINQ to SQL Classes template.
LINQ to SQL: Jim Wooley reports in a comment that the System.Data.Linq.AttributeMappingSource and System.Data.Linq.XmlMappingSource classes have moved to System.Data.Linq.Mapping.AttributeMappingSource and System.Data.Linq.Mapping.XmlMappingSource respectively. [Note: MappingSource changed to AttributeMappingSource and XmlMapping changed to XmlMappingSource, and namespace prefixes added.]
LINQ to DataSet: The System.Data.DataTableExtensions namespace has moved from System.Data.Entities.dll to System.Data.DataSetExtensions.dll so you must change references.
LINQ to XML: Fixing "Could not load type 'System.Linq.Func`2' from assembly 'System.Core, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089'." exceptions requires adding a reference to System.Linq.DataSetExtensions.dll. This is probably a temporary expedient for the June 2007 CTP.
(via OakLeaf Systems )
Can you name the common things (logical ones) between file system storage and RDBMS? For sure both stores user's and system's data. For historical reasons the engines are quite different but can they be brought closer with current level of technologies? Why not?! Microsoft has made an attempt with WinFS but this adventure threatened Windows Vista relesase and was dropped from Vista. This mean we won't see it in Windows Server 2008 either as they share same core AFIAK.
But still we can have small good even now - transactions in file system or trade name - Transactional NTFS (TxF)
There is a good article explaining TxF in July 2007 issue of MSDN Magazine.
The easiest use of TxF is with native code. Being .NET developer this isn't that good for me but in the article's sample code is placed a basic wrapper you could start with.
If you're interested but too lazy to read take a look at Channel9 screencast Developer, Meet Server #1 - Transactional NTFS
It is amazing how many improvements was made from VS 2003 to VS 2005. I remember the time when I was so anxious to touch new VS 2005. MS guys are working hard (and smart) to let us waiting new VS 2008 (Orcas) in same manner.
ScottGu was very responsive to users' comments on his blog entry VS 2008 Nested Master Page Support and shares
VS 2008 Beta2 should be available for free download in the next three weeks. It will support a go-live license (Posted on July 09, 2007)
Also the date of big launch is known... as Windows Server 2008, Visual Studio 2008 and Microsoft SQL Server 2008 Joint Launch Announced. It is Feb 27, 2008 in LA.
While the launch events are scheduled to kick off on February 27, 2008, Visual Studio 2008 will be released before the end of the year.
In last ten years software technologies grow very fast. As these technologies has to be learned by people who is supposed to work with them learning process have to be adapted in such way so learners see and remember as much as possible form the course. (further thoughs in this subject see here)
Microsoft as a one of the most innoviative companies beside pushing techinlogies forward gives its share to education. After creating Microsoft Learning system now the new solution is being developed. It is called "Grava" and it is built on top of WPF to provide very interactive training. As it is still CTP the address is https://connect.microsoft.com/Grava Here is some description of Grarva:
What is "Grava"?
"Grava" is the code name for a new set of tools from Microsoft’s Education Products Group that is designed to allow the education community to create and assemble materials that will increase discovery and allow learners to go at their own pace and learning style. "Grava" tools are scheduled for release in fall 2008.
"Grava" Player—The "Grava" player enables users to view the rich interactive content created in "Grava" Authoring.
Developer Tools—The "Grava" SDK is built on Windows Presentation Foundation (WPF) and provides a programming model and tools for building rich educational experiences.
Authoring—"Grava" Authoring allows users to create interactive and stimulating non-linear projects to view in the "Grava" player.
Services—"Grava" provides an array of services which complement the authoring, SDK and player components. These services include the ability to do assessments, log results, and create intelligent learning solutions.
ASP.NET guru Dino Esposito gave a presentation about
WWF at Sofia .NET User Group montly meeting. The subject was "Design, Host and Deploy Workflows in Multi-tier Applications". Although this technolgy is not new he gave some practical advises do and don't.
Special thanks to Martin Kulov, Crossroad and the local Microsoft office.
Ruslan posted some photos from the session