Tag | LINQ Posts

I have been working on the domain builder but still reading articles and blogs. While I still love the idea and the concepts, the MVC presentations are really slick. I think that I am going to change direction just slightly and focus on the MVC pattern from Microsoft. I still plan on having CSLA and NHibernate talking together. I just read another article on Ayende's site about having NHibernate using LINQ. I will explore this further as well, but right now my focus is getting the MVC pattern talking ...
I got this book as a Christmas present and quickly read through it cover to cover. The primary focus of the book is to provide an introduction to LINQ (language integrated query) that is available in the Microsoft .NET Framework 3.5. In this end the book does a good job. Just don't look for anything comprehensive. The book starts out talking about what LINQ is and follows that up with a few chapters that talk about the new language features in C# and VB that make LINQ possible. I found the information ...
Both the .NET 3.0 and .NET 3.5 are built on top of .NET 2.0. .NET 3.0 adds four frameworks namely Windows Communication Foundation (WCF), Windows Workflow Foundation (WF), Windows Presentation Foundation (WPF) and Card Space to .NET 2.0 and Microsoft named the resulting framework as .NET 3.0 (a marketing tactic). Similarly .NET 3.5 adds Language Integrated Query (LINQ), Representational State Transfer (REST) and AJAX functionality to .NET 3.0 and named the resulting framework as .NET 3.5. I will ...
I've been seeing several people blogging about the free Microsoft Press E-Book offer. All you need to do is register and you get access to 3 e-books from Microsoft Press that you can download in PDF format. If you pay close attention to the details for each book, you will notice that these aren't full copies of the books. The only one that appears to be a full copy, based on the listed chapters and the actual table of contents in the PDF, is Introducing Microsoft LINQ. The other two e-books only ...
Few hours ago, Michael Schwarz, the creator of AJAX.NET Professional (A.KA. AJAXPro), the most successful AJAX framework for ASP.NET after Microsoft's ASP.NET AJAX Framework (A.K.A., ATLAS) has stated that he'll no longer be working on the project. Furthermore, he even recommended users to move to Microsoft's AJAX Framework instead!! The reasons Michael mentioned why he will stop the project used by 13.3% of ASP.NET developers doing AJAX work include the fact that ASP.NET AJAX is part of ASP.NET ...
Soren in his post expresses his desire for finding the SQL Query Analyzer equivalent of LINQ. He states: “ If you haven't picked up on it yet I can tell you that I' very excited about LINQ at this point. Now all I need is for someone to create Query Analyser for LINQ for me and I'm good to good. What's even more interesting about such a tool is the fact that you would be able to target not just SQL but all the supported data store, although the queries wouldn't be interchangeable ” Turns out, Soren ...
I frequently blog about Code Styles & Standards. One of the references that I use a lot when trying to justify a change to a companies existing standard (or simply putting a standard in place) is the Framework Design Guidelines by Krzysztof Cwalina and Brad Abrams. Both of them today officially announced that they are working on the Second Edition, which will cover the .NET Framework v3.0 and v3.5 releases, including LINQ and the other language advances. They are both looking for feedback on ...
I know it's been awhile since I last posted, but let's blame it on the holidays. Anyway, what I wanted to post today are screen shots of the latest working code. First I'll start with what the domain builder interface looks like. It leverages the DSL (Domain Specific Language) interface as part of the Visual Studio SDK package. Click on the picture below for a closer look. The model represented above has all entities sharing common attributes and thus inherit from the BaseEntity class. You will also ...
We are announcing our second meeting of DC ALT.NET on January 15th at 7PM. The meeting this month will bring ALT.NET to CMAP. Are you a developer who always keeps an eye out for a better way? Do you look outside the mainstream to adopt the best practices of any development community, including Open Source, Agile, Java, and Ruby communities? Are you always looking for more elegant, more simple, more maintainable solutions? If so, then you might be an ALT.NET practitioner! This group follows the Open ...
The year has come and gone. We've just completed the celebration of Christmas in our new home with our new daughter -- she's almost one now! Work is still going well. I'm working on the replacement to VisiWatch again after a long departure to work on some internal workflow fixes and changes. I've also made some good headway into eliminating some of the legacy Access databases and I've set SQL Reporting Services although right now it's not doing anything in production mode. We've upgraded some things ...
I did this from home early this morning (probably at the same time that I messed up Daniel Vaughan's name in my Silverlight Cream post). By the time I got everything fired up here, the blog post I used had rolled off my blog roll, but I found it again here from Tom Mertens. The implication is that you can get all 3 eBooks, but what I actually got was selected chapters of the ASP.NET Ajax book and the Silverlight book, but was able to download the LINQ book complete, and I figure that's great! If ...
What will the new year bring to us? Fact is that we already have the Visual Studio release of 2008 including .Net 3.5. This big improved development environment is a guarantee that 2008 will bring a lot of happy coding experiencing some new language improvements like Linq and improved WPF. Be carefully if you intend to do some fireworks, sow you don't need to code with less fingers next year. I wish all the best and a good health for all of you in 2008. Till next year ...
Recently I've done a series of posts all related to using Linq in a tiered application: Linq Table Attach() Linq Table Attach() based on timestamp or row version Handling Attach() with child entity objects Exploring DataContext in more depth The various posts (which have been influenced by this MSDN article) have focused on a DataContext that looks like the diagram below. The Contact class generated has a child collection property of Addresses which is of type EntitySet<Address>. This distinction ...
In a previous post here, I discussed implementation of Attaching Linq entities to a DataContext. In that post, I showed an implementation of utilizing a Detach() method that I originally based on this post here. The implementation boils down to the need to reset EntityRef<> references back to their default - otherwise, it will try to attach the parent objects (which is often not the goal of your code as this is often just reference data). Consider the DataContext below: The fundamental problem ...
I must admit that ASP.NET is a bit outside my realm; I did Win32 and Mobile development in C# .NET for nearly 4 years before taking a position as a Web App Developer. Therefore, I am more code-minded than web-minded, if that makes sense. I have the programming ability to do a lot of things, but making things aesthetically pleasing is where I lack most. Luckily, for me and my company, we have web designers who get paid to make things look pretty. In light of this, I’ve basically abandoned my quest ...
In case you haven't heard, Microsoft is providing a free Visual Studio 2008 and Framework 3.5 training kit at their download center here Overview The Visual Studio 2008 and .NET Framework 3.5 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2008 features and a variety of framework technologies including: LINQ, C# 3.0, Visual Basic 9, WCF, WF, WPF, ASP.NET AJAX, VSTO, CardSpace, SilverLight, Mobile and Application ...
This exception using the Linq Attach() method is somewhat perplexing at first: System.NotSupportedException: An attempt has been made to Attach or Add an entity that is not new, perhaps having been loaded from another DataContext. This is not supported. This blog post here *sort of* pointed me in the right direction. But I found the *WHY* confusing and I found the example confusing. The following is my implementation of the suggested solution from the previous post. First, consider the following ...
I just signed up the Philly.net Code camp. Did you? There are only 400 seats available! Here are the details: Our first installment of the 2008 Code Camp series will be held at the DeVry University campus in Fort Washington, PA on Saturday, January 12 from 8:00-5:30. Please register on our web site.-->Detailed directions are on the DeVry web site. Lots of code, just say no to slides! 9 hours 48 sessions (8:00, 9:30, 11:00, 1:00, 2:30, 4:00) 8 tracks 400 seats with tables (laptops welcome) Free breakfast, ...
I promised some people to post the slidedecks of my last 2 seminars for the syntrawest ITClub. 1. Agile Development met Visual Studio Team System 2. Windows Communication Foundation See you on the next seminars : 22/01 Workflow Foundation 26/02 LINQ + ADO.NET Entity framework 22/04 Rich Internet Applications with SilverLight ...
I seem to be working more and more my lappy these days...still always on the my PC at the office but when at home the laptop has taken over from my machine of choice...strange really because I love having two monitors and find it a fantastic way to work but I guess the freedom a laptop has to offer wins the day. Anyway, I digress...seeing I was working on it more and more I decided to get myself a Christmas present in the guise of a specialist notebook mouse, I looked at several offerings from Microsoft ...
Yes I'm going to discuss this again, so if you know me personally, or have heard me talk about it before, just click the "Delete" button :) Somewhere around the fall of 2003 I was working for what was essentially a failed dot com. The product was great, but nobody could figure out how to get US banks to buy into it. Maybe someday, but not then, and not even now for the unfortunate folks that are still trying to make it work. I was working from home, elbow-deep in Win32, MFC, platform SDK in C++, ...
The Visual Studio 2008 and .NET Framework 3.5 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2008 features and a variety of framework technologies including: LINQ, C# 3.0, Visual Basic 9, WCF, WF, WPF, ASP.NET AJAX, VSTO, CardSpace, SilverLight, Mobile and Application Lifecycle Management. http://www.microsoft.com/ ...
If you are doing any work with any of the following technologies: LINQ, .NET 3.5 (C# 3.0, VB 9) WCF WPF WF CardSpace Silverlight ASP.NET Ajax .NET Compact Framework 3.5 VSTO 3.5 Visual Studio Team System and Team Foundation Server You should download the free Visual Studio 2008 Rhythm Training Kit (125MB). The training kit contains 5-days of technical content including 20 hands-on labs, 28 presentations, and 20 scripted demos ...
Jeff Barnes has made his extended talk (think "deep dive") on the following topics available: NET 3.5, Visual Studio Enhancements Lifecycle tools ALM, C#, VB9, Interop, LINQ ParallelFX PLINQ Services (WCF, WF, CardSpace) Windows Applications Web Applications Office Applications Mobile Applications Synch Services for ADO.NET Orcas_For_Architects_Jbarnes - Part_1.zip - 3.6 MB Orcas_For_Architects_Jbarnes - Part_2.zip - 4.8 MB Orcas_For_Architects_Jbarnes - Part_3_Links And Resources.zip 188 KB ...
Today is the primary day of Muslim's ADHA (Sacrifice) feast. I'm enjoying it with family activities in my grandmother's house and few hours later my uncle's house. Thanks God both have wireless Internet connectivity. This how I could still check my Google Reader items (see shared items), while showing my profile pictures to my uncle's little daughter and other kids from the family! Then I noticed that the feast has a great gift, coming from Microsoft this time. I found that Microsoft has opened 3 ...
This offer is from Microsoft. Get it at http://www.microsoft.com/le... The free e-book includes content from three recent publications from Microsoft Press: • Introducing Microsoft LINQ by Paolo Pialorsi and Marco Russo (ISBN: 9780735623910) This practical guide covers Language Integrated Query (LINQ) syntax fundamentals, LINQ to ADO.NET, and LINQ to XML. The e-book includes the entire contents of this printed book! • Introducing Microsoft ASP.NET AJAX by Dino Esposito ...
About me: I am a 35 year old .NET software engineer. I have 15 years experience in the Industry. Originally from Sydney, Australia, i now live in Ness Zionna Valley, Israel. I have a Masters degree in Bioinformatics, and plan to do a pHD in Mathematics / Algorithms / Artificial Intelligence. I currently work for a training and outsourcing company called Sela. I have 2 kids, with a 3rd on the way. I maintain my technological edge by getting up really early in the morning and taking public transport ...
As noted in some of my previous posts, there is a lot of excitement around the ASP.NET 3.5 extensions including MVC, Dynamic Data, Silverlight and so on. I have a few samples I'll be posting within the week using ASP.NET MVC with such things as Spring.NET, Castle Windsor, Object Builder and so on. In the mean time, I'm still working on the Spec# posts and some SharePoint Model View Presenter I hope to get out soon. Anyhow, there are some great links out there for doing cool stuff with ASP.NET MVC: ...
The ability to use live Linq queries right in your UI makes for great demo's, but it doesn't bear a striking resemblance to a real-world, professional application which uses tiers. In traditional n-tier applications, you want to have a strong "separation of concerns" and encapsulate your business layer, your data layer, and your UI layer distinctly. One of the nice things about Linq is that the flexibility is huge. If you want to do live queries in your UI, fine. If you want to encapsulate Linq queries ...
A timely article appeared in the NY Times today (link) regarding Parallel computing as the next key factor in keeping up with the ever demanding needs of getting things done faster. As the article points out, the single CPU processor can't address our needs for faster computational capability without literally burning up or melting. I've seen this personally with Vista and the stressing of the GPU on some older notebooks. So, what's the solution, well, it's been around for decades, it's just now ...
By now you've attended an InstallFest and picked up a free copy of Visual Studio 2008 Pro, or perhaps you've just downloaded trial edition. Either way, it's time to get up to speed using the free Visual Studio 2008 and .NET Framework 3.5 Training Kit. It covers many of the new features in LINQ, C# 3.0, AJAX, WCF, WPF, and Silverlight ...
Here's a cool tool that provides an interactive LINQ environment that you can use to develop queries against LINQ sources (SQL, Objects, XML, etc.). If you're working with LINQ and need an environment that supports both expression and language statements in C# or VB.NET, this tool can handle both. The below shot is using C# statements. A few bonus items included: 1. provides a view of both the resulting SQL and Lambda expressions used in the query. 2. Provides SQL execution as well 3. A whole bunch ...
Last Tuesday night witnessed a relatively new kind event held in Microsoft Egypt building @ smart village. It was said to be "announcing dotNETwork user group" which I thought was some Microsoft Egypt initiative for a new offline user group model of developer community. I was so excited about so, and it was even better! The Idea The dotNETwork group is just am offline user group that's done right. It just happened to have Microsoft Egypt host the group gathering, as this is the hardest issue to maintain. ...
LINQ hands-on lab at Microsoft Switzerland Yesterday, a colleague and I attended a free LINQ hands-on lab given by Microsoft Switzerland in their offices of Wallisellen near Zurich. It was really good. I have seen LINQ in action a few times this year (actually, I had it demonstrated by no less than Anders Hejlsberg himself on one occasion, and Scott Guthrie on the other) but I had never tried writing queries myself. It was a good, 4 hours occasion to try it by myself. Needless to say, I was really ...
Visual Studio 2008 & .NET 3.5 Quick Changes Overview I AM NOT TRYING TO REPRESENT THIS WORK AS MY OWN, I AM MERELY AGGRIGATING EXISTING INFORMATION HERE FOR MY OWN BENIFIT AND MAYBE YOURS Visual Studio 2008 General · Can target framework versions 2, 3, and 3.5 · Built in ORM ASP.NET · Now supports nested master pages in the designer · Faster switching between markup and designer · Split view for seeing the designer and markup at the same time · Drastically improved CSS support with new “Manage ...

While i was going through LINQ, i have tried to capture my understanding and my notes. If you are interested you can check the same at the following URL.

http://geekswithblogs.net/Sreeblog/articles/117518.aspx

Instead of trying to come up with my own text (yes, I'm that lazy sometimes!) I'll just "borrow" the text about this event from Chris Love's blog. Before I do though I'll add that I too will be presenting at this event. I haven't decided exactly what yet but I know it'll be VB 2008 centric. Ok, here's the text from Chris's blog post: "Next week, December 12th, the Triangle .NET User Group will be holding an Installfest for Visual Studio 2008. Each Registered attendee, and I stressed registered attendee, ...
UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2... Its been a great week on the .NET Wiki. There have been a few newly registered users, and several pages added. The updated pages include: Value Type Access Modifier LINQ Silverlight Additionally I managed to updated our version of ScrewTurn Wiki to the latest version (2.0.21, up from 2.0.20). Things are really moving along nicely ...
Tonight, the Roanoke Valley .NET User Group (www.rvnug.org) had the incredible privelege of Kathleen Dollard (http://msmvps.com/blogs/ka... speaking. She was, in a word, AMAZING. She had great energy and passion. She is smart and engaging. And she really knows the topic! She spoke on Refactoring with Generics and she covered Linq and some .NET Framework 3.5. Thanks a bunch Kathleen and INETA ...
LINQ to SQL Geek Speak URL LIVE MEETING REPLAY URL: https://www.livemeeting.com... The login asks for a name so just type in your name and click the “View Recording” button. Then you can view or download the web cast. Enjoy! Bill J ...
Well, I blogged about Visual Studio 2008 and have just started a series on Whats new in Visual Studio 2008 for Web Developers. However, I also wanted to write on ASP.NET 3.5 which is released along with .NET 3.5. ASP.NET 3.5 has the following key features Built-in ASP.NET AJAX - System.Web.Extensions has the version 3.5.0.0 and yes it can happily co-exist with ASP.NET AJAX 1.0 with System.Web.Exntesions version 1.0.61025.0 which works well with ASP.NET 2.0 List View Server Control a Databound control ...
The subtitle of this blog started out as gluing it all together. I quickly realized that when thinking in terms of a loosely coupled environment glue isn't necessarily the best tool in your tool box. I will try to post a little more in depth follow up to Querying a NIEM XML Document With LINQ as soon as I can. After some review I realized just how reusable some of the parsing methods I wrote are. Wouldn't it be nice to have a single NIEM XML parser that you could extend if you received additional ...
If you are not familiar with the new LINQ syntax in .NET 3.5 I recommend you read up on that first. Language Integrated Query (LINQ) is the new foundation for querying anything (I mean anything) in .NET and a lot of effort has been put into LINQ and XML integration. I did some research a few months back on it but it was only recently that I realized how much Microsoft put into LINQ to XML. I am a huge fan of intellisense. That is the best thing that MS ever perfected in Studio. I spend a lot of time ...
Geek Speak on LINQ to SQL December 5th Despite some technical difficulties on my end, Lynn Langit and Mike Benkovich, from the MSDN team co-hosted my appearance on an excellent web cast today. We gave a good introduction into the basics of LINQ to SQL. This feature of Visual Studio 2008 and the new .NET Framework 3.5 provides and elegant way for us to retrieve data and hydrate usable objects from the database. Here are some links you can look at now. Look for another post in a day or so for where ...
You completed the forms. You did the interviews. You provided references. You even demonstrated the pros (and maybe the cons) using someone's copy. So now you wait patiently to hear word from the adoption agency that your requested new addition is ready. Then it arrives...in a shiny holographic-background DVD...with official logos. Wait what? Did you think I was referring to human adoption? Sorry...let me back up... Visual Studio 2008 was release from Microsoft recently (in 2007 no less). I know ...
There's a log of focus with LINQ on interacting with databases, but the other day I was playing around and found other great uses for it. In fact, none of the following examples are related to databases at all. For example, you can use LINQ to filter and sort an array of integers: int[] numbers = { 10, 25, 30, 52, 64, 86, 97 }; var myList = from number in numbers where (number % 2 == 0) select Convert.ToString(number) + " is even"; foreach (string s in myList) { Console.WriteLine(s); } Note that ...
Anyone using XML in .NET projects is probably aware of the several options available for working with XML within the .NET Framework (which I will tell you up front - I am a huge fan, nay, a cheerleader for .NET). .NET provides a full set of classes to work with XML data and XML schemas. With the release of Visual Studio 2008 and .NET 3.5 there are several new ways to work with XML using LINQ and many improvements to working with XML schemas (Intellisense support, etc). The last few projects I did ...
The recent release of Visual Studio 2008 and .NET Fx 3.5 is causing some confusion. Microsoft released these two technologies together for good reason. The wonderful new LinQ technologies introduced in .Net 3.5 rely on explicit compiler-level support, and therefore require LinQ aware compilers in Visual Studio. The new version of visual Studio provides these compilers, allowing developers to take advantage of the new monadic syntax. In addition, Visual Studio has several new features designed to ...
What used to be called Silverlight 1.1 has been rebranded as Silverlight 2.0 and will include a cross-platform, cross-browser version of the .NET Framework and will enable a rich .NET development platform in the browser. Scott Guthrie has a post that details what will be part of the 2.0 release, but it includes: WPF UI Framework: The current Silverlight Alpha release only includes basic controls support and a managed API for UI drawing. The next public Silverlight preview will add support for the ...
Last month, Scott Guthrie announced the ASP.NET MVC framework which allows for built-in support for the Model View Controller based architecture. Since that time there has been a flurry of activity from Microsoft to demo the technology to the world and make demos readily available. In case you missed it, here are some of the features: Clean separation of concerns. All core contracts of the MVC framework are testable and mockable Highly pluggable to use NHibernate, Spring.NET, Windsor, and other great ...