May 2009 - Posts
Like Visual Studio 2008, in Visual Studio 2010 also we have multi-target. So ideally you can create project targeting Framework 2.0, 3.0, 3.5 and 4.0. This behaviour is little different here. Earlier, we have Framework 3,5 carrying both 2.0 and 3.0. So
Read More...
There is now an option in ADO.Net Entity Framework v2 for us to execute store query, IEnumerable < Customer > custs = ctx.ExecuteStoreQuery< Customer >( "SELECT * FROM Customers" , null ); foreach ( var c in custs) { Console .WriteLine(c.CustomerID);
Read More...
Watch out the videos on Visual Studio 2010 at http://msdn.microsoft.com/en-us/teamsystem/dd441784.aspx Here are some of them, Ø Dynamic Programming in Visual C# and Visual Basic Ø Office Programmability in Visual C# and VisualBasic Ø Test-driven Development
Read More...
Getting data from CSV is one of the mostly used business in applications/tools development. Here how we can do it in LINQ, You have a table called Emp with the below details, CREATE TABLE [dbo] . [Emp] ( [Id] [int] IDENTITY ( 1 , 1 ) NOT NULL, [FirstName]
Read More...
Purpose Users are allowed to pass Product Key while installing in .msi. During that we want to capture it for registration to avoid piracy. Challenges When we use “Customer Information” dialog in “Start” action, it has “SerialNumberTemplate”. But capturing
Read More...
Annotations are used for private use. It does not directly associated and known as Black Box in XML world. This can also be considered as meta tag. Below is an example on how it can be handled. I have created a sample Windows Applications and will try
Read More...
Resources and excitements are available for you in Visual Studio 2010 Beta 1. Try this out from today at http://go.microsoft.com/fwlink/?LinkId=151799 . There are a bunch of resources available for you there apart from the bits. I have installed it with
Read More...
ASP.NET MVC book that Scott Hanselman, Rob Conery, Phil Haack and Scott Gu is available at http://aspnetmvcbook.s3.amazonaws.com/aspnetmvc-nerdinner_v1.pdf Namoskar!!!
Read More...
When we use Response.Redirect to move from one page to another we ideally also call HTTP 302 Found. This increases extra trip. Now in Visual Studio 2010 you may write Response.RedirectPermanent( "Page1.aspx" ); Namoskar!!!
Read More...
ASP.Net 3.5 Dynamic Data is a cool thing. I really like the effectiveness of the data driven approach. Here is a video I have recorded, Namoskar!!!
Read More...
I have spent a while with LINQ and still feel very new whenever I explore some new power. Here I am going to describe you how LINQ uniformly allows you write for the various types of data. In-memory data source ++++++++++++++++ List < int > arrInt
Read More...
When you do not see “Immediate” window under Debug menu of Visual Studio you may get frustrated. But there is a quick way to get it when required, Go to View > Other Windows > Command Window or press Ctrl+W, A Then type immed . It will bring the
Read More...
In my previous text based blog I had promised to share the recording. Here it is and I am using Silverlight Streaming Namoskar!!!
Read More...
Understanding Compiled Query connects me to my experience in C# 3.0. Based on my personal understanding I am discussing it. You may be aware of Func<>. And you know it is a flexible delegate which allows you create reusable functions. Exactly the
Read More...