Click here to Skip to main content
15,891,670 members
Everything / Programming Languages / C# 5.0

C# 5.0

C#5.0

Great Reads

by David Rogers Dev
Learn how to load related entities using the Entity Framework with simple examples
by Darko Jurić
SIR Particle Filter brief tutorial with samples in C#
by tetsushmz
This article explains how to dynamically create RDLC.
by Daniel Vaughan
Create best-in-breed cross-platform MVVM apps using Calcium for Xamarin.Forms.

Latest Articles

by Roman Kiss
Design and implementation of small tool, tester for exploring Azure IoT Hub with virtual MQTT device
by Ciumac Sergiu
Explains sound fingerprinting algorithm, with a practical example of detecting duplicate files on the user's local drive.
by Mansur Kurtov
This article shows how to use reflections in C#.
by Mahsa Hassankashi
This article enables you to generate table in any database such as Oracle, SQLServer, MySQL, SQLite, Sybase, etc. just by typing table name and its fields. Then you can use NHibernate facilities to make query for data layer.

All Articles

Sort by Title

C# 5.0 

23 Oct 2015 by Yaseer Mumtaz
XML input parameter to RESTful API using HttpClient and bypassing the SSL certificate
5 Nov 2014 by Jeong, WonYoung(Brad)
Making BitField with C# alternative to BitField made with union and struct of C++
15 Apr 2015 by sx2008
An easy-to-use class to prevent multiple instances of your application from opening and focusing/activating the first instance window.
26 Sep 2015 by Southmountain
Some take-away to improve the quality of desktop software
20 Dec 2015 by shijo joseph
An easy to implement yet powerful logging library which requires absolute zero learning curve
17 Jan 2015 by LLLLGGGG
A really simple implementation of a C# menu for console applications
7 Oct 2015 by prince sanghi
How to create an Acordian view for ListView in XAML for Windows WPF, Store, Mobile Application
10 May 2015 by Ankit Bansal MVP
This articles explains the insertion of data into SQL Database using Stored Procedures with Output Parameters. Some Bootstrapping is also used to create a good looking HTML.
15 Oct 2014 by Callum Linington (UK)
My way of diminishing the need to write out all those angular script files
3 Oct 2014 by JoaoSousa23
This tip walks you through the steps for creating a ASP.NET MVC 5 Web Application using Bootstrap as template for layout.
16 Mar 2015 by Alex_1
Cool menu, MVC bootstrap menu HTML helper
15 Jun 2014 by Ahmed Bakodah
This post is about how to demonstrate CheckBoxList in ASP.NET MVC 4
15 Sep 2015 by JoaoSousa23
An easy way to perform fire-and-forget, delayed and recurring tasks inside ASP.NET applications
5 Oct 2014 by JoaoSousa23
This article walks you through configuration Redis and made basic operations using .net C# client. Redis is one of the fastest and feature-rich key-value stores to come from the NoSQL movement. It is similar to memcached but the dataset is not volatile, and values can either be strings lists, sets,
5 Oct 2014 by JoaoSousa23
This article walks you through configuration Redis and made basic operations using .net C# client.Redis is one of the fastest and feature-rich key-value stores to come from the NoSQL movement. It is similar to memcached but the dataset is not volatile, and values can either be strings lists, sets, s
27 Jan 2015 by SREENATH GANGA
Auto updating the exe if the latest exe is available in the network share
2 Jun 2015 by Callum Linington (UK)
How to automatically add your AutoMapper profiles
14 Mar 2015 by Ms. Mayuri Gandhi
This tip is about how you can automate your test cases to execute after every build or independently and share test result.
19 Aug 2014 by Alberto Nuti
How to serialize an object without having to manually instruct the DataContractSerializer class.
18 Aug 2015 by MRBULL93
In this tip, I am presenting a simple way to avoid refresh resubmit
20 Apr 2014 by Zhuyun Dai
Your build will fail if you print 'Error:' in your custom Build Events of Visual Studio.
15 Mar 2015 by manchanx
Tidy, generic solution to bind Enums (with or without a DescriptionAttribute) to a ComboBox or other Controls
2 Oct 2014 by Rapuru Amarendra
This tip presents an example of popups in responsive using bootstrap
15 Aug 2015 by Rakesh Vemula
A Windows application which processes your code and shows how much time it takes to execute your code.
6 Dec 2014 by saddam abu ghaida
This article describes how to convert any Data Table to List of Objects at runtime using Reflection
5 Jun 2014 by Sameera Millavithanachchi
This is a custom mapper which can be used to map two objects instead of automapper
29 Jul 2014 by dietmar paul schoder
Read rows and cells from an xlsx-file: quick, dirty, effective.
30 Nov 2014 by Virender Prajapati
Shutdown, restart, logoff, lock, sleep, hibernate windows using C# and WPF
11 Sep 2015 by pgmr_64804
C# Gantt Chart For Winforms
17 Feb 2015 by PFalkowski
The way of calculating amount of memory occupied by some object in C#.NET
22 Mar 2015 by Mathi Mani
In this tip, we will see how to perform case sensitive comparison of datatables using LINQ
4 Sep 2015 by Gerardo Recinto
12 Nov 2014 by Shah Ankita
This code sample demonstrates how to set color to any control using colorpicker. For this, you have to create a new Windows phone app.
31 Oct 2014 by Shivarajbk
This tip explains how to write RESTFUL WCF service for Android applications.
5 Feb 2015 by Mawy
To control the speed of scroll viewer component in Windows phone
30 Aug 2015 by jansok
A tip on converting multiple image files (BMP, PNG, GIF, JPEG, TIFF) to single or multiple PDF
21 Sep 2014 by Prakash Lekhak
Create a Class-Collection of another Class, Extend a class like a List
9 Aug 2015 by saurabh sri
Basic steps to create ASP.NET WebApi services.
15 Jun 2014 by Dolinka Márk Gergely
Creating a Custom Migration Operation in Entity Framework
8 Jun 2015 by Diluka Wittahachchige
Creating SQL Server database project use in Visual Studio 2012 and maintain versions use in TFS
17 Feb 2015 by SaadZulfiqar
For this, we don't need to worry about the path. Folder will automatically be created in the root folder of zip file.
27 Oct 2014 by Israel Gebreselassie
This tip/trick shows you how to edit the web.config file dynamically .
2 Nov 2014 by D Sarthi Maheshwari
A suggested solution to create Partition based Dictionary (reducing chances of OOM errors and adding capability to hold bigger KVP set in Dictionary).
28 Oct 2014 by Jnana
This article describes steps to create rest api with OAuth and how to use those api using OAuth
3 Feb 2017 by Muddassir Mohammed
Create a CRUD screen using ASP.NET MVC, dapper and jTable in 10 minutes
1 Nov 2014 by Rapuru Amarendra
This tip explains how to create custom helpers in ASP.NET MVC4 step by step clearly. It will be very helpful for those who want to learn ASP.NET MVC as beginners.
30 Aug 2015 by paul1167
A Skeleton of a Single File Generator: Create, Register, Apply
28 Jun 2015 by Shashank S Chandel
Demonstration application using MVC SignalR and Entity framework - Part I
27 Oct 2014 by #realJSOP
Extension method to determine fiscal date
31 May 2014 by Snesh Prajapati
Difference between attr() and val() in jQuery
23 Nov 2014 by Rapuru Amarendra
This tip presents the main difference between int.Parse(), Convert.ToInt32() and int.TryParse().
24 Oct 2014 by ATjong
Different items in RadCombobox in each row of RadGrid with sqlDataSource
16 Jun 2015 by sarvesh.upadhyay
Dotnet Simple Rule Engine
1 Dec 2014 by Pinakpani Dey
Microsoft’s Model-View-Controller with Razor View Engine and JQuery make drill-down hierarchal data very easy to develop for web application.
1 Oct 2015 by Duncan Edwards Jones
Expand/collapse your DSL diagram elements to make them easier to work with
8 Jun 2016 by David Lee 145
How to make dynamic DTO with ExpandoObject
7 Dec 2014 by Pinakpani Dey
Using MVC’s Action and JQuery’s Load methods, you can retrieve data for dependent dropdown list as user selects the parent.
9 Apr 2016 by Alon Lek
How to create a program that can run as console or as Windows service easily, and install it without using installutil
8 Feb 2016 by StormyDev
Simple and clean-cut label that user can edit text of during run-time (by double-clicking) which I wrote because the examples I found were either obsolete or added clutter to the interface.
24 May 2014 by agent_kruger
There is usually a mis-conception with people thinking "DataGridView Cell.Value" gets the current value of the cell in datagridview. This article will tell you the difference between "EditedFormattedValue v/s Value in Datagridview".
24 Apr 2014 by Arvind Singh Baghel
I am writing code to encrypt password in connection string in config file and decrypt password while getting connection from config file.
1 Jun 2017 by Sherjil_Ahmed
Mixing DB-First and Code First Approach for using SPs in EF-Way
16 Mar 2015 by Mostafa A. Ali
A quick introduction to events for absolute beginners
5 May 2015 by arora.abhishek
In this tip, you will learn the new feature of C# 6.0, Exception Filtering.
26 Jun 2015 by Manoj Deshmukh
Executing Stored Procedure that returns resultset using Entity Framework DataContext
30 Apr 2014 by Sridhar Pasham
Export and import database using SMO
28 Aug 2015 by Mohammed Ibrahim.L
21 Mar 2015 by Amit Singh Baghel
A useful tip to export a Div to PDF (with Unicode support) with the help of NReco-PDF Generator for .NET (C#), JQuery and Handler in ASP.NET
13 Jul 2015 by Yuriy Anisimov
Expressmapper - lightweight, lighting fast and easy to use .NET mapper
19 Jun 2014 by Peter Boyall
Quick routine to extract keys from FederationMetaData.xml
27 Aug 2017 by Md. Marufuzzaman
Extract only numbers or characters from a set of characters (string)
3 Oct 2015 by shijo joseph
A simple and fast CSV reader which you can directly use against Oracle and SQL Server databases or for any direct implementation
15 Oct 2014 by Jose Segarra
Fast, really fast, import/export from Excel OOXML
16 Jun 2015 by saurabhsharmacs
If using Identity framework is not possible, one can add the old school forms authentication method.
3 Dec 2014 by Assil
This post demonstrates the simplest use of OWIN with ASP.NET. It will not teach you OWIN nor Claim-based auth, nor design or security.
17 Jan 2016 by SubhamoyBurman
Use of Task Parallel Library and Async/Await in your application
16 May 2014 by Erol Esen
An introduction to async functions introduced in C# 2012/2013
16 May 2016 by Md._Mehedi_Hasan
This tip will help you to generate .xml file in AngularJs and ASP.NET MVC5 using XElement of C#.
8 Dec 2014 by PIEBALDconsult
This is an alternative for "C# Convert DataTable to List of Objects Dynamically"
29 Dec 2014 by dietmar schoder
Turtle graphics: fundamental C# classes and methods for the artwork production in the area of generative art.
15 Oct 2014 by #realJSOP
Retrieve certificates from the system certificate store
23 Jan 2016 by Manoj Kumar Chaudhari
Allows users to connect to Google spreadsheet(s) and convert them to CSV
30 Aug 2015 by lincoln.dmello
Gotcha when passing in structures to a method that expects an Interface as a parameter
9 Jun 2015 by Leszek Koc
Three different approaches to handle Session access in MVC applications.
9 Jun 2015 by Afzaal Ahmad Zeeshan
This tip is for WPF developers, understanding the usage of lambda expressions for handling the events instead of markup based or function based event handlers.
11 Aug 2015 by sreeyush sudhakaran
Application to add a file header comment at the start of every human-created code file
20 Jun 2015 by vaid_sumit
Achieving Low Coupling & High Cohesion by applying SOLID principles
20 Dec 2016 by Shivi Gupta Lucknow
Using JavaScript and jquery, I will demonstrate how to call codebehind method from the client side. There are three ways of doing so.
3 Sep 2014 by debashishPaul
How to convert LINQ query to DataTable
30 Oct 2014 by Rapuru Amarendra
This tip presents an example of errorlog file creation
16 Oct 2014 by Assil
Just one way to solve a common problem of WCF timing out
28 Sep 2014 by Pankaj_chs
How to enable MVC views to compile?
7 Nov 2014 by Rapuru Amarendra
This tip presents an example of encrypt and decrypt password and store in data source.
14 Aug 2015 by Member 11884108
In this tip, we will learn how to load data dynamically to html dropdownlist using Ajax call.
13 Nov 2014 by Rapuru Amarendra
This tip presents an example of TempData to persist data in between the request.
28 Jan 2015 by _Rizwan_Khalid_
Here I will show you how we can register and use multiple classes implementing same interface when Autofac is used as dependencies registrar.