skpananghat

Stories submitted by skpananghat

Get-notified-when-garbage-collections-happens(www.codemine.net)

submitted by skpananghatskpananghat(184) 9 months, 23 days ago

This is a code snippet which i got from Jeffrey Richters blog. This code offers a way to raise notification event when a garbage collection occurs on Generation 0 or Generation 2 object Here is the code for the class: read more...

2 comments |category: |Views: 10

tags: another

String-Interning-in-net.aspx(www.codemine.net)

submitted by skpananghatskpananghat(184) 9 months, 23 days ago

We all know that the way .net handles a string is not optimal and uses up lot of memory, thought there are reason to do like this. But if we have more string objects or comparison inside our assembly then in this case surely it is going to be a performance hit. But here what really happens is framework itself take cares at least some part of it using the concept of Sting Interning. So what is String interning in Microsoft .net. How does it helps the C# code Execution.. It seems that there is an internal hashtable maintained with the actual string value and it’s reference to managed heap. And two methods help us to handle this hash table This is the “Intern” and “IsInterned” methods which is part of string manipulation class. read more...

add a comment |category: |Views: 1

tags: another

MEF-(Managed-Extensibility-Framework)(www.codemine.net)

submitted by skpananghatskpananghat(184) 9 months, 23 days ago

MEF was around the corner for nearly some time now and it was available as one of the open source framework in Microsoft’s open source community. (http://codeplex.com/mef). Now with lot of modifications and a finishing touch, it has been added as a new feature in Microsoft .Net 4.0. (Packed with Visual studio 2010) So what is MEF or Managed Extensibility Framework? What is it actual use? To answer, Managed Extensibility Framework (MEF) is a new library in .NET Framework 4 and Silverlight 4 that addresses the design problem of extensibility to some extend by allowing application to discover and use MEF extensions without using any configuration files. Here the application receiving extensions also should be MEF compatible and it will search for the MEF extensions on a particular path which is again declared inside the main application by any of the following ways. read more...

add a comment |category: |Views: 15

tags: another

Converting-from-Word-to-HTMLXHTML(codemine.net)

submitted by skpananghatskpananghat(184) 11 months, 20 days ago

The below C# .net code helps you to clean you html which you have copied from MS word. This is very helpful when you convert word document to pure HTML or XHTML read more...

add a comment |category: |Views: 4

tags: another

Predicate-and-Anonymous-functions-in-Net(codemine.net)

submitted by skpananghatskpananghat(184) 11 months, 20 days ago

Basically a predicate in .Net (System.Predicate) is just a delegate to a user defined method which return true of false base upon some criteria, thus helps in decision making to the call of certain functions like List.FindAll, List.Find etc. read more...

add a comment |category: |Views: 4

tags: another

Code-for-Dynamically-generating-webproxy-(CNet)(codemine.net)

submitted by skpananghatskpananghat(184) 11 months, 22 days ago

Cotinuing to my post on Dynamic webservice invoke in C#, Here is the full C#.Net source code for gererating a web proxy by just providing the required WSDL URL as input. The source code targets .Net 2.0 Runtime. This code is making use of Reflection and dynamic runtime compilation features in C#. read more...

add a comment |category: |Views: 3

tags: another

What-is-Yield-Keyword-in-C-do(codemine.net)

submitted by skpananghatskpananghat(184) 11 months, 22 days ago

What is the use of yield keyword in C#, when we should use yield in C#.net. Will C# yield keyword boost performance of .Net code execution? Or what is the benefit of using C# keyword These are the questioned which have in mind for most of the Micirisoft .Net developers. Some more doubts hanging there would be like why there is no Yield keyword in VB.net while C#.net has it The exact usage of C# yield keyword is a bit tricky to understand till you see what is exactly happening behind the scene while using a yield key word in C# .net . read more...

add a comment |category: |Views: 33

tags: another

Some-reference-about-state-management-in-ASPNet(codemine.net)

submitted by skpananghatskpananghat(184) 11 months, 23 days ago

Some-reference and useful tips about-state-management-in-ASPNet read more...

add a comment |category: |Views: 2

tags: another

Few-Type-Casting-fundamentals-in-Net(codemine.net)

submitted by skpananghatskpananghat(184) 11 months, 23 days ago

Few-Type-Casting-fundamentals-in-C#, C# Performance tips read more...

add a comment |category: |Views: 17

tags: another

Thread-Not-working-in-Aspnet-When-deployed-to-IIS(codemine.net)

submitted by skpananghatskpananghat(184) 11 months, 23 days ago

Thread-Not-working-in-Aspnet-When-deployed-in-IIS read more...

add a comment |category: |Views: 1

tags: another

Which-Webapplication-is-running-under-which-app-pool-and-worker-proces(codemine.net)

submitted by skpananghatskpananghat(184) 11 months, 23 days ago

Which-Webapplication-is-running-under-which-app-pool-and-worker-process.aspx read more...

add a comment |category: |Views: 0

tags: another

.Net Serialisation Bug or Design(www.codemine.net)

submitted by skpananghatskpananghat(184) 1 year, 10 months ago

.Net Serialisation Bug or Design. Read more .. read more...

add a comment |category: |Views: 11

tags: another

The myth in Exception Handling(www.codemine.net)

submitted by skpananghatskpananghat(184) 1 year, 10 months ago

This is about a wrong practice which most of the developers do. Just catch and rethrow exceptions.. Dont do that.. See why... read more...

add a comment |category: |Views: 12

tags: another

Dynamic Webservice Invoke(www.codemine.net)

submitted by skpananghatskpananghat(184) 1 year, 10 months ago

Description on how we can do a dynamic webservice invoke by just from a raw WSDL URL alone read more...

add a comment |category: |Views: 10

tags: another

.Net FCL Source code Released(dotnetscoups.blogspot.com)

submitted by skpananghatskpananghat(184) 4 years, 4 months ago

Microsoft has released the source code for .Net FCL (Foundation class libraries). Now you can easily debug any method or class present in .Net Base libraries. This paves a very good way for the growth of applications and there by .Net. You wont be stuck up some where while using .net just because your application was malfunctioning because of some .Net library issue or you just want improve the way you use the library objects. read more...

add a comment |category: |Views: 56

tags: another

Features in .Net 3.5(dotnetscoups.blogspot.com)

submitted by skpananghatskpananghat(184) 4 years, 4 months ago

The main feature which I consider is the addition of new programming model LINQ which stands for Language Integrated Query. As the name indicates it provides an easy way to write query in the programming language it self and this is compatible with any type of data source... read more...

add a comment |category: |Views: 5

tags: another