Visual Studio 2008 Beta 2 Released
Visual Studio 2008 Beta 2 was released to the web for download today. The releases are available both as regular installs and as VPC images. If you choose the regular installation, you should run this script to "ensure that the installation of .NET Framework 3.5 Beta 2 will not affect the development of ASP.NET AJAX 1.0 applications."
The C# Language Specification Version 3.0 is now available for review.
There are samples and hands on labs available to help you explore this release:
- LINQ and language samples for Visual Studio 2008 Beta 2
- LINQ Hands On Labs
- C# 3.0 Language Enhancements Hands On Lab
The samples ship with the product. You can find them by choosing Samples from the Help menu. We are, of course, unable to update the samples that ship with Beta 2 after the product as been released. As a result we make the latest versions of the samples available from the link shown above. These links are maintained on the Visual Studio 2008 Samples Download Page.
Additional documents relating to the Visual Studio 2008 Beta 2 will be added to this post as they become available.
Comments
Anonymous
July 26, 2007
You've been kicked (a good thing) - Trackback from DotNetKicks.comAnonymous
July 28, 2007
This http://download.microsoft.com/download/8/0/e/80e3f901-9bcc-4b8b-ba66-c49e24559fbc/vs_samples_vs2008_beta2_01.exe doesn't work for me. Where'd you get it?Anonymous
August 01, 2007
Charlie Calvert , in his post announcing Visual Studio 2008 Beta 2, shares some links to LINQ & C#Anonymous
August 01, 2007
Thanks for the links! Nice job! BTW, the VS2008 Sample link doesn't work for me eitherAnonymous
August 01, 2007
Work URL: http://download.microsoft.com/download/8/0/e/80e3f901-9bcc-4b8b-ba66-c49e24559fbc/vcs_samples_vs2008_beta2_02.exeAnonymous
August 07, 2007
I apologize for the broken link to the samples. It is fixed now.Anonymous
August 12, 2007
I very slow net, i took me 4 days to download it and i did , see what it currted, i try again, what happen it all files expand but not install there some problem in 2008 beta 2, i check other ppl all have same problemAnonymous
August 13, 2007
Thanks a lot.You got me started with linq.Anonymous
August 15, 2007
I downloaded this thing but it does not seem to have any LINQ templates in it. Where can I find them? ThanksAnonymous
August 21, 2007
Where do you get the customers.xml that "LINQ Hands On Labs" says is attached?Anonymous
August 25, 2007
Not sure where Customers.xml is, but you can just copy and paste this: <?xml version="1.0" encoding="utf-8" ?> <Customers> <Customer CustomerID="ALFKI" City="Berlin"/> <Customer CustomerID="BONAP" City="Marseille"/> <Customer CustomerID="CONSH" City="London"/> <Customer CustomerID="EASTC" City="London"/> <Customer CustomerID="FRANS" City="Torino"/> <Customer CustomerID="LONEP" City="Portland"/> <Customer CustomerID="NORTS" City="London"/> <Customer CustomerID="THEBI" City="Portland"/> </Customers>Anonymous
August 25, 2007
And here's one with contact names for the "Transforming XML Output" task. You can just ignore my previous post and use this one: <?xml version="1.0" encoding="utf-8" ?> <Customers> <Customer CustomerID="ALFKI" City="Berlin" ContactName="Kent"/> <Customer CustomerID="BONAP" City="Marseille" ContactName="Mark"/> <Customer CustomerID="CONSH" City="London" ContactName="Gavin"/> <Customer CustomerID="EASTC" City="London" ContactName="Cherie"/> <Customer CustomerID="FRANS" City="Torino" ContactName="Belinda"/> <Customer CustomerID="LONEP" City="Portland" ContactName="Tempany"/> <Customer CustomerID="NORTS" City="London" ContactName="Melanie"/> <Customer CustomerID="THEBI" City="Portland" ContactName="Kent"/> </Customers>Anonymous
September 07, 2007
This a big relief on my family - the gas in my stomach makes a strong pressure, it is not a good thing. I want to be an ice skater in the Olympics!Anonymous
September 11, 2007
I've been working with the Hands On Labs for Linq and Orcas beta 2 all afternoon. I can't get the Xml Linq stuff to work. It compiles, it runs, but no results are ever returned. I've confirmed the XDocument is successfully loaded with the Customers.Xml data, but the query never returns any results. I tried breaking it down a little like this, but still no results (see below). Anyone else run into this? Too bad, I'd really like to use this feature. XDocument xd = XDocument.Load(@"c:Customers.xml"); // verified, loading // this didn't work for me IEnumerable<Customer> lc = from c in xd.Descendants("Customers").Descendants() where !(c.Attribute("City").Value.Equals("Portland")) select new Customer { City = c.Attribute("City").Value, CustomerID = c.Attribute("CustomerID").Value }; // lc is always null return lc;Anonymous
September 11, 2007
Charlie, I'm debugging the linq hands on lab, the xml stuff. It's all just wrong. page 6, the example should read like this: static IEnumerable<Customer> CreateCustomersFromXml1() { return from c in XDocument.Load("Customers.xml") .Descendants("customers").Descendants("customer") select new Customer { City = c.Element("city").Value, CustomerID = c.Element("id").Value }; } what's wrong?
- case of listeral element names in the example is wrong and won't work
- id, not CustomerID
- .Element("city") and .Element("id") is correct based on the provided xml, not .Attribute("City") and .Attribute("CustomerID")
Anonymous
September 11, 2007
this works for the XmlQuery() example on page 7 public static void XMLQuery() { var doc = XDocument.Load("Customers.xml"); var results = from c in doc.Descendants("customers").Descendants("customer") where c.Element("city").Value == "London" select c; Console.WriteLine("Results:n"); foreach (var contact in results) Console.WriteLine(contact + "n");Anonymous
September 11, 2007
my version of the XmlQuery with transform, that works: var doc = XDocument.Load("Customers.xml"); var results = from c in doc.Descendants("customers").Descendants("customer") where c.Element("city").Value == "London" select c; XElement transformedResults = new XElement("Londoners", from customer in results select new XElement("Contact", new XAttribute("id", customer.Element("id").Value), new XElement("name", customer.Element("name").Value), new XElement("city", customer.Element("city").Value))); Console.WriteLine(transformedResults);Anonymous
September 11, 2007
on page 12 of the Linq Hands On Lab LINQ to SQL File should be LINQ to SQL Classes and on page 13 Top Most Extensive Products should be Ten Most Expensive ProductsAnonymous
September 12, 2007
Michael, thank you for these great comments. I'll try to roll them up into a single file and get them incorporated into the document.
- Charlie
Anonymous
September 12, 2007
page 16 Top Most Expensive Products should be Ten Most Expensive ProductsAnonymous
September 16, 2007
hello,i need sample sorce for visual c# .thanksAnonymous
September 16, 2007
i was want 1 program for microsoft provide about .net !!! but????Anonymous
November 01, 2007
The comment has been removedAnonymous
November 11, 2007
Apologies if this has already been caught, but the instructions from number five of exercise four don't make sense: "Recall your query printed out all orders for each customer that lives in London. This time, instead of printing all the orders, print the number of orders per customer." All in all, a really gentle introduction to a formidable topic.Anonymous
December 07, 2007
Thank you for your work.cheer!!Anonymous
December 14, 2007
hello i am honey it is very nice project to help othe for the guidence .i appriciat it very much i got very improtent info thank uuu byyyyyyyyyyyyyAnonymous
March 01, 2008
My QQ is 370007548 I am 16 years old!Anonymous
May 12, 2008
dgjlghtszmö bnypoıivc vçjhlpbvöçAfşygkw34oı5gjeürpobmtyouıh5r6oyh5pto465h