Tag | LINQ Posts

In my last blog we saw Microsoft LINQ and its LINQ to Object part and we also saw some small code snippet of LINQ to Object. One thing that I feel if you want to superior command on LINQ so you must have a good understanding of Anonymous types, Extension methods, Lambda expressions and Expression trees all are new feature of C# 3.0. Today I write small code snippet that use LINQ to SQL (formerly Dlinq). Before LINQ I use pure ADO.Net classes to write code that brings my required data. // Specify ...
Orcas web cast slides… Here are the slides for today’s (May 21, 2007) web cast on Orcas: http://www.aggelos.com/bill... As soon as the web cast itself is available, I’ll post that link here also. The web cast introduces the major new language elements and Visual Studio enhancements we can expect from Orcas. The heavy emphasis on LINQ is no accident. LINQ will change the way we program. Scott Guthrie (http://weblogs.asp.net/sco... did an excellent presentation on the ...
Charlotte .NET University Code Camp was a great success Have you heard about .NET University (www.dotnet-u.com)? It provides presentations and hands on labs for WPF, WCF, WF and Cardspace. We built our spring 2007 Code Camp on that content. We started by offering two .NET U tracks but had to expand to three. We also offered a presentation track and an XNA hands on lab track. Our presentations included Orcas and LINQ, SharePoint and ASP.NET sessions. All sessions were very well received. Our facility ...
Cream, as in 'pick of the litter' is always subjective, but this is my list for today as I view my Morning Paper, and will add on as I come across others: Silverlight Games 101 New Blog dedicated to Silverlight 1.1 Game development by DirectX MVP Bill Reiss Public Sector June Webcast Schedule Among other good webcasts, there is a Silverlight Intro and LINQ Intro both of which apply to Silverlight 1.1 ...
The Devteach conference has started, During breakfast I was seeing all the legends of the .Net world. It was pretty cool to be hanging out with the likes of Roy Osherove, Jeremy Miller, Jean-Paul Boodhoo, Scott Bellware, Oren Eini, Adam Machanic, Carl Franklin, Markus Egger, and Miguel Castro! Anyways, here's a synopsis of day number 1. Agile Development with Ray Osherove I was really excited to see the Agile development track in the conference. Roy came in the room wearing a shirt that said "Geek" ...
You know that 'food coma' you get in the middle of the afternoon when you eat a big lunch, and just wanna sleep? ... I think I have that from MIX07! I'm just trying to assimilate sanity of what real life is after being inundated with knowledge and new info the last 3 days, and the 5-hour drive back to Phoenix didn't take the edge off it :) I'm still struggling with installing Beta 1 on my laptop, and apparently the registry hives I sent to the team looked ok... so that means the uninstaller worked, ...
I am continue from my last blog about new Microsoft platform Yes I am talking about Sliverlight. What's clear is that Silverlight is not simply a media play. Instead, Microsoft is aiming to take its managed code environment to the broader Internet. With Silverlight as a target, .NET developers can use the same skills (and much of the same code) that they employ to build Windows applications to build rich Internet applications. Also announced was the Microsoft Silverlight Streaming service, a free ...
Day 2 at MIX was a blast.. continually busy all day running from session to session. Day 1 began at 9:30 ... so I was here at 7, did some email, grabbed breakfast and was on-time for the keynote. Day 2 I'm doing email watching my time, and about 8:15 was heading over for breakfast and decided to see where my first breakout was ... holy crap... they start at 8:30! So... grab another coke, call it breakfast and hit part one of the 2 parter "Building Silverlight Applications using .NET" by Jamie Cool ...
I attended 3 sessions yesterday afternoon, all very interesting. MySpace megasite Quite interesting talk by the MySpace team about what strategies they are using to run, maintain and upgrade what must be one of trhe busiest website worldwide. The sheer volume of video, MP3 and pictures theys deliver simultanously is tremendous. And all that runs on ASP.NET and Microsoft platforms. Very impressive. They also developed their own tools for code management, allowing to release and if necessary rollback ...
Day 2? ... wow... where did Day 1 go? Well... it went in a blur of Silverlight, that's where! All this is all over the web already and the presentations are even available, but if you've been sleeping behind a rock for the last 24 hours... come out now! The keynote was pretty much Silverlight. Amazing presentations by many people and organizations, and one thing that everyone learned really early yesterday was that if you want to go to a Silverlight breakout session, get there 20 minutes early unless ...
Microsoft Babies Microsoft new baby yes I am talking about LINQ stand for Language-Integrated Query is now available as a integral part of Visual Studio Orcas. Microsoft releases the new Visual Studio with the name of Orcas and all Microsoft previous efforts (Windows Communication Foundation WCF, Windows Workflow Foundation WWF, Windows Presentation Foundation WPF, Windows CardSpace and LINQ) are integrated in this Studio. From last one and half years Anders Hejlsberg team done a tremendous job in ...
It's a great keynote going on this morning out here at the Venetian, learning about the newest of the new from Microsoft. The new beta bits for Silverlight 1.0 are now available for download, with the RTM is coming this summer. And surronding Silverlight is also the announcement of the featureset to be included in Silverlight 1.1. For that Laurent already mentioned some of the great news. Especially important is that a scaled-down version of .NET will be included in that v1.1 release. We've been ...
For those not able to attend the webcast, the PPT deck of the presentation and the code is available on Public Sector Developer Weblog. Note the code was written using Visual Studio Orcas. If you follow the original registration link I posted yesterday and also on the blog, you can view the recording ...
When Monorail started as ActionPack, I wrote that I don't like the concept. By this time, it seemed like it was just another alternative to BLINQ, which seemed ugly as we know that if Microsoft takes BLINQ seriously, soon or later it'll be the one. Polita [MSFT] is doing very good job with it too! Two weeks before, I was investigating what's inside for dependancy injection frameworks. Somehow, this led me back to Monorail (cause of it's part of the Castle Project). Well, this time was pretty much ...
It was a great meeting at West Palm Beach, hosted again by Frank Bocchino and Joe Kelley at OpenClose.com. We had standing room only as Joe Healy, our Microsoft Developer Evanegelist out of Tampa gave me a hard time about a slight miss spelling of Orcus ... I mean Orcas. It was perfect timing because earlier that day the Orcas Beta 1 had been posted on MSDN. Joe gave an excellent run down on the new developer related features. Class extensions, LINQ and many others. Actual release date is unknown ...
If you are based in the southwest of England you are probably aware that there isnt a dot net user group and if you want to see any presentations you have to either be lucky enough and well planned to get in when MS come to Bristol but most likely theres the drive up the M4 to Reading. (I guess you could brave public transport and risk being late, getting lost or perhaps just not getting anywhere - bollox to that!!) I did post sometime ago enquiring how one would go about starting a user group - ...
Announced on Public Sector Developer Weblog for April 24th 2:00P-3:30P EST (11:00A-12:30P PST)

Bobby Diaz made a posting of some code samples of the Linq for NHibernate functions. I haven't read through all of his linq posts yet, but this guy is doing some pretty ingenious stuff. I can't wait to start playing with Linq when I get some more time. I've been too busy with other development projects lately to really do any worthwhile research. I would have imagined that Microsoft would have made it easier to make providers for Linq, but I guess thats not the case. I must admit that some of bobby's ...
XSL stands for Extensible Stylesheet Language (OR XSL = Xml Style Sheet) and XSLT is the language to transform XML documents. Its a common practice to use XSLT to to transform an XML document into another XML document, or another type of document that is recognized by a browser, like HTML and XHTML. Normally XSLT does this by transforming each XML element into an (X)HTML element.But today we will see how we can use ASP.NET scripts to achieve the same. This blog post is dedicated to those programmers ...
Since the proliferation of client-server architecture, enterprise developers have generally learned to develop in a specific language for application code and another for database manipulation. Application code might be Java, C#, VB, C++, PHP and so on, but for databases it’s pretty much a flavor of SQL. I’ve written in three flavors of SQL: Oracle, MSSQL and MySQL. Well, four flavors if you consider MS Access’s own special blend. Project LINQ, Microsoft’s Language Integrated Query, is supposed to ...
Anonymous types are a new language feature introduced in the C# 3.0 release. For those that remember your set theory, an anonymous type is described as a tuple type that is automatically inferred and created from its object initializer. An object initializer specifies the values from one or more fields (or properties) of an object. Another way to look at this is that the object initializer specifies the named parameters that passed to an object. All of this happens at compile time, so anonymous types ...
I didn't really think of the connection until I read this post from the Oak Leaf folks... http://oakleafblog.blogspot... dBase, then Clipper (from Nantucket) was my first development environment on the PC. That was quite sometime ago. Ashton Tate was a huge presence in the market and these were really productive environments. With LINQ, as the post points out, you get very similar syntax to what FoxPro (dBase, et.al.) had (or do they still have ...
There are 14 core tracks and 2 virtual tracks at Tech·Ed this year, which will cover more than 1,000 sessions. In case you're wondering, a virtual track is a collection of sessions or labs that share a common theme but span several tracks. Microsoft has revised the technical tracks slightly since my original post, so I have updated my summary. Architecture Service Oriented Architecture (SOA) Office Business Applications Software as a Service (SaaS) Business Capabilities Software+Services Industry ...
Here, in the continued foray into LINQ and the 3.5 (Orca's) release, is an implementation of LINQ over NHibernate. http://ayende.com/Blog/arch... Oren Eini provides a starting point, if not a great example of how LINQ can be expanded to work with data represented in different forms. Hosted up on SourceForge right now in subversion there's also a zip download on his site (NHibernate.Linq.zip (2234082 bytes)). Now, all I need is LINQ for my keys.... (car keys that ...
It seems the LINQ guys have done a great job of optimization inside of the LINQ namespace (System.Linq). http://blogs.msdn.com/jomo_... If you take a look at this post, then subsequent comments and a response from the author, you'll see that the System.Query.Func dynamic delegate done in LINQ gave the same performace as a C++ version in the previous comment. Not that scientific, but curious. However, note improved performance of 900% comparing the ...
I wanted to drop a quick note out here to remind everyone that the InterTech sponsored DevBlitz 11-hour conference is happening at the Minneapolis Convention Center on Thursday, March 29th. There are still "Option 1" seats open -- you can register on their site: http://www.devblitz.com. This should be a great event. I'll be opening the event with Windows Presentation Foundation and Windows Communication Foundation. Apress Author Brian Myers will be covering Workflow Foundation and author Andrew Troelson ...
Thank God I don't have to install Visual Studio 2003 onto Vista. Well, that may be a bit premature. I have to make sure that debugging and the like will still work. But I don't see why it wouldn't. So yes, it does turn out that you can work on .NET 1.1 projects in Visual Studio 2005 with a couple of project templates called "Everett Compiler". The Everett Compiler project templates include Console Application and Class Library templates that use a custom MSBuild .targets file that directs the compiler ...
FYI – in case you haven’t got a concise list like this. In case you hadn’t heard. We have just released the March CTP for “Orcas” and the .NET Framework 3.5. Customers are able to get a VPC with the installed bits from here. As with all CTP’s it is important to have your customers provide any feedback. The .NET Framework 3.5 brings no breaking changes. New technology is being added including LINQ, AJAX, Windows Foundation, WCF and WPF Developer Tools and BCL enhancements. ...
Top chap from blighty, Guy Smith-Ferrier, has started a free user group based in Bristol for IT professionals in the South West; The .NET Developer Network. They've got a cracking kick off session with Mr MSDN UK, Mike Taulty, delving into LINQ, the hottest feature coming with the next release of the .NET framework. It follows a similar format to the London .NET user group which is not a bad idea at all - presentations followed by some friendly socialising over a beer or two. Guy has his own blog ...
Overview Software Architect with 16 years of development experience using a myriad of technologies. Have exercised technical leadership in all stages of software lifecycle via collaboration with business stakeholders in defining system requirements, object-oriented analysis and design, design reviews, code reviews, and collaboration with developers and IT staff in troubleshooting/debugging production issues. Have written reusable frameworks and components to provide rapid delivery of reliable, extensible ...
*Moved to: MSDN Roadshow UK 2007I have been very lazy of late with my blogging. But I am now getting a spurt so I thought I should mention that I attended the Roadshow at the Glasgow Science Center. I though it would be boring, but apart from one session, it was very good. Two of the speekers realy stood out. The first was Daniel Moth who spoke at length about Linq in an enthusiastic mannor. He thinks he talks fast, and alway warns audiences before he starts, but he was just about the right speed ...
Microsoft has a released a new technology showcase site called Dinner Now. From the website: DinnerNow is a fictious [sic.] marketplace where customers can order food from local restaurants for delivery to their home or office. This sample is designed to demonstrate how you can develop a connected application using several new Microsoft technologies. The demo utilizes several technologies including: IIS7, ASP.NET Ajax Extensions, Linq, Windows Communication Foundation, Windows Workflow Foundation, ...
Day two of the MVP summit is over. We were at the Washington State Convention & Trade Centre all day, but will be decamping to the Redmond campus tomorrow. The day started with an unscheduled bout of ‘pre-match’ chanting from the Canadian MVPs. They are an excitable crowd, and have spent much of the day ensuring that we all know which country they come from (Canada, I believe). It appears that all Canadian MVPs (with the exception, I am glad to report, of Brian Loesgen) wear identical clothing. ...

I've seen a good number of questions from people about the LINQ to Entities Samples in the Orcas March CTP and why they just don't seem to work...

Check out Erick Thompson's post for the 4 easy steps to get the samples back up and running.

Well, you heard it right! Visual Studio "Orcas" the next version of Visual Studio is getting ready and stated for release later this year. Visual Studio "Orcas" presents unlimited capabilities and compelling features which can make a developer's life, more productive. Lets have a peek into the list of features .NET Framework 3.5 (includes support for 3.0, 2.0 versions) - You can write applications which target any of these versions and Visual Studio would automatically filter intellisense, toolbox ...
C# 3.0 introduces several language extensions that build on C# 2.0 to support the creation and use of higher order, functional style class libraries. The extensions enable construction of compositional APIs that have equal expressive power of query languages in domains such as relational databases and XML. Watch a demonstration on LINQ: http://download.microsoft.c... ...
An update to the post about BoundFields not able to bind to nested properties. Hero ScottGu answered back and brought one of the developers into the question. So at least now we've got a ear that can filter through the feedback parsing your words (not to mention that its difficult to use the feedback site... I typically get frustrated with it, and don't even bother to leave a comment) Hopefully I can steer the ASP.Net team into fixing this (ironically probably easy to fix) and yet so basic. ...On ...
...And supposedly this time its got all the LINQ goodness built in... Virtual PC Image: http://www.microsoft.com/do... (Dont forget the base image: http://download.microsoft.c... Installable version: http://www.microsoft.com/do... Have fun ...
I'm sure you're all familiar with the GridView in asp.net 2.0. It's a great control, and coupled with the new (well, some time back they were... :)) data source controls it's big aid to rapid development. I've worked with it before, but I always used DataSets as data containers. Now, on a little project I'm working on, which uses DLinq, I resorted to custom objects. It worked rather good, until I got to the "save back to persistence" part. As you might know, the ObjectDataSource control supports ...
Ok, so maybe it's not quite that dramatic, but I've gotten a lot of questions over the last month asking when the Orcas Feb CTP (now known as the March CTP) would be available. Well your waiting is over... the March CTP can be downloaded from http://www.microsoft.com/do... . There is a tonne of new stuff from my team included in this release - things like the Entitiy Framework and Entitiy Data Model, LINQ to ...
When using BoundFIelds and domain objects... BoundFields use some algo that can't traverse the object hierarchy. What am I talking about? Take for instance a Northwind database, with certain objects mapped to data tables: public class Customer{ public int CustomerId; public IList<Order> Orders;} When binding to a list of Orders in a gridview: int customerId = int.Parse(selCustomer.Selec... customersList = CustomerService.GetCustomer... ...
I've been training myself in all the new .NET 3.0 stuff and for those of you not aware yet, the extension frameworks (WPF, WCF, WF, & CS) are not the only thing that's new. There are quite a few language extensions (specially in C#) even aside from the ever-so-popular-now, Linq. I was going to give a runthrough here of some of them, but I came across a blog posting by David Hayden, an MVP from the Sarasota , FL area, so in the interest of not stealing his thunder and saving myself some fingerwork, ...
I've been playing a bit with (d)Linq lately so there are probably some related blog posts coming this way :). Today, for example, I was trying to get the logic for a search form to work. The form is pretty basic, allowing the user to search a books library based on several fields, like Title, Author, Publisher etc. The search should tokenize the input from each field and then build the final condition by OR-ing the conditions for each field together, provided that something was entered in that search ...
There are 14 core tracks and 2 virtual tracks at Tech·Ed this year, which will cover more than 1,000 sessions. In case you're wondering, a virtual track is a collection of sessions or labs that share a common theme but span several tracks. The Session Scheduler launches in April and we will get our first real look at the actual sessions available in each track. Until then, we have to be content to speculate. Looking at the technical tracks page, it became clear to me that there is a lot of information ...
The Server Side released a great LINQ/C#3.0 larning guide. 15 Seconds ahd a nice introduction to Microsoft IE developer toolbar. The March 2007 issue of MSDN magazine is already out, with pretty interesting topics/articles. Steven M. Cohn's WebLog also has great notes, especially on WCF ...
Have you checked theserverside.com(TSS) recently. They have published LINQ/C# Learning Guide. Thanks to TSS folks for providing extensive learning guide towards LINQ. I guess it the only thing that people know in C# 3.5. Check this out - http://www.theserverside.ne... Also, integration between CardSpace and Open ID has gain tramendous attention when announced at RSA Conference. You can find details information about Open ID at it website http://openid.net/ ...
This post was significantly written targeted for developers with passionate curiosity. I love passion. That makes what I am. I've read Scott Guthrie's blog last night and I found that it was really interesting post on Orcas. Orcas is the code name for the next release of Visual Studio. I think they will probably release it this year, since as far as I know, most of Microsoft product iteration release in 2 years. Visual Studio 2005 shipped in November 2005. Perhaps you can guess when is the shipping ...
Anders Hejlsberg on LINQ and Functional Programming - Charlie Calvert has a chat with Anders on the above subject; he goes into loads of details about how LINQ came about and how they(he) solved the problem. I wasn't exactly enthrawled for 30mins but it's certainly better than watching Eastenders! I am really looking forward to LINQ; I do loads of database and XML programming so it should be great...I did install the May CTP but it really messed with my intellisense in VS so decided to uninstall! ...
Yesterday, Mohamed Raafat -the other guy I meant when earlier mentioned my best two friends in field and life as well, who's also the only Egyptian guy with title "Technical Architect" I know- called me yesterday; and he was telling me about the Microsoft's Middleeast Developers Conference 2007 agenda. It's now available online if you haven't noticed yet! MDC 2007 Agenda (Print Version) // BTW, that's not so useful. MDC 2007 Detailed Agenda (Print Version). // This is your target likely. Of course ...
The final day at Codemash was one to remember. The day started off with a keynote from Scott Guthrie on LINQ. A great intro on the power of LINQ, and how it can be used as an OR mapper. Next was a session on letting NHibernate be your data layer, which, after the keynote on LINQ, I wonder if it is necessary to use NHibernate, seems to me that they do similar jobs, but I could be way off base also. The following session I sat in on was about a product called Selenium. It was a really cool and very ...