I’ve been waiting more than 30 years to say this: “Dad, I always told you I’d come back and get my degree.” - was the first reaction when this most wanted man in the software industry received much awaited degree. It took 30 odd years for conventional education system to understand the potential of a unconventional brain. This man helped millions to enrich their potential. Read out the speech here.
Full story, I wish I also would have done something similar during my college days.
Namoskar!!!
MIX 2008 is happening at Las Vegas on March 5-7, 2008, so be ready and start packing
http://visitmix.com/
Want to be an Architecture? Do not miss the resources at MSDN.
Find the resources at http://msdn2.microsoft.com/en-us/architecture/bb469938.aspx
C# Samples are here Mike Woodring's .NET Sample Page
Be ready from 2008. Set of products from Microsoft are releasing then.
Windows Server 2008
SQL Server 2008
Visual Studio 2008 are the few names and so many other related technologies based on these major products.
So be ready and start upgrading yourself. Browse MSDN/TechNet and know more about these products. Talk about these products and impress your boss. Be the boss of technology at your workplace. Blog these products. Enjoy.
It’s a statement that C# 3.0 supports each and everything of C# 2.0. It was required to maintain the C# standard. But lot of ground work has been done in terms of bringing the level of abstraction and set of new keywords in C#. Now the question is if you have set of new keywords which were not there in C# 2.0, how the old code will get compiled? What will happen if someone has used them as variable in their code? Yes, it works. The same keyword works as variable name as well as keyword compiling itself as first class native statement. Below is the classic example I demonstrate in my demos, (believe me this code compiles in Orcas Beta 1)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharp3Demo
{
class Program
static void Main(string[] args)
//Array of integers
int[] arrInt =
new int[] { 1,2,3,4,5,6,7,8,9,10 };
//Use of the variable names using the keywords
//"from", "where", "select"
string from = "This is the kw from";
string where = "This is the kw where";
string select = "This is the kw select";
//print the "from" variable
Console.WriteLine(from);
//print the "where" variable
Console.WriteLine(where);
//print the "select" variable
Console.WriteLine(select);
//Query Expression
//To find the even numbers
//Use of the keyword "from", "where", "select"
IEnumerable<int> evens = from evenInt in arrInt
where evenInt % 2 == 0
select evenInt;
foreach (int i in evens)
Console.WriteLine(i);
}
Comment if you have any query. Let us know if anything which was working with C# 2.0 but not in C# 3.0. We value your feedback.
This is one of the articles I wanted to write long back. May be it is not too late. These shortcut keys helps us to make our life easy..
Visit http://msdn2.microsoft.com/en-us/library/ms366739(VS.80).aspx
Global Shortcut Keys, Visual C# 2005 Scheme
HTML Designer Shortcut Keys, Visual C# 2005 Scheme
XML Designer Shortcut Keys, Visual C# 2005 Scheme
Control Manipulation Shortcut Keys, Visual C# 2005 Scheme
Debugging Shortcut Keys, Visual C# 2005 Scheme
Search and Replace Shortcut Keys, Visual C# 2005 Scheme
Data Shortcut Keys, Visual C# 2005 Scheme
Text Navigation Shortcut Keys, Visual C# 2005 Scheme
Text Selection Shortcut Keys, Visual C# 2005 Scheme
Text Manipulation Shortcut Keys, Visual C# 2005 Scheme
Window Management Shortcut Keys, Visual C# 2005 Scheme
Integrated Help Shortcut Keys, Visual C# 2005 Scheme
Object Browser Shortcut Keys, Visual C# 2005 Scheme
Macro Shortcut Keys, Visual C# 2005 Scheme
Tool Window Shortcut Keys, Visual C# 2005 Scheme
Project Shortcut Keys, Visual C# 2005 Scheme
Image Editor Shortcut Keys, Visual C# 2005 Scheme
Dialog Editor Shortcut Keys, Visual C# 2005 Scheme
Refactoring Shortcut Keys, Visual C# 2005 Scheme
Managed Resources Editor Shortcut Keys, Visual C# 2005 Scheme
Code Snippet Shortcut Keys, Visual C# 2005 Scheme
Class Diagram Shortcut Keys, Visual C# 2005 Scheme
Bookmark Window Shortcut Keys, Visual C# 2005 Scheme
Accelerator and String Editor Shortcut Keys, Visual C# 2005 Scheme
Use your restaurant table to give order. Put your credit card in the table for payment. Once you are in business meeting and both of you are carrying blue-tooth enabled mobile phones can share your business data. All in your good old normal table with abnormal activities.
Surface Computing by Microsoft.
Visit for more
http://www.microsoft.com/surface/
If you have Orcas March 2007 CTP and you want to upgrade it to Orcas Beta 1, there are couple of things to be taken care. Those are well documented in MSDN and you need to clean all the CTP related installation to enjoy the smooth installation. Components which could create problems are,
Please find other related issue here. Hope for the enjoyable upgrade.
C# 3.0 PM Anson Horton discussed about the LINQ and its impact on C# 3.0 covering
Visit the MSDN Magazine article at http://msdn.microsoft.com/msdnmag/issues/07/06/CSharp30/
For more please visit http://msdn2.microsoft.com/en-us/bb457197.aspx
In lots of articles about .NET Framework 3.0/3.5 you might find the term called Green bits or Red bits. What is that all about? Must read this article to understand the architecture, http://www.danielmoth.com/Blog/2007/06/net-framework-35.html
Let's also use the picture from that blog
I have planned to dedicate some of my posts on ADO.NET and its future. I planned on the writing posts on new features of ADO.NET 2.0 and then slowly move to the LINQ and Entity Framework.
Lets start with the features one by one, today I am going to talk about the cool feature on the “Server Enumeration”. This helps us to find out the list of available servers from our local network accessible to us. The small piece of code the does the magic,
DataTable dt = new DataTable("NewTab");
//Gets the List of available SQL databases in DataTable
dt = SqlDataSourceEnumerator.Instance.GetDataSources();
This is really helpful when you create utility tool for quick data access.
Samples are available http://www.microsoft.com/downloads/details.aspx?familyid=c14c451d-7043-44f0-87d7-845f1c238d64&displaylang=en
LINQ is powerful, the internal algorithm has got the power for fine tuning and PLinq is in the pipeline. That means if you will have automatic implementation of parallel LINQ for multi-core processors. Two famous quotes from Anders Hejlsberg are
"With PLinq, effectively you write the code the same way, but we arrange for it to run on multiple CPUs”
"It doesn't necessarily mean that every program is going to run six times faster, but there are classes of programs that we can make run faster without the user having to get into the nitty-gritty business of writing concurrent constructs,"
http://www.eweek.com/article2/0,1895,2009167,00.asp
Things to remember
+++++++++++++
Ø When you will work with different set of objects and join them in your query, you have to be very careful. Especially when one of the sources is live webservice. Then the join will every time go to the WebService and create the IEnumerable<T> (the out put).
Ø While working with Linq to SQL, there are very few areas where you can fine tune the query. Rather you might be very comfortable writing super fast queries in SQL. You have no idea how Linq to SQL will create the SQL queries which will be sent to SQL Server. But you can check the outgoing SQL queries through DataContext class or Orcas debugger. I would suggest you to use stored procedure to make sure your query is super fast and well executed.
Ø Sometimes differed loading is not the accepted behavior. As it executes the query multiple times (per master data). Let’s say the scenario of Customer an Order where each customer has multiple orders. If you run a nested for loop for each customer then the query will be created and executed every time. So we have to be very careful again here if we want to avoid the differed loading by using the DataShape class.
Yes, I have installed SQL Server 2008 (aka Katmai) Dev Edn. Few things for successful installation,
Everything works perfectly fine.
Related resources,
And may more such exciting at Tech Ed 2007.
http://virtualteched.com/Pages/OnlineSessions/OnlineWebcastsDefault.aspx