Welcome to MSDN Blogs Sign in | Join | Help

Wriju's BLOG

.NET and everything

May 2009 - Posts

Visual Studio 2010 : Multi Targeting
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...
ADO.NET Entity Framework v2 : ExecuteStoreQuery
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...
Visual Studio 2010 and .NET Framework 4 Beta 1 Walkthroughs
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...
LINQ to CSV : Getting data the way you want
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...
Setup and Deployment : Custom Action to Capture User Input
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...
LINQ to XML : Understanding Annotations
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...
Visual Studio 2010 and .NET Framework 4 Beta 1 Download Today!!!
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...
Free EBook on ASP.NET MVC
      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...
ASP.NET 4.0 : Avoid Round Trip, use Response.RedirectPermanent
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 – First Look Video
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...
LINQ – Uniformity All Over
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...
Immediate Window is missing in Visual Studio Menu
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...
ADO.NET Entity Framework : Working with Stored Procedure – The Video
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...
LINQ to SQL : Understanding Compiled Query
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...
Page view tracker