Tag | LINQ Posts

The age-old question. And the first answer should always be: "Yes." Because they both use the same .NET Framework classes, they both compile to the same intermediate language, and there is functionally no difference between the two. Syntactically, they are different, but they can both do the same things. That being said, I will admit that I have a bias towards C#. I am currently working in VB, but that's not completely by choice, that's just what my current group uses. I like that because I'm learning ...
After reading this post about LINQ, I think a few people are missing the point of LINQ... LINQ *replaces* any "Data Access layers" that have been created. When you build methods in your data access layer, like "GetCustomersByCity," you're actually creating a wierd separation between the data and business layers. In a sense, you're defining business logic in your data layer. The important thing to remember, is that your business layer RELIES on the data layer to retrieve and persist entities so the ...
ScottGu has been busy writing some articles about some of the new features contained in the new Beta 2 bits of Visual Studio "Orcas": - Part 1: Introduction to LINQ to SQL - Part 2: Defining our Data Model Classes - Part 3: Querying our Database - Part 4: Updating our Database - Part 5: Binding UI using the ASP:LinqDataSource control So far, its an interesting read... In particular I like the idea of the <asp:LinqDataSource> control, but I'm not so sure the implementation was correct... At ...
Another in the "4 Pillars" of SQL 2008 series, this one focuses on Dynamic Development. Again, its a high-level overview that really just gives you enough buzzwords to go off and start researching on Google. New development technologies were highlighted, including the Entity Data Model, LINQ, Entity SQL, and Data Shaping Services (but no demos...all just mentioned abstractly and how they fit into the new data services plan in the new offering). Although it wasn't mentioned in detail, and it may have ...
from paul.swanson@cit.com Exploring LINQ, SQLMetal and SqlTac 15 March 2007 by Steven R. McCabe http://www.simple-talk.com/... ...
My daily Silverlight 'Pick of the Litter' from the web, and sometimes even things NOT Silverlight, I will add on as I come across others So You Want to Give a Silverlight Presentation? So you don't want to give a presentation... this is all good stuff to get! Introducing LINQ – Part 5 Not exactly Silverlight, but I've been posting LINQ stuff because it's good for Silverlight Alpha... links to the other parts are at the bottom of the article. LINQ: How To Use LINQ To Query Just About Anything Looking ...
My daily Silverlight 'Pick of the Litter' from the web, and sometimes even things NOT Silverlight, I will add on as I come across others Streamed Template Processing for Data Binding in Silverlight Joshua Allen took Laurence Moroney's MSDN Article and extended it in Silverlight 1.1 -- with code (although you may have to convert the font on the 2nd half of the article -- I got windings!) LINQ Cookbook from the VB Team Not exactly Silverlight, but if you're doing 1.1 and hitting data, you probably ...
So I haven't blogged in while, I've been so busy I can't tell when it's night or when it's daytime... Well not really but you get the idea. I have been toying about the idea of actually coming up with some content (instead of just reporting other people's content ;-)) and I've decide it was time to do so. In the next few months (weeks if I can kick myself hard enough to do it) I'll write a series of post on Team Build. I've been playing quite a bit with it and I think there is a lot to talk about. ...
Yesterday we started accepting FREE registration for the 2nd Demo Day. If you remember from the 1st one, Demo Day is an event we love to hold being our way to expose knowledge and most importantly excitement regarding the latest pre-release technologies to the developer community in Egypt, mainly focusing on technologies bound to Microsoft, as our chosen method of getting things done, plus other technical inspirations that we'd think most developers would benefit from, at least as a new way of thinking. ...
Okay, that was a joke. I like writing code. I am not trying to get rid of coders. Okay, trust me? One of the interesting features of WCF is the ability to do the Address and Binding portion of our 3 legged stool administratively. In a xml file called app.config or web.config. This allows some interesting possibilities of changing the service endpoint without changing code. Being able to take a project from development to QA to production (assuming all is well with it) without a recompile to redirect ...
Now that we have a contract defined (WCFContract) a binding selected (basicHttpBinding) and a address picked (http://localhost:8000/WCFC... we are ready to let someone use it. To use a service, we basically perform many of the same operations. 1) add a new console app to our solution. It doesn't have to be part of our solution, that is just what this demo does. To that console add the standard reference for our friend System.ServiceModel. 2) Open the program.cs (okay, ...
First, let me correct my service implementation. I must have missed my low caffeine light when I wrote the implementation. The code should read str = str.ToUpper(); and str = str.ToLower(); to work. Amazing how returning the string you sent offers little value. Not that this particular service is of great value, but at least now it does what I intended. What we have done so far... So far we have a simple, 3 method web service, using basichttpbindings, sending strings in and out. This should be very ...
Lately I’ve spent a lot of time playing with VS.NET “Orcas” Beta 1 and focusing on the language enhancements to C# in the new compilers. As an instructor who teaches the languages and as a developer of large frameworks for clients, the first thing I’m interested is the language enhancements. Then I dive into the addition “add-on” type features (read: WPF/XAML, WCF, Workflow, etc…) So far I’ve found some really intriguing features (like LINQ) that I like and think have some value but which won’t dramatically ...
Tampa .NET CodeCamp III opened for registration and speakers sign up. www.TampaCodeCamp.com Register here- http://www.tampacodecamp.co... We are actively seeking more speakers. You can get an early peek at the great things going on this year though sessions already submitted. So far we have nominations for Programming Web 101/201/301, Using SMS (Short Message Service), imagine the possibilities!, Working with an XML Data Structure in SQL 2005 and Strongly , Typed Objects, Real world WPF ...
The ReMix event was nice, well, not really comparable to Las Vegas, of course, but it was nice to see the demos again. For me, in fact, the real opportunity was rather to connect with other people interested in these technologies, and in this aspect it was really nice. I've been wanting to meet Ronnie Saurenmann (the guy behind the Zurich Airport XBAP and the "Outlook-like" WPF hands-on lab) for quite some time, I hope for the beginning of a nice collaboration. Of course the icing on the cake was ...
First, a choice of tools.. I am going to use Visual Studio 2008. I know, it is in Beta, Beta 1 in fact. But Beta 2 should be out soon, and it should release q4 of 2007, q1 of 2008. There might be a tighter date published, but I haven't looked today. It also has a better support for WCF and the .Net 3.5 stuff in general. So, that is where we are going to live. Contract definition As far as I can tell, WCF has four kinds of contracts. (btw, thanks Juval Lowy's book for the list that is coming) Service ...
Daniel Moth has an excellent post that explains what makes up the .NET Framework 3.5. This post also sparked a very good discussion on The Code Project. There are two elements that make up version 3.5 of the Framework: the "green bits" and the "red bits". This model is aimed at minimizing the impact of delivering new features and functionality. The red bits are those parts of the Framework that exist in release today, which include the .NET Framework 2.0 and 3.0 releases. The green bits are brand ...
Well, it has been quite some time since I blogged anything or had any spare time BUT I have been inspired for at least the moment. I just returned from TechEd 2007 in Orlando and I must say that it again was well worth the time, effort and price. As always there, I never had less than 10 sessions I wanted to see for every time slot and I do not believe I was disappointed with any that I attended. I would list a few of the best but it would take me hours to create the list! So, the hot topics for ...
Oleg Tkachenko has created a visual studio's plugin for XSLT. You can read all about it and get to his download from his blog: http://www.tkachenko.com/bl... Note: it only works with Visual Studio Code Name "Orcas" Beta 1, and you MUST have the SDK installed. I've downloaded all of the above and am excited about future builds of this plugin. Currently it has the ability to complie XSLT into DLLs. I'm not as interested in that as I am some of the other features to come, but we ...
In my pervious blog we saw the sqlmetal.exe utility that is use to generate data model class for my LINQ data class. There is another way to generate data model by using a very cool Designing tool called DLinq Designer. By the help DLinq Designer we can easily generate data model class for LINQ, DLINQ by simply drag and drop tables from Server Explorer. Testing Windows Application · Choose File->New Project within Visual Studio and navigate to the "LINQ Preview" node in the project-type tree-explorer. ...
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 ...