QUESTIONS

Tagged: .net

answers  0
views  147
votes  0

[Question] How do I prevent SQL injection in .NET?  

How do I prevent sql injection in .NET? I would like to know how to do this in two different data access technologies: ADO.NET Entity Framework Thanks.
Sep 21, 2016
Harkrishna Nair
{ 50 - 1 - 0 }
answers  0
views  207
votes  0

[Article] IO Streams in .NET - Part 2  

This is in continuation to IO Streams in .NET - Part 1 Streams I/O is an acronym for Input-Output. I/O involves the transfer of data between a program and any kind of I/O device. The I/O devices are r ...
Sep 19, 2016
Leonard Alex Smith
{ 50 - 1 - 0 }
answers  0
views  339
votes  0

[Article] IO Streams in .NET - Part 1  

Character Encoding Character Repertoire refers to a set of distinct characters. The characters include letters, numerals, and other symbols. Character Code refers to a mapping in tabular form. Each ch ...
Sep 19, 2016
Leonard Alex Smith
{ 50 - 1 - 0 }
answers  0
views  551
votes  0

[Article] Overriding the Equals() and GetHashCode() methods in C# - Part 2  

This is in continuation to Overriding the Equals() and GetHashCode() methods in C# - Part 1 System.Object.GetHashCode() virtual method This method returns a number for an object that assigned by the . ...
Apr 21, 2016
Gaime Sullivan
{ 50 - 1 - 0 }
answers  0
views  793
votes  0

[Article] Overriding the Equals() and GetHashCode() methods in C# - Part 1  

System.Object.Equals() virtual method The Equals() is a virtual method defined in the System.Object class. Since every class is implicitly derived from Object, it provides the Equals() method. publi ...
Apr 21, 2016
Gaime Sullivan
{ 50 - 1 - 0 }
answers  0
views  169
votes  1

[Article] .NET Garbage Collection Mechanism  

What is garbage collection .NET automatically reclaims the memory of objects that are no longer used. The inaccessible objects are identified, their memory is reclaimed, and the managed heap is compac ...
Apr 20, 2016
Zlatan Rafał
{ 100 - 1 - 0 }
answers  0
views  120
votes  0

[Article] Reflection in .NET - Part 5  

This is in continuation to Reflection in .NET - Part 4 Late Binding In our programs, we usually use early binding where the programmer declares the type of an object beforehand. In early binding, the ...
Apr 20, 2016
Hisham Dalal
{ 100 - 1 - 0 }
answers  0
views  120
votes  0

[Article] Reflection in .NET - Part 4  

This is in continuation to Reflection in .NET - Part 3 ReflectionPermission If ReflectionPermission is not granted to the code, it can access only the public members of the loaded assemblies. The code ...
Apr 19, 2016
Hisham Dalal
{ 100 - 1 - 0 }
answers  0
views  125
votes  0

[Article] Reflection in .NET - Part 3  

This is in continuation to Reflection in .NET - Part 2 Querying the fields for their attached attributes Consider a library app that has the entities like Book, Student, etc. Now you can use attribute ...
Apr 19, 2016
Hisham Dalal
{ 100 - 1 - 0 }
answers  0
views  192
votes  0

[Article] Reflection in .NET - Part 2  

This is in continuation to Reflection in .NET - Part 1 Retrieving a Type System.Type class Every CLR object or value is an instance of some type. A type itself is an instance of type System.Type. An i ...
Apr 19, 2016
Hisham Dalal
{ 100 - 1 - 0 }
answers  0
views  214
votes  1

[Article] Reflection in .NET - Part 1  

Introduction to Reflection In general, the reflection refers to the ability of a running C# program to inspect data about itself and manipulate accordingly. It is a powerful tool that lets you read wh ...
Apr 19, 2016
Hisham Dalal
{ 100 - 1 - 0 }
answers  0
views  221
votes  0

[Question] Fastest way to serialize a POCO to JSON and deserialize JSON to a POCO  

What is the fastest way to serialized a POCO object to a JSON string and deserialize a JSON string back to a POCO object? I have seen several libraries and implementations, but what counts for us is s ...
Apr 13, 2016
Klaus Wörner
{ 50 - 1 - 0 }
answers  0
views  263
votes  1

[Article] Serialization in .NET - Part 4  

This article is in continuation to this post : Serialization in .NET Part 3 Custom Serialization ISerializable interface Sometimes simple annotation doesn't meet our requirements. Implementing the ISe ...
Apr 13, 2016
Karif Aziz
{ 200 - 1 - 0 }
answers  0
views  214
votes  0

[Article] Serialization in .NET - Part 3  

This article is in continuation to this post Serialization in .NET Part 2 XML Serialization In addition to the Binary and SOAP formatters, the .NET provides another type of formatter called XmlSeriali ...
Apr 08, 2016
Karif Aziz
{ 200 - 1 - 0 }
answers  0
views  494
votes  1

[Article] Serialization in .NET - Part 2  

This article is in continuation to this post Serialization in .NET Part 1 Serializable attribute This attribute is applied to a class. It is used to mark the class as serializable. It indicates to t ...
Apr 08, 2016
Karif Aziz
{ 200 - 1 - 0 }
20  posts
You may also like
When to use 'ref' and 'out' keywords - specifically with strings?
Visual Studio 2015 F10 Debugger key not working
Horizontally centering a <div> inside another <div>
How to Encrypt and Decrypt a string in C#
Server Side Rendering in JavaScript?
Curlybrackets Software
The source code for Curlybrackets (C#/.NET/SQL Server) is available for purchase here. Start your own Q+A site now!

Easily create custom post types: messages, ideas, questions, tickets, whatever.

The Software Pack is a great place to start your corporate Q+A customer support site.