|
| DotNetSlackers Latest ASP.NET News in Category ADO.NET |
|
|
|
| App Gap is Mine! |
(Wed, 27 Aug 2008)
|
|
I finally did it. Late yesterday afternoon I had to get away from the computer so
I hopped on my bike and headed south. I thought I would try, yet again, to see if
I could get
up the App Gap again. Having gotten past the first of two critical points last
time, I knew exactly what to expect; so when it got extra hard, I knew that it would
let up around the next bend. To make a long story short - I MADE IT! When I pushed
past the place I gave up last time, I had my head down and was focused on staying
upright... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Presented By: |
(Wed, 27 Aug 2008)
|
 |
|
More...
|
|
| ADO.Net Interview Question Part 2 |
(Tue, 26 Aug 2008)
|
| ADO.Net Interview Question Part 2... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Vista Ramp Up Is Happening Now, Study Says |
(Sun, 24 Aug 2008)
|
| Businesses may have been slow to adopt Microsoft Windows Vista, but expect that to change by late 2008 to 2009, according to a recent Forrester Research report.... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Transaction is not allowed error using ADO.Net Entities. |
(Sat, 23 Aug 2008)
|
| Doing some ADO.Net Entity queries and updates the other day, I kept getting this exception: "New transaction is not allowed because there are other threads running in the session." foreach (Users u in db.Users.Include("Queries")){ // A db.SaveChanges() here will throw the error.} The reason is we have an open Reader in our foreach and we can't nest trasactions like that. The solution is to read everything we need first so we close the reader. The simple solution here is to... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Presented By: |
(Sat, 23 Aug 2008)
|
 |
|
More...
|
|
| FOLLOW UP: Developer Dinner on .NET Framework 3.5 SP1 |
(Wed, 20 Aug 2008)
|
| Thanks to everyone who attended! You can download the deck and links to the code here: Normally, I make my actual demo code available for download. However, this time around, my demo code was based on the .NET 3.5 Enhancements Training Kit. I blogged about it here: http://blogs.msdn.com/devkeydet/archive/2008/08/18/free-training-on-net-framework-3-5-sp1-and-asp-net-mvc.aspx The kit has everything I showed in my demos and more! I also promised to link to a bunch of good... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Presented By: |
(Wed, 20 Aug 2008)
|
 |
|
More...
|
|
| ADO.Net Data Services after Silverlight Tools sp1 |
(Wed, 20 Aug 2008)
|
| After installing Silverlight VS Tools SP1 beta, not only did SL designer not work, but it somehow messed up my ADO.Net REST services. Was getting strange exceptions. I uninstalled SL Tools and reinstalled VS SP1 (not sure if that was needed) and ADO.Net data services seem to be back working again. Short story, don't install SL tools yet. I should say, don't install beta software - but I could not follow my own advice.... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Comparing times for loading models of different (exaggerated) sizes |
(Tue, 19 Aug 2008)
|
|
Prompted by Roger Jennings' post Entity
Framework Instantiation Times with a 120-Table Database, but with limited time
to do a thorough investigation, I did a quick trial this morning comparing AdventureWorksLT
with it's dozen tables/views to another model with about 400.
There are a few up-front costs for querying in Entity Framework. Query compilation
is one and another biggie is loading the model into the application cache. Once the
model is loaded, it remains in the applications cache and under... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Reposting Entity Framework Tutorials over on ProgrammingEntityFramework.com |
(Tue, 19 Aug 2008)
|
|
Unfortunately, the datadeveloper.net website is "in between hosts" and we are still
waiting for the owners of the site to place it elsewhere.
That means that now that EF has RTM'd and a lot of people are suddenly looking for
help, the tutorials that I wrote are not there to help out.
I've recovered six of them which I have posted on www.ProgrammingEntityFramework.com/tutorials.
Creating
an ADO.NET Entity Framework Entity Data Model
Use
an Entity Framework Entity as a WinForms Data... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Presented By: |
(Tue, 19 Aug 2008)
|
 |
|
More...
|
|
| Some Entity Framework Tutorials over on ProgrammingEntityFramework.com |
(Tue, 19 Aug 2008)
|
|
Unfortunately, the datadeveloper.net website is "in between hosts" and we are still
waiting for the owners of the site to place it elsewhere.
That means that now that EF has RTM'd and a lot of people are suddenly looking for
help, the tutorials that I wrote are gone.
I found two of them in my LiveWriter drafts and posted them to www.ProgrammingEntityFramework.com/tutorials.
I had persisted a few of them as word docs and will get them up there soon as well.
... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Microsoft Analysis Services 2005: Displaying a grid using ADOMD.NET and MDX |
(Mon, 18 Aug 2008)
|
| The article explains how to fetch data from Microsoft Analysis Services 2005 (OLAP) Cube using ADOMD.NET and MDX, and display it in the form of a grid.... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Microsoft Analysis Services 2005: Displaying grid using ADOMD.NET and MDX |
(Mon, 18 Aug 2008)
|
| The article explains how to fetch data from Microsoft Analysis Services 2005 (OLAP) Cube using ADOMD.NET and MDX; and display it in the form of a grid.... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Presented By: |
(Mon, 18 Aug 2008)
|
 |
|
More...
|
|
| Why the Database as a Service is a bad idea |
(Sat, 16 Aug 2008)
|
| Microsoft recently released SP1 for .NET.
While the SP brings some
nice stuff it seems it also has
some bugs and a few less
than inspiring components
Another example for a less than stellar idea is the "ADO.NET data services" component.
Before I go on to explain why I think that. I should probably mention that this isn't
just a Microsoft thing as IBM
also mentions similar ideas as part of their (broader and sometimes even worse)
view of "Information as a Service"
So why is exposing the... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Turn off feed reading view to debug your ADO.Net |
(Fri, 15 Aug 2008)
|
| If your trying to expose a new ADO.Net dataservice and work some samples, you may get some strange output in your IE that looks like a feed page and wonder why you can't see the XML as the samples show. Just turn off the feed reading view in IE. ... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| A few things you can`t do with EF queries which you won`t find out until runtime |
(Thu, 14 Aug 2008)
|
|
Naturally, these are on my mind because my hand still stings from getting slapped
by the runtime when I tried to do this.
LINQ to Entities does not support projecting into known types.
If you have a type or struct defined such as:
PublicStructure KeyListItem Public ID AsIntegerPublic Name AsStringEnd Structure
and are doing a query that will project out an ID and a Name, this is the natural
way to write the query, given some experience with LINQ to [anything (including LINQ
to SQL) but Entities].
Dim... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Presented By: |
(Thu, 14 Aug 2008)
|
 |
|
More...
|
|
| MSDN Forums |
(Thu, 14 Aug 2008)
|
|
Today I noticed that my name has 3 stars under it on the MSDN forums.
That's because I've been trying to answer questions while I've been spending a lot
of time in there looking to see what types of questions and problems other people
have been having with Entity Framework. It's definitely been educational for me and
hopefully at the same time, whatever I can feed back into the system is hopefully
helpful for others.
If you are learning EF and have questions or problems, please search the Entity
Frameworkforums... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Visual Studio SP1 and The Metification of REST |
(Wed, 13 Aug 2008)
|
| Metification verb The act of adding metadata to a web service in order to facilitate tooling and discovery. The act of adding complexity to a web service in order to achieve tight coupling. Pick one. Service Pack 1 for Visual Studio 2008 has just arrived with new features, including version 1.0 of ADO.NET Data Services (a.k.a Astoria). From the description (highlighting is mine): ADO.NET Data Services consists of a combination of patterns and libraries that enables any data store to be exposed... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Silverlight, Entity Framework, ADO.NET Data Services, VS 2008 SP 1 phew! |
(Mon, 11 Aug 2008)
|
| A lot has come out over the past few months and keeping up with the technology has been a whirlwind experience for everyone. Yesterday Visual Studio 2008 SP 1 was released which began the first official live versions of the Entity Framework (EF as many of us call it) and ADO.NET Data Services (ANDS as Shawn Wildermuth has affectionately labeled it). Here are some things you need to know if you are working with EF, ANDS, and Silverlight 2. If you had already installed the beta 1 or VS... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| LearnEntityFramework.com/ProgrammingEntityFramework.com |
(Mon, 11 Aug 2008)
|
|
I've created a site that will eventually be used for my book, Programming Entity Framework.
Before I had a book title I had started out using LearnEntityFramework.com then
pointed ProgrammingEntityFramework.com to
the same spot. In the long run the urls just point the thedatafarm.com/learnentityframework.
It's all good.
The site usesthe free "express" version of Graffitifrom Telligent (Community
Server's younger sibling) which is easy to use and very customizable.
Right now it is a subset of my... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Presented By: |
(Mon, 11 Aug 2008)
|
 |
|
More...
|
|
| EF: GetRelationTypeExpensiveWay |
(Mon, 11 Aug 2008)
|
|
I spend a lot of time in Reflector learning about Entity Framework but here's a very
oddly named (yet descriptive, don't you think?) method I missed.
In EF, when your entities are being managed by the objectContext, relationships are
defined by separate objects. In order to build a graph, the context looks at your
entity, then finds all of the RelationshipEntries that contain that entity and from
there traverses to the entities on the other end of the relationship object.
Outside of the objectContext,... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Entity Framework changes between SP1 Beta and RTM |
(Mon, 11 Aug 2008)
|
|
On the ADO.NET Team blog there's a list of changes between SP1Beta & RTM: What's
new in the VS 2008 SP1?
The designer got over 200 bug fixes including a bunch that help with source control
and a few of the annoying validation error messages that are incorrect (and send you
chasing down a problem that doesn't exist) have been fixed.
There are a bunch of fixes to the EntityDataSource. What I don't see on there is that
you can now combine the Include (was IncludePath) and InheritedTypes. I complained
about... Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.
 |
|
More...
|
|
| Presented By: |
(Mon, 11 Aug 2008)
|
|
|
More...
|
|
|
|
|
|
|