Welcome to MSDN Blogs Sign in | Join | Help

Wriju's BLOG

.NET and everything

Browse by Tags

All Tags » C#.NET   (RSS)
C# 4.0: Improved COM Interop
The question often arises what is so special in C# 4.0 about COM Interop. To me it is a lot. I will try to explain why.. Assume you are trying to get the list of proccess running locally in your machine and creating them using Excel chart and copying Read More...
C# 4.0 and Parallel Programming Resources
C# 4.0 The Future of C# by Anders Hejlsberg at PDC 2008 http://channel9.msdn.com/pdc2008/TL16/ Slide Deck http://mschnlnine.vo.llnwd.net/d1/pdc08/PPTX/TL16.pptx Sample Code and Whitepapers http://code.msdn.microsoft.com/csharpfuture/ C# 4.0, Dynamic Programming Read More...
LINQ to SQL : Returning Scalar Value from Stored Procedure
In LINQ to SQL it is not that easy thing to achieve as compared to other features. Let us assume you have a Stored Procedure like, Case 1: With Output Parameter CREATE PROCEDURE [dbo] . [GetEmployeeCount] @OutVal DateTime OUTPUT AS BEGIN SELECT @OutVal Read More...
C# 4.0 : New Extension Method “Zip”
While browsing the features I found an interesting extension method called “Zip”. How it works, let’s check it. List < string > names = new List < string > { "Debajyoti" , "Sumitra" , "Wriju" , "Writam" , "Tupur" }; List < int > ages Read More...
C# 4.0 : Named Arguments
For methods having numerous arguments we tend to get confused. And this is also pain for others while reviewing the code. C# 4.0 gives us an opportunity to pass parameters with name. How it works, let’s check it. Suppose you have a method like below, Read More...
C# 4.0 : Optional Parameters
Days of creating multiple overloads to avoid parameters are gone. You no more have to create many methods and pass the default one there. C# 4.0 brings to us the concept of “optional” parameters. How it works, let’s check it. Suppose you have a method Read More...
www.pinvoke.net a site for use
http://www.pinvoke.net/default.aspx is a must to have site if you are a frequent user of Windows API and need to create a call for them. Namoskar!!! Read More...
ADO.NET Entity: LINQ to Entity with Relationship
Relationship and getting data from Entity Framework using Northwind database Simple Query using ( NorthwindEntities ctx = new NorthwindEntities ()) { var query = from o in ctx.Orders select o.OrderID; foreach ( var k in query) { Console .WriteLine(k); Read More...
ADO.NET Entity: Insert Update and Delete with Relationship
Few days back I had written an article on Insert/Update/Delete for simple standalone tables at ADO.NET Entity: Insert Update and Delete . Now after that many of you had requested me to put article on how it works with relationship. Here I will use a database Read More...
ADO.NET Entity: Insert Update and Delete
For small blogs, it requires more references and explanation, which sometimes are redundant. So I thought of writing single blog which is combination of topics more or less related to one thing. I am exploring ADO.NET Entity Framework and have been trying Read More...
Windows Forms – Enable Shortcut Key all over the Form
Windows Application and shortcut key are synonyms. People prefer to use shortcut keys for faster activity. Assume you are in a text box and you want to hit F5 to reload the form. You do not want to move your mouse cursor. So what you will be doing is Read More...
Programmatically invoking the Live.com search
Live.com you need to automate that in your Windows application. You will use the WebBrowser control. This is a very powerful control and allows us to control things through DOM. Here is a small code which insert values to the live.com’s seach text box Read More...
LINQ to SQL vs. ADO.NET – A Comparison
ADO.NET is our contemporary data access component and now we have written many applications. Now there has been a lot of talk on LINQ to SQL. So we are little skeptical about this component and trying to find some relation between existing ADO.NET technology. Read More...
LINQ to Entity : Querying data using ADO.NET Entity Framework
ADO.NET Entity Framework have evolved since we have released it first time. Now with the Visual Studio 2008 if you install the .NET Framework 3.5 SP1 and Visual Studio 2008 SP1 you will get the fully functional version of ADO.NET Entity Framework. This Read More...
LINQ to SQL: Making it N-Tier
You can create your application use LINQ to SQL and make it N-Tier. Go ahead and watch out the MSDN Documents N-Tier and Remote Applications with LINQ to SQL LINQ to SQL N-Tier with ASP.NET LINQ to SQL N-Tier with Web Services LINQ to SQL with Tightly-Coupled Read More...
More Posts Next page »
Page view tracker