Geeks With Blogs
Sudheer Kumar ASP.Net, C#, BizTalk, MSBuild, WPF, WCF, WF....
07
Sep 10
C #4.0 has been here for a while and it has got many interesting features. 1. dynamic keyword: It represents an object that will be resolved at run time. For example, assume that you have 2 different classes that have the same signature. Then you can have a method like this. private void TestMethod(object myObject) { string name = myObject.Name; string ......

I am working on a program that uploads BLOB from DB to a Document Management System. I have a WCF service to interact with the DMS. I have a multi-threaded client program that uploads the BLOBs to DMS and every thread used to create and dispose a proxy instance for every record to update. When I have a large no of records to convert, I found that the ......

There are many instances we might have to use transactions to maintain data consistency. With Entity Framework, it is a little different conceptually. Case 1 – Transaction b/w multiple SaveChanges(): here if you just use a transaction scope, then Entity Framework (EF) will use distributed transactions instead of local transactions. The reason is that, ......

I recently found that I can use Windows Live Writer to connect to my blog on GWB.

It has a nice editor, can add images and tables easily, save as draft and publish later etc.

Happy Blogging.!



WCF Proxy need to be closed explicitly and if you are using the using() statement, you have the possibility of loosing the original exception. You can find details about this issue in the following posts. http://social.msdn.microsof... http://geekswithblogs.net/m... ......

1. Error Message : Only parameterless constructors and initializers are supported in LINQ to Entities: The following query works perfetcly with LINQ: NoticeRecipient rec = dc.NoticeRecipients.Where(o => o.RecipientID == new Guid(id)).FirstOrDefault<... But the same query will give the above mentioned error with Entity Framework. ......

Normal 0 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; ......

There are ways LINQ can query completely dynamically from Database. I had requirement to get a column value of a table in a generic and dynamic manner for a given key value. Here I pass the table type (LINQ type) and key value to retrieve other column values of the table in a totally dynamic manner. private string GetColumnValue(DataContext dc, Type ......

I was trying to install VS 2008 on my laptop which has Windows media center XP SP2 on it. I tried to open the ISO with Win Image and later with IZArc, bit in vain. With a lot of searching, finally I got the solution that worked for me. 1. Install the UDF support for XP SP2 from: http://support.microsoft.co... Install the download from the KB. ......

21
Apr 08
Long gap in blogging due to an ongoing release. This time back with DLINQ. Like the way LINQ to Objects work on Objects that implement IEnumerable, DLINQ works on Database objects. If you want to know the basics of DLINQ, here are some of the links: Basics: http://blah.winsmarts.com/2... ......

The post assumes that you have basic under standing of LINQ. The following section tries to give some deeper insight in to the technology. A lot of examples can be found at 101 Linq Samples (http://msdn2.microsoft.com... 1. Language Integrated Query (LINQ): a. How does LINQ work? i. When you write an expression for DLINQ, the ......

C# 3.5 provides a lot of good features and here are a few of them. Implicitly Typed Local Variables: The compiler derives the type from the initialized value. // Implicitly typed local variables. var myInt = 0; var myBool = true; var myString = "Time, marches on..."; These are greatly useful while using with LINQ. Automatic properties: No need to write ......

We had a requirement to generate some extract data in the form of XML. So while designing the solution, I had 2 options. 1. Use FOR XML in the Query with SQL 2005 2. Use regular SQL Queries and usign a Custom DataSet, serialize the data to XML. SQL 2005 has nice options to get the XML. You can assign name spaces to nodes, can have nested XMLs, can have ......

WPF is the next generation Interface Design System for Windows Forms applications. The arrival of WPF is going to change the WinForm application development a lot. The WPF has made many architectural changes to UI subsystem. Now there is a better element subsystem, notification mechanism for the changed events for the UI elements etc. What are the new ......

I came across a good BizTalk online magazine.

http://biztalkhotrod.com/default.aspx

It has good content for Biztalkers..!

Copyright © Sudheer Kumar | Powered by: GeeksWithBlogs.net