Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Languages / C#

C#

C#

Great Reads

by wim4you
This article describes a Tabbed File Explorer with minimal functionality using only basic MVVM techniques and some attached properties. In a first article I described a MVVM Tabbed Navigation Tree, in this article I add a Tabbed Folderplane.
by Daron Cox
If you're trying to integrate with UAG from a mobile device, this tip is for you!
by Anurag Prajesh
Add new user registeration information in XML with C#
by yazanjaradat
Ant-Colony Based Routing Algorithm (ARA) C# Simulation

Latest Articles

by wim4you
This article describes a Tabbed File Explorer with minimal functionality using only basic MVVM techniques and some attached properties. In a first article I described a MVVM Tabbed Navigation Tree, in this article I add a Tabbed Folderplane.
by Daron Cox
If you're trying to integrate with UAG from a mobile device, this tip is for you!
by Anurag Prajesh
Add new user registeration information in XML with C#
by yazanjaradat
Ant-Colony Based Routing Algorithm (ARA) C# Simulation

All Articles

Sort by Score

C# 

by Alex Kofman
"Soft Delete" or "Logical Delete" in ORM
by Wayne Ye
"Unique URL Pattern" in Ajax Web Application
by Tom Janssens
"Var keyword is for JavaScript" - about using the var keyword & other coding guidelines
by dibley1973
In this series of posts, I am going to share with you the solution I have used in a recent project for a centralised event dispatcher.
by Felice Pollano
Listed here are 5 interesting uses of Linq.Expression without writing a LinqToSomething provider, of course.
by Cindy Potvin
Many options of the .LESS CSS parser can be set directly from the Web.config file, but many of them are not clearly described. Here is my attempt to document them.
by Nuno M. F. Gomes
Finding out whether an assembly was compiled in Debug or Release mode is a task we must do from time to time...
by Rick Bassham
How to use the SqlChangeMonitor with the new MemoryCache class in .NET 4.0.
by Thomas Maierhofer (Tom)
.NET CLR Synchronization Mechanisms Performance Comparison
by Inaki Ayucar
What a long title, isn’t it? That’s because, in some cases, there are a bunch of things related to make your .Net applications ready to work in both x86 and x64 environments. Specially if you need to use some unmanaged code or access the registry.
by John Atten
How to change the formatting of the Active Column Header to track user location.
by Gediminas Geigalas
I just came up with a hack for .NET ListView to react to users doubleclider separator to auto resize the column to fit column contents.
by Lee P Richardson
.NET on Mac for the OS X n00b without Mono via Visual Studio Code
by kb-boxer
.NET Reflection Extravanganza !!!
by Ivan Krivyakov
.NET - Exception stack trace has no frames above the catch point
by Ivan Krivyakov
If there is even a remote possibility that your “constant” value might change in the next version, make it a readonly field.
by Bill Wagner
?. in C#: When properties might be null
by James Poulose
Invoking a web service dynamically
by James Poulose
A little validation method which will validate a specified method against my signature
by James Poulose
Pass meta data from host to implementation
by morzel
Part 1 described the general idea behind Sonar project, hardware components used and Arduino sketch... This second post in "Out of Boredom" series is about C# and JavaScript programs that make it possible to display ultrasonic range sensor data in web browsers.
by jmix90
A fast and easy tip about shadows and performance
by Amogh Natu
This post explains 'yield' keyword with examples.
by Steve Naidamast
“Agile Development” – The Software Industry’s New Meme
by George Mamaladze
PLINQ cancelability & responsiveness in WinForms
by George Mamaladze
“Cancel Me If You Can” or PLINQ Cancelability & Responsiveness in WinForms
by Sandeep Mewara
A possible solution
by PratapReddyP
CodeProjectThe “Napa” Office 365 Development Tools make it easy to start building apps for Office and SharePoint without leaving your browser or installing software.When we jump to Office 365 and try to install Napa, you might get error saying :"We need your help to make this app work:Turn on D
by Anton Angelov
Find some advanced WebDriver tips and tricks how to use the framework like turn-off the JavaScript, execute tests in a headless browser or use a particular browser's profile.The post 10 Advanced WebDriver Tips and Tricks Part 1 appeared first on Automate The Planet.
by Anton Angelov
Find some advanced WebDriver tips and tricks how to use the framework for dealing with extensions or downloading files.The post 10 Advanced WebDriver Tips and Tricks Part 3 appeared first on Automate The Planet.
by Anton Angelov
Find some advanced WebDriver tips and tricks how to use the framework for changing user agent or dealing with SSL certificates.The post 10 Advanced WebDriver Tips and Tricks Part 2 appeared first on Automate The Planet.
by mbcrump
Here is a list of 15 things I've discovered about Silverlight
by Anton Angelov
A short list of keyboard shortcuts for things you probably do often in Visual Studio
by Anton Angelov
A short list of keyboard shortcuts for things you probably do often in Visual Studio
by Lee P Richardson
This blog post lists 3 days to refactor EF Linq queries without killing Perf
by ulasalasreenath
Here are 4 ways to check whether the given integer is even or odd
by Anton Angelov
Tips and Tricks how to perform visual UI automation. Various techniques to assert the visual state of your web pages- fonts, styles. Visual capturing.The post 5 Expert Tips and Tricks for Visual UI Automation Verification- Testing Framework appeared first on Automate The Planet.
by Abhishek Sur
Few new specifications on C# 5.0, a future of C#
by Anton Angelov
Learn how to use the brand-new C# 7.0 to make your WebDriver tests even better. Utilise the power of local functions, digit separators and much more.
by Anton Angelov
Learn how to control browser to the maximum extent with various techniques. Handle multiple browser instances. Intercept raw HTTP traffic and assert requests and responses. Download files with a single line of code.
by rudigrobler
7MC Gofer is a Windows Phone 7 based remote control for my Windows Media Center.
by Mohammad Elsheimy
in C#, C++/CLI, and ISO/ANSI C++
by Steve Wellens
An ASP.NET server control that displays a list of files from a directory as hyperlinks.
by Rion Williams
A Battle of Intellisense
by Rajat-Indiandotnet
Objective: In this post, we, try to understand what is Object Storage Service in Alibaba Cloud and how to create your first Object Storage Service. We will try to understand the different business scenario where we can utilize this OSS service.
by qenn
Here's an example of a simple LINQ extension method for getting values that fall within a certain range from an IEnumerable collection.
by Don Kackman
A generic class to encapsulate properties with notification events
by qenn
A temperature struct in C#
by Ayobami Adewole
A Client Server File Sharing Application
by Wayne Ye
A complete Impersonation demo in C#.NET
by Wayne Ye
A complete impersonation demo in C#.NET
by Aram Tchekrekjian
In this tutorial, we will learn how to connect Android with ASP.NET Core Web API.
by Arik Poznanski
A Customizable WPF MessageBox
by rudigrobler
A DataForm with a little configuration (or is it convention)?
by Life Lockszmith
A reusable code base for enums that we can expand to whichever way we want
by Indivara
A little command line utility that will tell you the total size of all files in a directory
by matt warren
Generics in C# are certainly very useful and I find it amazing that we almost didn’t get them: What would the cost of inaction have been? What would the cost of failure have been? No generics in C# 2.0? No LINQ in C# 3.0? No TPL in C# 4.0? No Async in C# 5.0?
by Artem Smirnov
A Dose Of Code
by Simon Pickersgill
A DRY approach to using Fancybox in an MVC project
by Colin Eberhardt
This blog post describes a Windows Phone 7 NavigationList control, a list control designed for navigation pages. The NavigationList renders twice as fast as a ListBox and has a slightly simpler API.
by Sander Rossel
Getting your feet wet in NoSQL with MongoDB!
by Artem Smirnov
Often you want to do some "fix" on your data before pushing it to the database....
by Sky Sanders
Use Visual Studio 2008 Development Server (WebDev.WebServer.exe) in automated testing frameworks
by Nick Polyak
The package is open source, allows switching the locales at run time and also allows localizing any Dependency or Attached properties – not only strings.
by Mayur V Lohite
A helper function which verifies that an uploading file is in valid image format in MVC
by Sacha Barber
At work we all try and do our best to be productive. And as software developers we all probably have to author classes, that follow a familiar pattern.
by Rick Bassham
Example of how to write a custom LogParser input plugin, using SharpSvn to query an SVN repository
by MBigglesworth79
Dapper.NET is an Open-Source, lightweight ORM that is simple to use, and is compatible with any database which implements a provider for .NET.
by KimJohnson
In part two of this series on Event Tracing for Windows I wrote a simple EventSource to provide strongly-typed events with Entity Framework interceptors.
by Uros Calakovic
A Mgmtclassgen.exe Issue
by Manas Bhardwaj
Here is a minimalist example of using Html5 Canvas to save signature as Image using Web API
by Keyhole Software
A mobile application served from CouchDB.
by Gediminas Geigalas
This post explains how plugin architecture can be improved to allow better extensibility and provide backward compatibility after updates.
by jgauffin
A MembershipProvider that uses DependencyResolver to lookup the dependencies that it needs.
by Simon Jackson
A new breed of samples for MonoGame
by gUrM33T
A simple workaround to avoid boxing and unboxing while still using a non-generic IList implementation
by Sameer Mitra
An alternative to using database triggers, which involves using a Windows service.
by Bob McGowan
Using strong cryptography with entropy to secure user passwords.
by Nathan Gloyn
Refactor code using S.O.L.I.D principles to make the code easier to understand, test, maintain and extend
by Afzaal Ahmad Zeeshan
In this post, I am writing about the procedure to set up a home server using IIS and ASP.NET; IIS as the web server, ASP.NET as web scripting framework.
by Cruz Boon
How to design a simple in-page pop up panel
by Don Kackman
A simple Silverlight object viewer
by MBigglesworth79
A wrapper for log4net which allows logging operations to be accomplished with a single line of code.
by Catholic Tech Geek
This is a simplified guide to understanding recursion
by Felice Pollano
A single file argument verification library
by wullinkm
A single file login page for ASP.NET
by Don Kackman
A slightly less simple object browser for Windows phone 7
by marcusts
They got it wrong with IOC containers, but that can be fixed. The post A Smarter DI Container for Xamarin.Forms appeared first on Marcus Technical Services.
by Nikos Baxevanis
A WebSocket-enabled service in .NET will be written like any other WCF service with two differences.
by Lee P Richardson
This is a post about a surprise synchronization context gotcha.
by Paulo Morgado
Sometimes, for demo or testing purposes, I need a synchronization context that behaves like the user interface ones but doesn’t force me to build applications with a user interface and the TPL Dataflow Library seemed like a good option to implement such synchronization context.
by Afzaal Ahmad Zeeshan
This blog post shares a tip for Ajax developers in ASP.NET MVC framework.
by Florian Lopes
This is a tool for Spring MockMvcRequestBuilder to post form objects.
by Paulo Morgado
A TraceListener For Tests
by Artem Smirnov
Implementing a custom ASP.NET value provider
by Jin Vincent Necesario
In this article, we'll explore the world of C# attributes.
by Colin Eberhardt
A slide view with page pips on Windows Phone 7
by Sergi Ortiz Gomez
Simple function to validate the ABN for Australian's trade
by Gediminas Geigalas
This post talks about how #region directives are useful and when they are not appropriate.
by EngineerSpock
Abstract class vs interface in C#
by Jeremy Likness
A method for abstracting WCF service calls in Silverlight to facilitate reuse and easy re-targeting of services.
by Vivek Goyal
Access 64-bit HKLM\Software registry by 32-bit C#.NET application
by Md Nazmoon Noor
How to access a UserControl from another page
by Arkadeep De
Access modifiers in C#.NET with examples
by Member 12014821
Create the Security Principal Navigate to your Office 365 tenant. This will be of the format https://{your-domain}.sharepoint.com by default.
by Sundeep Kamath
How Resources in Azure can be accessed programmatically using Azure Resource Manager (ARM) APIs
by MBigglesworth79
Access session information via a dynamic object where we use a dynamic property to specify the name of the session item
by zenwalker1985
Accessing base private members from child
by MBigglesworth79
Using the UrlHelper class to query the routing engine and generate the correct URLs for us
by BC3Tech
How to access private fields in inherited classes
by User 6619207
Accessing private members
by Raymund Macaalay
If you are wondering how to access an Active Directory Objects using C#, please look at the attached code as a reference.
by Gary H Guo
Discuss adding functionality at runtime using Component-Based Object Extender with static typing
by ShubhamSaxena
Add a Settings Panel in Charm Bar.
by Leung Yat Chun
Add column header to custom ViewBase (ListView.View)
by Gordon Beeming
How to add work item links from check in comments
by Richard James Moss
How to add a horizontal scrollbar to a ComboBox using C#
by matt warren
How to add a new Bytecode instruction to the CLR
by Jason Sultana
How to add configuration to Web API and other project types
by Aron Weiler
Adding descriptions, or other text, to enumeration values (supports localization!)
by Duy H. Thai
ASP.NET Dynamic Data lets us manage data right on the website instead of having to access the database. You can add it as an admin interface to your MVC website, but it seems there has never been an easy way to do so. I'll try to make the task easier for you if you have never done it.
by Colin Eberhardt
In this blog post, I will show how to implement a custom Visiblox chart series to render error bars.
by Tragdor
How to make a robust GridView with filtering capabilities
by Adam Zuckerman
Adding images to a combobox control.
by Gil Fink
Adding Metadata to Entities in The Data Model
by Timmy Kokke
Often extensions for Expression Blend have to need to store some global variables. Why not use the mechanisms Blend itself offers?
by Jeffrey T. Fritz
How to add real-time interactivity to a website that is written with ASP.NET WebForms
by Abu_yanal
Adding Splash screen
by Pete O'Hanlon
How I coded the Scrubber command that’s available in the new version.
by Komal Mangal
How to add user control and define its functionality in C#.NET
by Vivek Goyal
How to add user controls and define its functionality in C#.NET
by James Carr (Crashcarr)
Adding user profile images to Active Directory and SharePoint 2007.
by Ben Hall (failingfast.io)
I regularly come across developers who hold the misconception that code in a method will continue to be executed, in parallel to code in an awaited method call. So I'm going to demonstrate the behaviour we should expect in this article.
by Joel Ivory Johnson
How to adjust Microsoft Translator WAVE volume
by Abhishek Sur
ADO.NET - Some Internals Uncovered
by Arun Ramachandran India
ADO.NET - What is meant by SQL injection attack?
by Abhishek Sur
ADO.NET : Some internals uncovered
by jgauffin
The library is a complete ADO.NET driver which is designed to aid you in unit testing.
by jgauffin
This post will teach you everything from making your ADO.NET code driver independent to how to implement the repository pattern and unit of work.
by Anton Angelov
Describes how to improve even further the behaviours design pattern tests through new base classes and usage of Unity IoC container.
by Anton Angelov
Learn how to improve the Behaviours Design Pattern trough behaviours definitions and more complex OOP design. The new concept eases the configuration.
by Jeremy Likness
Advanced Blazor techniques are covered such as sharing Razor class libraries between a Blazor WebAssembly project and Blazor server-side. Shows how to reference embedded resources like JavaScript libraries, debug on server-side then deploy as client-side and debug in the browser.
by Christoph Keller
A simple element with big lists
by kishore Gaddam
Advanced MEF Programming
by Anton Angelov
Improve your tests even further using the Null Object Design Pattern. Enhance your null objects through the usage of the Singleton Design Pattern or IoC container.
by Anton Angelov
Create an extendable test execution in automation tests via Observer Design Pattern. Explains an implementation in C# via .NET IObserver interfaces.
by Anton Angelov
Explains in details how to create an OOP design of base classes in C# which can improve page object pattern oriented web automation testing framework.
by Anton Angelov
Learn how to create multiple grid controls' automated tests that reuse their assertion logic to the maximum extent through different OOP techniques. The post Advanced Reuse Tactics for Grid Controls Automated Tests appeared first on Automate The Planet.
by Anton Angelov
Learn how to handle more sophisticated scenarios that require multiple parameters. Create data driven tests using scenario outline examples tables.
by Anton Angelov
A detailed overview how to utilize the Specification Design Pattern in automated tests to segregate business rules based on Single responsibility principle.
by Anton Angelov
Elaborate further on the Advanced Strategy Design Pattern in automation tests. Usages such as combining multiple strategies in one test or test validations.The post Advanced Strategy Design Pattern in Automation Testing appeared first on Automate The Planet.
by Girish J Jain
This article shows how easy it is to get information from a .NET application at runtime and how you can store it in a destination of your choice, database in this case.
by Anton Angelov
Explains different approaches how to automate advanced web UI components like a date-picker, color-picker, gauge and more.
by Michael Banzon
Some test results.
by Rion Williams
C# 6 has been out for quite some time now and I thought I would write up a quick post on one of its newer features that I use quite often: string interpolation.
by JTordgeman
Registering a remote event receiver to an App’s host web using the managed code (C#) client object model.
by Chris_Green
AfxGetMainWnd in C#
by Shivprasad koirala
Aggregate root pattern in C#
by Mohammad Ashraful Alam
Aggregator Provider Pattern enables us to create and utilize multiple instance of a class having the same provider interface.
by levelnis
The second of a 2 part series on effect mapping and specification by example as tools for project planning. This second part focuses on specifications.
by Steve Wellens
Sometimes you want your web page to 'stay alive'. That is, if a user is filling out a complicated form, you do not want the session to time out before they are finished. The user could get very angry and rightfully so: You might even get yelled at!
by Wayne Ye
Describes a standard way to implement Cross-Origin Ajax request other than JSONP or something else.
by xszaboj
What is Algorithm Time Complexity?
by Abhishek Sur
All about .NET Timers - A Comparison
by Gordon Beeming
It stops you from having to do multiple copy and pastes.
by bconlon
Ambiguous Classes in C#
by Nikos Baxevanis
In this post we will see how to write asynchronous code easily using the AsyncEnumerator class.
by Jeremy Likness
Two methods and their comparison for Autocomplete pattern which is used to make it easier for users to select items from a long dropdown list
by jgauffin
Here is an easier way to debug windows services
by Rob Kraft
Average programmers get the job done. Excellent programmers get the job done too, but the code of excellent programmers lasts longer and is easier to change to meet future requirements. Below is an example of upgrading average code to excellent code.
by Frauke
An Exploration of TDD Part 2 - A Data Repository for the Location Class
by Frauke
An Exploration of TDD Part 3 - Discovering that EF7 Doesn't Like Arrays
by Vangos Pterneas
An easy-to-use, thread-safe library which works similarly to WebClient!
by Colin Eberhardt
This blog post describes the creation of a simple Twitter search application for iOS, based on a similar application I wrote for Windows Phone a few months back.
by sayem.bd
This article is the first part of a series of article which will try to explain the basics of design patterns
by sayem.bd
This article is the second part of a series of articles which will try to explain the basics of design patterns.
by matt warren
Using BenchmarkDotNet, this post will analyse the individual optimisations and show how much faster each change is.
by matt warren
Analyzing C# code on GitHub with BigQuery
by rudigrobler
Anatomy of the Windows 7 taskbar – Jumplist (Part 1)
by rudigrobler
If your application is associated with a specific file extension, then you get the last part for free! The taskbar also lists files opened by your application in the Recent category!
by rudigrobler
Anatomy of the Windows 7 taskbar - Progress
by rudigrobler
One of the “features” of the new taskbar that excites me is the TabbedThumbnail interface! This allows me to quickly see which applications are open and what their status is!
by rudigrobler
In my “quest” to create thumbnails similar to the ones used in Internet Explorer 8, I hit a couple of snags!
by rudigrobler
With Windows 7’s public release less than 2 weeks away (22 October 2009), I decided to dig into how the taskbar works!
by hjgode
BtPrint4 A Bluetooth Label printer demo This is my first Android project and I had to learn how to get an Android activity working.
by Neta777
CodeProjectIn this post series I'll do a deep dive into Android's graphics buffer management system.
by Shivprasad koirala
Anemic data Models (RDM) VS Rich Data Models ( RDM) in C#
by Richard James Moss
AngelCode bitmap font parsing using C#
by Petru Faurescu
Build step by step an Angular 2 application running on IIS and ASP.NET Core. The project also has live samples. This is the first part of building an Angular 2 Notebook WebApp.
by Sangeet Agarwal
AngularJS + ASP.NET Web API: Building a Simple Grid in AngularJS with Server-side Paging, sorting, searching (Part 2)
by Taiseer Joudeh
AngularJS Token Authentication using ASP.NET Web API 2, Owin, and Identity
by Code0987
Animation: Using expression evaluators as dynamic easing functions
by Martin Jarvis
The new MVC3 Validation Groups
by kb-boxer
Sometimes, less syntactic noise is a good feeling for a programmer. I am not doing a language war here. I am just trying to vote for delegates in Java.
by DotNetForAll
Anonymous functions and Lambda Expressions
by Ivan Krivyakov
A closer to real life example for object factory.
by Diego Resnik
Use AOP principals to centralize application policy
by RmauroDev
Handle API Key authentication with only three lines of code extending native Authentication mechanism
by Dev Leader
Don't forget about the non-public API
by Vidyasagar Machupalli
API: Talk to Twitter API via C# - part 1
by Giorgi Dalakishvili
AppDomain.AssemblyResolve event can be used to load referenced assemblies at runtime
by Derek Lakin
Implementing Application.DoEvents in WPF.
by Andy Feng
This article introduces how to apply Google reCAPTCHA into form submission of your site.
by Aram Tchekrekjian
How to apply JWT Access Tokens and Refresh Tokens in ASP.NET Core Web API 6
by Rion Williams
Applying conditional attributes in ASP.NET MVC Views.
by Ben Liebert
Architecting Cascading Style Sheets (CSS)
by Simon Jackson
Unity 5 is fast approaching it being with it a whole heap of new features, some obvious, some not so obvious. If you haven’t seen what’s coming publicly in Unity 5, check out the feature preview shown at Unite 2014. There are however a few behind the scenes changes …
by matt warren
A while ago I wrote about the 'special relationship' that exists between Strings and the CLR, well it turns out that Arrays and the CLR have an even deeper one
by Bipin Radhakrishnan
Introduction We use Asp grid view to display various information and we may have come across multiple scenarios where we
by xszaboj
ASP MVC handle Ajax errors properly
by xszaboj
IMapper interface is injected into constructors of my classes by Unity framework, but you can use any other DI framework or inject IMapper interface manually.
by Nuno M. F. Gomes
ASP.NET - Dynamic Control Mapping
by Nuno M. F. Gomes
The ASP.NET health monitoring enables you to add instrumentation to Web applications by using the so called Web Events. These Web events give us information about health status.
by Dinesh K Mandal
ASP.NET 4.0 new features
by rahulsahay20
ASP.NET 5 Features - Part 1
by rahulsahay20
In this section, we'll delve further in the new ASP.NET 5 project.
by rahulsahay20
ASP.NET 5 Part – 3
by Jeffrey T. Fritz
I've been spending a bit of time over the past month looking into ALL of ASP.NET, not just MVC or SignalR or WebAPI.
by Martin Jarvis
ASP.NET and custom error pages, an SEO nightmare?
by Nuno M. F. Gomes
The ControlAdapter is available since .NET framework version 2.0 and his main goal is to adapt and customize a control render in order to achieve a specific behavior or layout.
by Nuno M. F. Gomes
ASP.NET Controls – Problem sorting GridView with SqlDataSource control
by Nuno M. F. Gomes
ASP.NET controls - validators problem
by User 1043264
How to perform unit and integration testing of ASP.NET Core and EF Core. Continue reading...
by User 1043264
How to implement authorization in ASP.NET Core. Continue reading...
by User 1043264
How to implement bearer authentication in ASP.NET Core 2.0. Continue reading...
by User 1043264
How to use distributed caching and Redis in ASP.NET Core. Continue reading...
by User 1043264
How to read configuration settings from various sources and use them throughout your application. Continue reading...
by User 1043264
How to implement cookie authentication in ASP.NET Core 2.0 Continue reading...
by User 1043264
Use ASP.NET Core service container for dependency injection. Continue reading...
by User 1043264
Create an empty ASP.NET Core project that doesn’t include default features i.e. an empty shell. Continue reading...
by User 1043264
How to change the behaviour of your application for different environments. Continue reading...
by User 1043264
How to serve error pages in ASP.NET Core application. Continue reading...
by User 1043264
How to access directory and file information in ASP.NET Core, ensuring restricted access to file system. Continue reading...
by User 1043264
How to use ASP.NET Core Identity to authenticate users and manage their accounts. Continue reading...
by User 1043264
How to log messages (information, errors, warnings) in ASP.NET Core. Continue reading...
by User 1043264
Create a Hello World using ASP.NET Core Middleware. Continue reading...
by User 1043264
How to implement model validation using [Remote] attribute in ASP.NET Core MVC. Continue reading...
by User 1043264
How to structure a large ASP.NET Core MVC application into logical groupings. Continue reading...
by User 1043264
How to create custom Tag Helpers in ASP.NET Core MVC. Continue reading...
by User 1043264
How to inject and use services in ASP.NET Core MVC views. Continue reading...
by User 1043264
How to run code before and after MVC request pipeline in ASP.NET Core. Continue reading...
by User 1043264
How does model binding work in ASP.NET Core MVC. Continue reading...
by User 1043264
How to validate input models in ASP.NET Core MVC. Continue reading...
by User 1043264
How to reuse parts of web pages using partial views in ASP.NET Core MVC. Continue reading...
by User 1043264
How does routing work in ASP.NET Core MVC. Continue reading...
by User 1043264
How to cache responses in ASP.NET Core. Continue reading...
by User 1043264
How to compress responses in ASP.NET Core. Continue reading...
by User 1043264
How to store data in session state using ASP.NET Core. Continue reading...
by User 1043264
How to serve static content (HTML, CSS, JavaScript, Images) from ASP.NET Core application. Continue reading...
by User 1043264
How to create error pages for specific HTTP status codes in ASP.NET Core, Continue reading...
by User 1043264
How to dynamically write HTML using Tag Helper Components in ASP.NET Core 2.0. Continue reading...
by User 1043264
How to implement URL rewriting in ASP.NET Core. Continue reading...
by User 1043264
How to implement RESTful API and custom media types in ASP.NET Core. Continue reading...
by Salmanzz
In this post, I will explain you how I have embedded JavaScript, images and stylesheet to my previous article.
by cpsglauco
How to manage JavaScript and events for GridView
by cpsglauco
ASP.NET GridView – OnRowDataBound vs OnRowCreated
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
We will explore the technique in jQuery to validate the ASP.NET GridView.
by Kinyanjui Kamau
ASP.NET GridView: CRUD operations
by Nuno M. F. Gomes
In the first post of this series I've manage to find the correct eventId for each Web Event type, and by this time the major problem has been solved, but I cannot yet write a correct entry into the EventLog.I still have to decided the best severity type and category to apply.SeverityIf you
by Nuno M. F. Gomes
ASP.NET Health Monitoring - Building an EventLogWebEventProvider
by Nuno M. F. Gomes
ASP.NET ListView Control
by Rajeesh.C.V
How we could write a conditional rendering HTML helper in ASP.NET MVC
by Tom Janssens
Handling all your images through a custom ActionResult/Controller.
by Gil Fink
What Model Binders are in ASP.NET MVC and how you can use them in your MVC applications.
by Rui Jarimba
You can use Metadata Providers to add microdata to your ASP.NET MVC applications.
by John Atten
As we all know, users are impatient. We also know that if we don't tell them our application is "doing something" they tend to do silly things like click the mouse repeatedly, seeking some sign that the requested action is indeed being performed.
by ambilykk
ASP.NET MVC3 Controller with Entity Framework CodeFirst
by John Atten
In this post, we are going to look specifically at the vexing situation I ran into deploying from source control with an application using Entity Framework's "Model-First" strategy.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
This blog will take you through the steps to create an ASP.NET Repeater and show the details of a particular row on jQuery Dialog popup.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
This blog will take you through the steps to call a simple WebMethod to get the details of one record shown on a Repeater and show the retrieved details on jQuery Dialog popup.
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
In this blog, we will learn how to integrate one jQuery Slider Plugin with the ASP.NET Repeater Control.
by AlexCode
Using ResolveUrl without Page
by John Atten
This is the third post in a series in which we have built up a minimal, self-hosted, OWIN-based Web Api application essentially from scratch. In this post we'll pull in a minimal ASP.NET Identity implementation.
by Rui Jarimba
Web Services Dependency Injection using Unity
by Chris_Green
Windows authentication in ASP.NET by group.
by John Atten
OWIN, Katana and Middleware Pipeline in ASP.NET
by Anton Angelov
Code samples in C# how to assert DateTime with delta. Write your own Validator for MSTest or use built-in methods in NUnit.
by Anton Angelov
We will use the previously presented assessment framework to evaluate tests that use the Facade Design Pattern. Find the ratings and reasoning behind them.
by Anton Angelov
We will use the previously presented assessment framework to evaluate tests that use the Behaviour Pattern. Find the ratings and reasoning behind them.
by Anton Angelov
We will use the previously presented assessment framework to evaluate SpecFlow based tests. Find the ratings and reasoning behind them.
by zenwalker1985
Assumed mistake in explicit interface implementation
by Dev Leader
A simple solution that you can implement to help improve your experience with async void event handlers, especially when it comes to exception handling
by Dev Leader
In this blog post, we’ll explore the concept of async lazy initialization in C#
by DotnetShtien
The lock statement was introduced in c# 2.0 to prevent multi threads access to an object at the same time.. In async programming model the goal of the locks is to limit the number of concurrent execution of a block of code to a defined number..
by Dev Leader
Problem with async void and a solution for it
by Dan Colasanti
AutoResetEvent can be used in place of AsyncWaitHandle and provides a thread-blocking WaitOne signaled timeout function, which can be put on a background thread in order to not block the main UI thread.
by User 1043264
How to implement asynchronous messaging using ASP.NET Core Web API. Continue reading...
by Nikola M. Živković
Asynchronous Programming in .NET – Motivation and Unit Testing
by qenn
Asynchronous WPF command
by Sacha Barber
Attribute Routing
by Joel Ivory Johnson
Getting Orientation Data
by Manoj.Kumar12
Authentication against CRM contact using custom STS
by rhyous
Authentication Token Service for WCF Services (Part 1)
by saramgsilva
This sample show to connect one Windows Phone 8.0 app to Facebook, Google and Microsoft account. Main Features: Login/Logout and has an about page with feedback, share in social networks, review and share by email. Download C# (19.4 MB) Introduction … Continue reading →
by Dan Rowinski
When the smartphone meets the automobile, the future of technology is the road ahead.The post Auto + Mobile: Cars Have Always Driven The Future Of Technology appeared first on ARC.
by BC3Tech
Auto-gen a URI string based on a method call.
by Ben Liebert
Automatic code documentation based on your C# comments
by Ben Liebert
Automatic code documentation based on your C# comments
by n.podbielski
Fixing hiding text box controls by software keyboard on Xamarin Android
by Colin Eberhardt
How to automatically show ToolTips on a trimmed TextBlock (Silverlight + WPF)
by James Curran
How to automate Retry on Exception.
by Sacha Barber
AutoMocking Container
by Felice Pollano
Using AvalonDock and Caliburn Micro Screen Conductor together
by zenwalker1985
Why we should avoid calling virtual methods in Ctor.
by Sacha Barber
Awaitable console application
by Sacha Barber
Awaitable console application
by User 1043264
How to use Azure Blob storage in ASP.NET Core. Continue reading...
by User 1043264
How to use Azure Redis cache in ASP.NET Core. Continue reading...
by Jeremy Likness
This article walks you through my project Planetary Docs, a repository that showcases a full application that supports Create, Read, Update, and Delete operations (CRUD) using Blazor (Server), Entity Framework Core and Azure Cosmos DB.
by Anooj Nair
Azure documents - CRUD operations
by Sander Rossel
Get started with Azure Functions and serverless computing in Azure. We'll see what serverless computing is and how it's implemented in Functions.
by Sarmaad Amin
Often a service is required to connect to a database to perform some operations. In this post, we are going to look at having an Azure Function connect and insert a record in database table. We will showcase the usage on nuget packages and usage in Azure Function to automate package management.
by User 1043264
How to use Azure Table Storage in ASP.NET Core. Continue reading...
by M Sheik Uduman Ali
This post is about the anti-corruption layer between domain objects and data persistence in the Azure world.
by Mario Vernari
How to create your own telemetry control using Azure
by Mario Vernari
How to create your own telemetry control using Azure.
by Mario Vernari
How to create your own telemetry control using Azure.
by Ivan Krivyakov
BackgroundWorker and UI threads
by pollirrata
Backing Field for Automatically Implemented Property [Field] must be fully assigned before Control is returned to the caller
by Tom Chantler
If you're hosting your Ghost blog in Azure then you're probably not backing up your database, even if you think you are. I wasn't, but I am now. Here's how.
by morzel
Have you ever seen BadImageFormatException or "An attempt was made to load a program with an incorrect format" message? If so, read on!
by Daniel Vaughan
Banishing String Literals from XAML Resource References
by hjgode
CodeProject: Barcode Image Generation Library ported to Compact Framework
by Martin Jarvis
Base26 Number Encoding/Generate Excel Columns
by Eowind
In this little post, I will go through a small and very basic prediction engine written in C# for one of my projects.
by Tom Janssens
In this article, you can download the very first alpha version of Aubergine; a BDD /DSL framework for .NET, initially based on Machine.Specifications, but later on heavily inspired by Cucumber.
by Simon Jackson
Be careful of those SPECIAL names in Unity
by jgauffin
An article helping you choose which asynchronous model you should use in your .NET project.
by Piusn
Beginners: Access modifiers exemplified
by Steve Psaltis
How do you go from one view to another without coupling views or view models together? Here is how I am currently doing it.
by Brian Herbert
An intro to IronPython.
by Andrei Ion Rînea
Benchmark code blocks easy
by Ben Liebert
Best practice architecture for professional Microsoft .NET websites
by Ben Liebert
Best practice front-end architecture using Microsoft ASP.NET MVC and Rivet.js
by Ben Liebert
Best practice front-end architecture using Microsoft ASP.NET MVC and Rivets.js
by Zhuyun Dai
I summarized some best practice rules in writing a COM-visible assembly according to my recent work.
by jgauffin
Support for localization in ASP.NET.
by Andrei Ion Rînea
Beware of primitive wrappers in Java
by Andrei Ion Rînea
Beware of switch
by Philip Laureano
How to create types that can change at runtime
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
We will see one example of how to bind one DropDownList using jQuery Ajax and C# WebMethod.
by Colin Eberhardt
This blog post is a bug fix (due to differences between SL2 and SL3) and expansion on my previous posts on this subject.
by Leom Burke
Binding and styling text to a RichTextBox in WPF
by Sk. Tajbir
How to build Metro UI Tiles in Knockout.js
by jmix90
A lot of controls expose properties which are not DependencyProperties and then you can’t put a binding on it. On some other cases, you only have a getter as accessor and you can’t put a binding on it too...
by Daniel Vaughan
The custom ProgressIndicatorProxy provides a simple way to harness the new ProgressIndicator from your XAML.
by Daniel Vaughan
The custom ProgressIndicatorProxy provides a simple way to harness the new ProgressIndicator from your XAML.
by Pete O'Hanlon
A sample of the WPF databinding infrastructure.
by mrjvdveen
Today we are looking into databinding to the ComboBox.SelectedItem property through a custom dependency property in a UserControl.
by Sacha Barber
A short post about how you can easily bind to nullable enums value in WPF
by jmix90
A problem you often meet when using MVVM is to get the selected items of an items control, especially Listbox
by Not Active
Microsoft's Bing has some amazing images as backgrounds. With this code you can create a Windows Service or any other type of application to automate the image download process, then set the Windows Desktop backgrounds to use the designated folder.
by Cruz Boon
Let’s say, we have a survey requirement. See how we can store multiple selections in a field by using bitwise.
by Jeremy Likness
Blazor Server and Blazor WebAssembly (client) don't store state by default, resulting in a subpar user experience. This article tackles solutions to the problem.
by Dev Leader
A tutorial on unit testing in Blazor development that discusses code quality and catching errors early in the software development process.
by Lee P Richardson
Which SPA technology should you use: Blazor WebAssembly or something more mature like Angular, and why?
by zenwalker1985
A small tool called BoxCop which is basically a static analyzer just like FxCop
by Keith Holloway
Boxing and the Unified Type System
by Rion Williams
Break Away From XML Configurations with ConfigR
by Paulo Zemek
Breaking changes and Unity
by Ben Liebert
Bridging the client-server boundary – an experiment in architectures for next-generation web applications
by Gediminas Geigalas
This article shows you how you can implement something similar to the SQL IN clause in your C# code.
by Kelum W. Ganegoda
Browse Control for ISO SDK App – Part 1
by Omar Al Zabir
How to browse the internet faster and save power using a smart HOSTS file
by Shameel
This article introduces you to BrowserSelector, an open source app that acts like a bootstrap to associate urls to different browsers installed on your machine,.
by JasonShort
Buffer.BlockCopy is not as fast as you think
by JasonShort
I recently wrote a quick test to prove something, that ended up being wrong…
by Giorgi Dalakishvili
Bugs in System.Diagnostics.Process Class
by Victor Rene
How to build a desktop online translator with Bing
by Omar Al Zabir
How to build a truly RESTful API and website using the same ASP.NET MVC code
by Cathy Wun
This is the first part of Building an Employee Tracker using AngularJS and ASP.NET Web API Series.
by User 1043264
Initialize a new type using Builder pattern in C#. Continue reading...
by Timmy Kokke
How to build an extension for Expression Blend 4 to search the Objects Pane
by Martin Jarvis
Some extension methods to try and get around the (many) issues that I’ve had with FindControl
by Paul S. Chapman
How to improve the creation of XML message requests using Reflection, XML and XSLT
by Afzaal Ahmad Zeeshan
In this post, I am talking about methods used to build custom documentation builders for .NET projects using Reflection APIs.
by Ashish Kaila
How to build a docking window management solution in WPF
by Pete Mourfield
Building a Facebook Graph API application using ASP.NET
by Anuraj Parameswaran
How to build a language translation bot using Skype and C#
by DapperDanH
How to build a LOB Gamification Service Administration Website: Domain model
by DapperDanH
In this post, I would like to discuss adding, deleting, and updating data through the Web API.
by Nikos Baxevanis
How to build a Metro UI with WPF?
by JasonShort
Plugins are used in data applications to support more than one provider from a single codebase. The Provider Factories in ADO.NET is one such example, but you cannot work with the provider specific features when you use these factories since they only implement generic ADO.NET functions.
by Taiseer Joudeh
This is the ninth part of Building ASP.NET Web API RESTful Service Series.
by Simon Jackson
For my sins, I was asked back to FutureDecoded again this year to give a talk on the Microsoft UWP platform, specifically about bringing games to the XboxOne using UWP.  By all accounts the session went well (especially as there was standing room only by the time the …
by Taiseer Joudeh
This is the first part of Building ASP.NET Web API RESTful Service Series.
by Andrei Ion Rînea
Building Client (JavaScript) Custom Validation in ASP.NET MVC 4 using jQuery.
by Giorgi Dalakishvili
This post is part of a series about building a simple mathematical expression evaluator.
by Giorgi Dalakishvili
This is the first part of a series about writing an expression evaluator in C#.
by Giorgi Dalakishvili
Building expression evaluator with Expression Trees in C# - Part 3
by Timmy Kokke
Expression Blend 4 uses MEF to enable 3rd parties to build extensions. Here's how to get started.
by rudigrobler
Building OpenPOS: Part 10 – Code First
by rudigrobler
Building OpenPOS – Code First
by rudigrobler
ClickOnce
by rudigrobler
Scaffolding and Navigation
by rudigrobler
Building OpenPOS: SalesModule (Part 1)
by rudigrobler
Building OpenPOS: Part 7 – NoSQL, MSSQL, SQL CE?
by rudigrobler
Building OpenPOS – Windows 7 Love
by rudigrobler
Building OpenPOS - Windows 7 Love
by rudigrobler
Building OpenPOS – Settings and Notifications
by John Atten
Build out a clean, minimal-footprint REST-ful API.
by Bahrudin Hrnjica
Notebook completely implemented on .NET platform using C# Jupyter Notebook and Daany
by Philip Laureano
How to build your own System.Reflection API from scratch
by Rui Jarimba
This is the first of a two part series about how to perform bulk inserts in your .NET applications, using a SQL Server database.
by Sacha Barber
Bulk insert into SQL from C#
by John Atten
Wildcard search using LINQ
by kribo
This post aims to demostrate how to load images into a SQLite database and retrieve them for viewing.
by Inaki Ayucar
This small post will show you why you want method extenders, how to use them, and the different versions of .NET you will need to deploy.
by M Sheik Uduman Ali
C# 4.0 Crash Course: Optional and Named Parameter
by outcoldman
C# 4.0 in a Nutshell, Fourth Edition
by Kunal Chowdhury «IN»
One of the new features in C# 4.0 – Named and Optional Parameters. Actually these are not a single feature, but two different features.
by Paulo Morgado
C# 4.0: Alternative To Optional Arguments
by Paulo Morgado
C# 4.0: Covariance And Contravariance In Generics
by StormySpike
System.Xml.Linq is a great library, it lets us very easily manipulate XML, in very close fashion to how we would interact with other data sources. My only issue is that it tends to seem a little redundant...
by Paulo Morgado
The major feature of C# 4.0 is dynamic programming - not just dynamic typing, but dynamic in a broader sense, which means talking to anything that is not statically typed to be a .NET object.
by StormySpike
So, I was curious today, I had some code that used dynamic and was wondering what the heck the compiler was doing on the back end. So, I wrote up a very small test program, and tore into it using Reflector. The version of Reflector I used still only decompiles to C# 3, so it [...]
by Paulo Morgado
As part of the co-evolution effort of C# and Visual Basic, C# 4.0 introduces Named and Optional Arguments.
by ashish__shukla
C# 6 contains many useful features. These new features will help us to perform the common tasks and to remove the boilerplate code.
by Madhur Kapoor
New features of C# 6.0
by Bill Wagner
C# feature proposal - new access modifier
by Bill Wagner
C# 7 Feature Proposal: Ref Returns and Locals
by Bill Wagner
C# 7 proposal: with-expressions
by Dan Sporici
ASCII Art tutorial
by Thomas Maierhofer (Tom)
C# async await pattern without task
by Dan Sporici
C# create secure desktop (anti-keylogger)
by micahs
What is the factory design pattern? Well to begin with, it is something that is referenced frequently in software architecture. Functionally, a factory builds an object. More specifically, factories render instances of an abstract class type.
by Dan Sporici
C# detect if debugger is attached
by BC3Tech
A useful extension method.
by dibley1973
Have you ever needed to convert a list of objects into a CSV file? If you need to in the future, this short extension of the Listof T will help you.
by Sky Sanders
Full featured HTTP upload utility
by dibley1973
As part of my on going Stored Procedure Framework project for .NET I wanted to create a DbCommand creator that is based upon the "builder pattern" and also uses a fluid-API for setting up the various command properties.
by Adarsh Chaurasia - Passionate Trainer
About C# generics
by Dan Sporici
This article is about how to get the memory dump of a process, by checking almost all memory addresses that can store data.
by Christoph Keller
C# IDisposable pattern on sub-classes
by Bahrudin Hrnjica
In this article, we are going to explore the main features in the new C# Juypter Notebook.
by Vlad Neculai Vizitiu
Modifiers in C# - use and abuse
by Vlad Neculai Vizitiu
Hello and welcome to part two of the use and abuse of the C# modifier keywords, Last time we looked at the access modifiers that apply to types (class, struct, and enums) and members (fields, methods, nested classes, etc.
by Ivan Krivyakov
C# namespaces and backward compatibility - Part 1
by Steve Wellens
While moderating posts over on the Asp.Net forums, I ran into a thread containing questions about using Nullable types. Nullable types are a simple concept: Allow value types to have the value of null.
by Gediminas Geigalas
Optional parameter visibility in C#
by Dan Sporici
How to protect a file with a password (any file type) without using ZIP or any other archivers
by Ankush Bansal
C# Polymorphic types conversion with Generics
by Dan Sporici
C# Prevent decompilation by decrypting source at runtime
by thebacon
In this post, I'd like to show some useful examples of expression usage, specifically calling properties.
by thebacon
C# properties and expression trees
by Don Kackman
C# property class - Part 2
by Paulo Morgado
C# Proposal: Compile Time Static Checking Of Dynamic Objects
by Dan Sporici
How to protect the password inside a textbox
by Dan Sporici
This article aims to show you how to read/write a process' memory using C# and some methods found in kernel32.dll.
by Ali BaderEddin
A tool to make it easier to learn C# regular expressions...
by John Atten
C# SMTP configuration for Outlook.com SMTP host
by Rob Kraft
The benefit of this approach is that you can then regularly scan your entire code base for the use of .ExecuteReader and .ExecuteNonQuery knowing that there should be no cases of those methods, other than the exception cases you expect.
by cpsglauco
How to use delegate in List.Find() predicate in C#
by George Mamaladze
Why to use the sealed keyword on classes?
by DavesApps
The article discusses the debate over using C#'s var keyword versus explicit typed variables, highlighting potential issues with overuse of 'var' that can lead to code misunderstandings, readability challenges, and bugs.
by Wastedtalent
Viewing application data with a simple visual object explorer.
by Ali BaderEddin
There are two very common ways of telling the user that your application is busy. One is to show a progress bar that gets updated based on the progress getting done, and another is to show the "Waiting" cursor while the application is doing work.
by m_kramar
A wrapper for Mailslots in C#
by DotNetForAll
C# Yield Return and its Use
by Anton Burtsev
A few months ago, I had to optimize web portal (classified ad). The portal was built on ASP.NET 1.1. It seemed that portal had two main problems. Here is how I solved them.
by Pragmateek
Keep reading and in 10 minutes you’ll know DllImport (almost) like a pro.
by StormySpike
C#: A method for tail call recursion
by John Atten
How often do you find yourself tossing together a console application for the purpose of trying out code, "testing" in the sense of seeing what works best, or, possibly, as a means to demo some library of function? I do, a lot.
by John Atten
Create and manipulate Word documents programmatically using DocX.
by Paulo Morgado
More On Array Variance
by Pankaj.Sinha.Techno
About optional arguments and named arguments and caution while using interfaces with optional arguments
by John Atten
C#: Query Excel and .CSV files using LinqToExcel.
by Pragmateek
How to scope your global state changes with IDisposable and the using statement
by Ivan Krivyakov
C#: Trouble with Lambdas in For Loops
by Kristofer Kallsbo
I was updating an old project for a client today. I needed to print a simple list and figured that the easiest way should be to format the data in HTML. Most developers out there has built webpages now days and we all know that it is a quick way to format the information and […]
by Paulo Zemek
Simply put, the this variable is not a smart pointer.
by Dinesh K Mandal
Exploring the CacheItemRemovedCallback delegate provided by ASP.NET
by Sibeesh Passion
Caching in MVC
by Sibeesh Passion
How to use caching in Web API
by Lee P Richardson
Cake V1.0 is a more robust technique for writing DevOps in a language the whole team can understand.
by Melick
Adding Calculated Columns in .NET DataTables.
by Brij
Call HTTPhandler from jQuery, Pass data and retrieve in JSON format
by Andrei Ion Rînea
CallerMemberName – an easier way to do INotifyPropertyChanged AND MORE
by Dan Sporici
Calling a C# method from C/C++ (native process)
by Madhur Kapoor
In this post, we are going to learn how to call an ASP.NET WebAPI using HttpClient libraries.
by Dinesh K Mandal
Calling method in parent page from user control
by Abdul_Rafay
Calling Send and Receive Pipelines from the orchestration expression shapes
by Steve Wellens
Years ago, when I created my first ASMX Web Service and called it from an application, it was easy and it was fun. I was able to call functions on a server, from a client, with little effort.
by Madhur Kapoor
How to call web service from Windows Phone 8 app
by Steve Wellens
A user had a problem calling a Web Service from a web page asynchronously. I tried his code on my machine and was able to reproduce the problem. I was able to solve his problem, but only after taking the long scenic route through some of the more perplexing nuances of Web Services and Proxies.
by Daniel Vaughan
There are two things I wanted to look at. Firstly, I wanted to allow a web service to be called after the Silverlight application’s Exit event is raised. Secondly, I wanted to provide the Silverlight application with the opportunity to cancel, or at least interrupt the close window process.
by Andrei Ion Rînea
An easier way to do INotifyPropertyChanged
by Junian Triajianto
How to perform Face Detection using your camera / Webcam
by BC3Tech
If you can't deploy to Windows 10 Mobile 10581, read this...
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
This is one interesting research resulting a Trick to Cancel the GridView Editing Mode, when you press the Escape Key. Many guys asked this question in forums and those are still unanswered.
by Tarun Dudhatra
Captcha Image using C# in ASP.NET
by Acharya Raja Sekhar
Capture SQL Server queries fired from your application
by Ivan Krivyakov
Capturing unhandled exceptions in a mixed native CLR environment
by Adnan Boz
Careful with Optional Arguments in C# 4.0
by Adnan Boz
We have to be careful with optional arguments in C# 4.0
by Manas_Patnaik
In this post, we will replicate the cascade combo box loading scenario, where data of other combos depend on the selection in the first.
by Chris_Green
Cascading Dropdown Lists with jQuery (Parent/Child select options)
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
How to get the current Row of GridView inside the SelectedIndexChanged Event of a DropDownList present on the GridView itself and then find the other DropDownList and bind that
by abin jaik
This post explains how to create cascading dropdowns in infopath, that fetches data from Sharepoint
by kb-boxer
About casting restrictions
by dibley1973
Centralised Event Dispatcher in C# - Part 2
by dibley1973
Centralised Event Dispatcher in C# - Part 3
by Naveen
Describes how to display a modeless child dialog at the center of the parent dialog.
by Anton Angelov
How to change .config file at runtime (C# VB.NET code)
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
In this blog, we will learn to change the Background Color of Ajax HtmlEditorExtender using ColorPickerExtender.
by ozkary
Change Silverlight Business Application template to handle login state events
by Manjuke Fernando
This is a common issue that development teams face when reports are being deployed to the production environment.
by Sebastian Solnica
A simple way to implement changelog system for database objects using NHibernate session interceptor and database triggers
by Martin Jarvis
How to change a Master Page Body Tag’s CSS class for different Content Pages
by Mohammad Elsheimy
Learn how to change display settings (resolution, bit count, etc.) using C# and DirectX SDK
by Derek Lakin
Changing the Caret Colour in WPF
by Gil Fink
How to Change the OutputCache Provider during Runtime
by Cindy Potvin
Character Encoding with ASP.NET MVC Helpers
by Andrei Ion Rînea
Character test utility
by John Michael Hauck
Settings charm flyouts to a C# Metro application.
by John Michael Hauck
CharmFlyout – Supporting sub-flyouts
by John Michael Hauck
This post describes the design of the CharmFlyout custom control, discussing both the C# and XAML that achieves the desired functionality.
by Ernest Poletaev
How to change database schema, add or delete a field or table, be sure that new version of application will work correctly and existing users will not lose their data
by Mayur V Lohite
How to check session timeout by using ActionFilters in MVC
by Williarob
How to check for a running instance
by Brij
Claim based authentication.
by Gary H Guo
Discuss unifying static programming and dynamic programming in application development
by Paulo Morgado
Cleaning HTML With Regular Expressions
by Dmitriy Kozlov
How to put the client people picker that has become available in SharePoint 2013 onto a custom form with the help of the latest version of Forms Designer 2.8.9
by Neeraj Kaushik1980
Client side Model binding with ASP.NET MVC 3 and KnockoutJs
by Grzegorz @ tidyjava.com
Clojure language introduction for Java (and similar languages) programmers
by Thomas Cooper
How to close Adobe Preview process within a Winform
by dibley1973
As part of the refactoring work for my stored procedure framework project, I needed to extract the conversion of CLR Types to `SqlDbTypes` out into a dedicated helper class. this has given me a simple mapper class which I'd like to share.
by Jake Drew
Full demo app using both C# and R interchangeably to rapidly identify and cluster similar images
by Bahrudin Hrnjica
How to implement CNTK 106 Tutorial in C# - this tutorial lecture is written in Python and there is no related example in C#. For this reason, I decided to translate this very good tutorial into C#.
by Alphakoda
PLINQ /Parallel LINQ is part of the TPL (Task Parallel Library) and it makes your life easier when it comes to multi-core processor programming which is totally different from multithreading which allows more than one thread per process and you have no idea if they will be equally distributed across
by Abhishek Sur
Code Contracts in .NET 4.0 & its Internals
by Abhishek Sur
In this article, I have introduced how you could use code snippets in your program to enhance code productivity.
by Chris_Green
A list of C# snippets in VS2008.
by James Curran
How to shuffle a List.
by joinsaad
How to continue execution after test case fails
by joinsaad
Visual Studio crashed while moving code from UIMap.Designer.cs to UIMap.cs from Coded UI Test Editor
by Bryian Tan
Coding challenge lesson learnt
by Arthur Minduca
Cohesion and coupling: Principles of orthogonal, scalable design
by Sebastian Solnica
How you may noninvasively trace .NET applications with sysinternals tools
by Adrian Alexander
Collection accessors language feature
by Adrian Alexander
Collections for WPF and NHibernate
by Ahmed_Said
Colorful Microsoft Windows Forms Controls
by Nitesh Kejriwal
How to combine several images to form a single image using C#.
by Gil Fink
A simple example of making a JSONP call to a WCF Data Service using jQuery.
by webdev_hb
WebServices make for a convenient way to share functionality across many different applications. MVC makes it easy to call methods by using standard HTTP calls. With a little bit of Reflection, you can map an MVC Controller to a Web Service.
by Dev Leader
Learn what the Command Pattern in C# is and the design principles it follows. Understand the pros and cons!
by Rion Williams
Common approaches to responsive design
by Sohel_Rana
How to use Common Service Locator to lose dependency of your project on IoC container.
by hoonzis
This post shows you how to configure correctly Common.Logging together with Log4Net or NLog and explains the typical problems that you might expect while using this logging library.
by Garry Pilkington
Four LINQ queries for returning single values using LINQ queries.
by Vasil Trifonov
Compare two DLL files programmatically using hash
by Richard James Moss
How to compare the properties of two objects via Reflection and C#
by rlsdumont
Comparing two objects: how hard can it be?
by Daniel Vaughan
Prompted by a recent comment on the T4 Metadata Generation template article, which I released some weeks ago, I have implemented a new mechanism for concatenating property paths. This allows compile time validation of properties that exist on composite or nested members.
by Paulo Morgado
How to compile .NET 1.1 projects in Visual Studio 2008
by Ben Kotvis
Complex queries with Repository Pattern and the Entity Framework.
by Serdar Kurbanov
How do you manage the growing comlexity of your application?
by Gary H Guo
A component-based object extensibility framework for .NET
by Chris_Green
Composite controls can be tricky. If they aren’t set up just right, even the most basic example won’t work properly.
by Nick Polyak
Composite Path Bindings outside of WPF
by Syed Adnan Ahmed
I have tried to summarise the list of development tools that you require in your day to day development.
by Passion4Code
How to compress and zip files using DotNetZip
by Abhishek Sur
Use of GZipStream or DeflateStream to compress your HTML output in your response when available. Added new class as WhiteSpaceFilter to remove whitespaces from HTML.
by Brij
Concurrent Collections with .NET 4.0
by outcoldman
Config transformation tool: parameter support
by outcoldman
Config Transformation Tool: Using XDT Transformation
by Vasil Trifonov
ConfigurationTransformations Nuget
by Brows App
XML and JSON have long been the configuration formats of choice in the .NET ecosystem. For something entirely different, continue reading.
by Dileep Ashok
Configure Many-To-Many Relationship and ListBox control in MVC and Entity Framework
by Tarun_Arora
In this blog post, I’ll show you how to use Outlook.com as the SMTP client for your TFS.
by Ritesh Ramesh
This is a brief to the point note on how to setup ASP session state to use SQL server to store session information.
by Anton Angelov
Code examples how to connect to TFS Team Project using C# and VB .NET. The post - Connect to TFS Team Project C# Code appeared first on Automate The Planet.
by Afzaal Ahmad Zeeshan
Overview of SQL Server on Linux
by Paulo Zemek
What if C# evolved differently?
by Hideous Humpback Freak
How to construct the SUT (System Under Test) – Eradicate Brittle Unit Tests
by SonuKSingh
Types of constructors available in C#
by Manjuke Fernando
Constructor Chaining is an approach where a constructor calls another constructor in the same or base class.
by Gaurav Aroraa
In this article, we will discuss all about how to consume ASP.NET WEB API using RestSharp for Windows Phone.
by Sky Sanders
Leveraging the full power of the ASP.NET platform from client-side JavaScript can be as simple adding a few lines of code to an existing script obviating the requirements of an ASPX client page with a ScriptManager/MS AJAX js library.
by atverma
In this blog, I’ll focus on Content Controls and Open XML 2.0 SDK from the experience I gained in the last 2 months.
by Afzaal Ahmad Zeeshan
In this article, I provide an overview of using Visual Studio Team Services to automatically deploy the ASP.NET Core web application to Azure App Services.
by Graham D Smith
Continuous Delivery with VSO: Configuring the Basics
by User 1043264
How to use Docker and TeamCity to implement continuous integration for ASP.NET Core applications. Continue reading...
by BC3Tech
In my last post we talked about setting up CI & CD for your Xamarin.Android project. Let’s continue on with our cross-platform story today by targeting Windows 10.
by Joe Rattz
How to control collation order on DB2/400
by Jake Drew
Controlling your web camera using C#.
by DotNetForAll
The article will take you through the type conversion in .NET
by Richard James Moss
How to convert a PDF into a series of images using C# and GhostScript
by Martin Jarvis
How to convert accented characters to simple characters
by S Leistikow
Converted 4-Tier architecture.
by Richard James Moss
A brief article into how to use a C# library that converts BBCode used by popular forums into HTML
by Simon Jackson
How to convert DirectX .X files for use in games
by Gordon Beeming
Converting HTML to PDF using C# and magic
by Manas_Patnaik
How to convert the XML to a CLR object and use it as a datasource in a Silverlight app
by User 6619207
How to copy a table using SQL Server Management Objects
by Paulo Morgado
Coupling ASP.NET Session State With Forms Authentication
by Sohel_Rana
Covariance and Contravariance in C#
by Gaurav Aroraa
Covariance and contravariance in C# 4.0
by Tom Janssens
Yet another attempt to remove all the protocol that CQRS requires.
by Dev Leader
CQRS pattern in C#, clean architecture for better software development, code examples, best practices
by Steve Wellens
Back in the old days, when dinosaurs roamed the earth, developers wanting to exchange data between applications used binary formatted data, hardcoded text field lengths, or delimited text files. Much parsing and error checking was involved. It was tedious.
by Debashis 10433656
How to create an ASP.NET control for image resizer and cropper keeping aspect ratio
by Abhishek Sur
Create Enumeration as Bit Flags
by Anton Angelov
Build a Hybrid Test Automation Framework. Learn how to create an extendable element find logic without changing the core test automation framework. The post Create Hybrid Test Framework – Advanced Element Find Extensions appeared first on Automate The Planet.
by Anton Angelov
Build a Hybrid Test Automation Framework. Learn how to switch between execution engines and browsers through attributes and Observer Design Pattern.
by Anton Angelov
The next step in building a Hybrid Test Automation Framework is to abstract the unit test framework layer. Learn how to switch it without changes in tests.
by Anton Angelov
Build a Hybrid Test Automation Framework. Your next step will be to create a Selenium WebDriver implementation of most used web controls.The post Create Hybrid Test Framework – Selenium Driver Controls appeared first on Automate The Planet.
by Anton Angelov
Build a Hybrid Test Automation Framework. Your next step will be to create a Testing Framework Driver implementation of most used web controls.
by Anton Angelov
Improve your test framework so that your tests don't depend on hard-coded numbers. Use configuration files and change the values without compilation.
by Anton Angelov
The next step in building a Hybrid Test Automation Framework is to abstract the unit test framework layer. Learn how to switch it without changes in tests.
by User 1043264
How to create an immutable type in C#. Continue reading...
by Anton Angelov
Create item template for generating multiple files page objects consisting of separate files for the element maps, page's logic and the asserts.
by Rohit Shrivastava
Create Parallel Task in State Machine Workflow in SharePoint 2010
by hans.hinnekint
Create Secure Login with SQL, VS2015, Web Services in C#
by User 1043264
How to create a value object (pattern in Domain Driven Design) in C#. Continue reading...
by Anton Angelov
Learn how to create a recording engine for your automated tests. Configure it through attributes and even change its detailed implementation from a single location.The post Create Video Recording Engine - Usage in Automated Tests appeared first on Automate The Planet.
by rudigrobler
This demo will ONLY focus on the VIDEO ON DEMAND scenario!
by Gediminas Geigalas
Creating .In and .NotIn Extension methods for NHibernate 3 Linq provider
by Afzaal Ahmad Zeeshan
This is part 1 of the articles that I want to write for ASP.NET beginners, who want to build their own personal web sites, that mimic characteristics of blog. It covers the ASP.NET web application part.
by Gil Fink
In this post, I’ll show an example of how to create your own database initializer.
by User 1043264
How to implement CRUD using Entity Framework Core and ASP.NET Core. Continue reading
by Richard James Moss
How to create a custom ErrorProvider component for use with Windows Forms Applications
by Richard James Moss
How to use TypeConverter allowing complex objects to be edited as though they were simple strings
by Richard James Moss
This follow up article expands upon the sample in the first part, to include more concise design time code generation, expandable property support, and finally custom lists of values.
by Derek Lakin
Creating a Custom View Mode that Supports a Template Selector
by Artem Smirnov
Creating a custom Visual Studio project template
by Derek Lakin
I'll show you how to implement a custom Style by implementing a custom message box.
by Wastedtalent
Part 1 of how to create a dynamic WPF menu
by Wastedtalent
Part 2 of creating a dynamic WPF menu
by Anoop Pillai
A simple post on a simple subject
by Richard James Moss
This post describes how to create a GroupBox control similar to those used in Microsoft Outlook
by Paulo Zemek
A basic tutorial explaining how to create a List class.
by Richard James Moss
This article describes adding design time support for a TabControl-like component which renders the same way the Project Properties in Visual Studio 2012.
by Richard James Moss
In this post, we will update our component to support automatic scrolling when auto size is disabled and the image is larger than the client area of the control.
by Richard James Moss
How to create a scrollable and zoomable image viewer in C#
by Richard James Moss
How to create a scrollable and zoomable image viewer in C#
by Richard James Moss
First part in a series of articles that will result in a component for viewing an image
by Duke Of Haren
How to create a simple plugin system with .NET
by Mohammad Elsheimy
Give the user the flexibility to design his sheet, report, bill, invoice, whatever.
by Mohammad Elsheimy
VB.NET and C# + twitto; a simple desktop Twitter
by Mohammad Elsheimy
Create high-performance, short-lived, and stack-based arrays in C#
by Gordon Beeming
Creating a Sudoku Problem Solver using Microsoft Solver Foundation.
by Richard James Moss
This article will describe how to create a trackback handler for use with MVC and the more traditional webforms.
by Gaston Verelst
How to create a Visio Add-in in VS2017
by Richard James Moss
How to create a Windows Forms RadioButton that supports the double click event
by Richard James Moss
This article shows how to use the built in ownerdraw functionality of a standard Windows Forms ComboBox control to display a WYSIWYG font list.
by Rion Williams
How to create advanced audit trails using ActionFilters in ASP.NET
by Gordon Beeming
How to create an asynchronous AuthorizeAttribute in MVC
by Richard James Moss
Selecting part of an image
by Afzaal Ahmad Zeeshan
In this post I share a complete overview and explanation of creating and hosting ASP.NET Core applications on Linux environment -- without using any third-party plugins or libraries.
by Jason Sultana
In this post, I highlight the scenarios in which the DI container will dispose of your services for you and the scenario in which it won’t.
by S1mm0t
How to create a class at runtime
by Sundeep Kamath
How to create custom roles in Azure to control resource access permissions and their benefits.
by santosh.yadav198613
Create data access layer using Entity Framework Code First Approach
by Talking Dotnet
This post is Part 4 of creating a dialog box in jQuery mobile.
by Arpit Jain
How to extract all the links from a webpage using a web client.
by Arpit Jain
Creating Link Extractor and Filter: Part 1 In this article I will complete my previous article Creating Link Extractor and Filter.
by Richard James Moss
How to create long running Windows Forms applications without a start-up form
by Jake Drew
Creating N-grams using C#.
by Philip Laureano
How to use Hiro to create services that are instantiated once per web session
by Tragdor
Code for creating postback rows in a GridView
by adityaswami89
A generic way of adding a table to Powerpoint using OpenXML
by Aregbesola Sunday J
This article shows how React can be used in SharePoint framework to solve the challenges posed by _RequestDigest when perform a POST operation in SharePoint.
by Mohammad Elsheimy
Learn how to create transactional vista using C# and Windows Vista (and higher) SDK.
by Raymund Macaalay
How to create WebPart properties.
by Mithun Pattankar
How to create a WCF service without SVC file
by Jonathan Wood
How to create website thumbnails in ASP.NET
by Matteo Prosperi
How, why, when and how to create your own DynamicObject in .NET
by Vlad Neculai Vizitiu
Creating a zip archive on demand to be served via an API endpoint
by Mohammad Elsheimy
Learn how to create/extend a culture and register it for future use (even by Windows)
by Caleb McElrath
This post is a basic tutorial on how to create custom data-bound controls for ASP.NET.
by Rick Bassham
An easy way to do an AJAX call to another domain
by Andrew Blank
A bit about this project I was asked by a co-worker for an example of using Selenium Web Browser Automation with C# so I wrote a quick example in C# with MSTest and DotNet Core and I posted it to Github. https://github.com/andyrblank/Selenium-C-Sharp-Example What is Selenium?
by EngineerSpock
A brief introduction into Cryptography in .NET
by RaviRanjanKr
This blog will enable you to understand the basic of Cryptography with Asymmetric Encryption Algorithm Classes.
by RaviRanjanKr
This blog enables you to understand the basics of Cryptography with Symmetric Encryption Algorithm Classes.
by m_kramar
CSS and JavaScript minify and combine in MVC3.
by Richard James Moss
An article on how to apply CSS formatting rules to the DigitialRune Text Editor control.
by John Michael Hauck
These posts are meant to inspire you to enter into the world of graphics processor programming.
by John Michael Hauck
These posts are meant to inspire you to enter into the world of graphics processor programming.
by John Michael Hauck
These posts are meant to inspire you to enter into the world of graphics processor programming.
by kb-boxer
Although anonymous delegates have become a mundane stuff amongst programmers, there is still this subtle stuff left unexplored.
by Steve Wellens
A few posts back, I described the new Microsoft Chart Controls for the .Net Framework: Chart Demo.   While playing with the controls a bit over the holidays, I was pleasantly surprised to find you can hook into the paint events while the chart is being rendered.
by Artem Smirnov
Writing testable Action Methods
by Chris_Green
Using a custom attribute to contain a resource key
by Brij M
How to define our own custom configuration section
by kiran dangar
Custom error tracking library in ASP.NET using XML and C#
by Panagiotis Bailis
Custom media player in WPF (Part 1)
by Gediminas Geigalas
Implementing a custom RoleProvider using Unity IoC library to support custom roles in ASP.NET MVC
by Bob Crowley
Custom Serilog Sink Development
by Derek Lakin
Additional MessageBox features on Windows Phone 7.
by Alexandr Savinov
Dark matter of a computer program.
by MBigglesworth79
The DynamicDataReader provides a means of retrieving data from a database in a way that involves less code and increases code readability.
by MBigglesworth79
How to create a dynamic version of another staple component of the ADO.NET framework, namely the DataSet.
by Manas_Patnaik
An in-depth look into the Presentation Model and its mode of handling related multiple entities
by Ankush Bansal
How the new WPF binding engine is an improvement over the WinForm binding engine
by Joel Ivory Johnson
Data serializer update for Windows Metro.
by Nick Polyak
Data Templates implementation outside of WPF
by Shivprasad koirala
In this article we will explain about Data Transfer Object Design pattern in C#
by Mahmudul Haque Azad
Database driven unit testing using VSTS
by ozkary
Database First development with ASP.NET MVC scaffolding and Entity Framework
by m_kramar
Database versioning and source control
by Adrian Alexander
Data-binding among complex expressions in C#
by kishore Gaddam
The Binding object needs to get its data from somewhere, and there are a few ways to specify the source of the data like using Source property directly in the Binding, inheriting a DataContext from the nearest element...
by Deepak-VS
DataGridView – Stacked Header
by Deepak-VS
How to export data to Excel with formatted headers.
by Pranay Rana
DataLoadOption in LINQ allows immediate loading and filtering of related data
by Arkadeep De
DataTable.Copy() Vs. DataTable.Clone() in C#
by IAmJoshChang
Going through the Unity Ball tutorial
by IAmJoshChang
How to create an enemy
by IAmJoshChang
How to add power-up upgrade into the game
by IAmJoshChang
How to use Real enemy asset from the Unity Asset Store
by IAmJoshChang
How to create AI movements for enemies in Unity
by IAmJoshChang
Attacking enemies, health system and death animation in Unity
by IAmJoshChang
Finish attacking the enemy and walking sounds in Unity
by IAmJoshChang
Adding shooting, hit, and more walking sound effects!
by IAmJoshChang
How to use a real gun model in Unity
by IAmJoshChang
How to shoot with a gun in Unity
by IAmJoshChang
How to create weapon ammo in Unity
by IAmJoshChang
Creating Player Health System and Health UI in Unity
by IAmJoshChang
How to create Player Health System and Health UI in Unity
by IAmJoshChang
Going through the Unity space shooter tutorial
by IAmJoshChang
Fixing Game Object Collider in Unity
by IAmJoshChang
How to fix Game Object Collider in Unity
by IAmJoshChang
How to create game over UI in Unity
by IAmJoshChang
How to create game over UI in Unity
by IAmJoshChang
How to create the Game End state and Game Over animation
by IAmJoshChang
How to create a spawning system for enemies in Unity
by IAmJoshChang
How to create waves for spawning system in Unity
by IAmJoshChang
How to create Victory state after we defeat all enemies
by IAmJoshChang
How to add missing audio, UI, and create enemy victory state
by IAmJoshChang
Adding new bandit enemy
by IAmJoshChang
How to add a new tank enemy
by IAmJoshChang
How to spawn new enemies in Unity and deal with "Ghost" colliders
by IAmJoshChang
Going through the Unity Space Shooter - tutorial II
by IAmJoshChang
How to create a time score system in Unity
by IAmJoshChang
How to save and load data in Unity
by IAmJoshChang
How to implement the high score system
by IAmJoshChang
How to set up the Google Cardboard in Unity
by IAmJoshChang
How to run Google Cardboard on an Android Device in Unity
by IAmJoshChang
How to get our FPS game running in VR
by IAmJoshChang
How to add basic VR changes into our FPS
by IAmJoshChang
Creating a VR first person shooter I
by IAmJoshChang
How to create a VR first person shooter II
by IAmJoshChang
Going through the Unity Space Shooter
by IAmJoshChang
How to create a VR first person shooter - III
by IAmJoshChang
How to use the Daydream controller with our FPS
by IAmJoshChang
How to set up Google Spatial Audio in Unity
by IAmJoshChang
Survival Shooter - tutorial I
by IAmJoshChang
Survival shooter - tutorial II
by IAmJoshChang
How to set up the daydream controller
by IAmJoshChang
Introduction to Daydream Controller API and Swiping
by IAmJoshChang
How to implement movement in Google Daydream
by IAmJoshChang
How to rotate a Vector and move in the direction the player is facing in Unity
by IAmJoshChang
How to add an outline effect on game objects
by IAmJoshChang
How to create a VERY simple first person shooter
by IAmJoshChang
How to implement Menu scrolling in Unity
by IAmJoshChang
How to create a menu that stays in your screen in Unity
by IAmJoshChang
How to create a character in a first person shooter
by IAmJoshChang
How to go about adding sound effects into our game
by IAmJoshChang
How to create a magnet power up
by IAmJoshChang
How to add magnet audio effects
by IAmJoshChang
How to set up a weapon
by IAmJoshChang
Day 90! Wow it’s been a long time, at the rate I’m making these posts, I really shouldn’t call it day 90 and more like post 90. I don’t really feel like changing conventions, so I’m going to stick with the day notion. What’s the plan for today?
by IAmJoshChang
Adding the finishing touches to this power-up, like what we have already done with the magnet power-up
by IAmJoshChang
How to add the Invincible Power-Up Into The Game
by IAmJoshChang
How to implement the invincible boost power-up
by IAmJoshChang
How to add music and motion blur with post processing effects
by IAmJoshChang
How to save our coin and score in PlayerPrefs
by IAmJoshChang
How to create the Item Shop Scene and UI
by IAmJoshChang
How to create a database for power-up upgrades
by Code Artist
DDEApp Tutorial
by Code Artist
DDEApp, DDE Based Inter-process Communication (C#, C++)
by Abhishek Sur
Deal with Performance in WPF applications
by Sundeep Kamath
Ever wondered why Visual Studio IDE provides 3 options for compilation - x86, x64 and Any CPU? As part of this article, I hope to shed some light on this.
by emiaj
How to deal with legacy code when using TDD
by Rion Williams
How to debug deeper through reference source
by Simon Jackson
Debugging Unity 3D with VSCode
by Anton Angelov
A detailed overview with examples how to utilize the Decorator Design Pattern in automated tests to create an extendable and decoupled Validators.
by Dinesh K Mandal
Decorator Design Pattern in .NET
by Jeremy Likness
Decoupled ChildWindow Dialogs with Prism in Silverlight 3
by Pranay Rana
Discussion about default extension method
by Gaurav Aroraa
How to define Func in C#
by Md. Rashim Uddin
How to define your own dialog box
by Md. Rashim Uddin
How to define a simple IoC Container
by Samuel Cragg
Defining MessageDialogs in XAML
by MBigglesworth79
What is a Delegate?
by MBigglesworth79
How to use anonymous methods and lambdas to make our code more terse by reducing the amount of code we need to write.
by MBigglesworth79
How to leverage the power of Generics in order to make our delegates more ...well ...generic!
by MBigglesworth79
Event Handling
by zenwalker1985
I have found a few interesting things which I would like to share with you all.
by Aram Tchekrekjian
Demystifying generics in C#
by Dev Leader
About dependency injected singletons
by Shivprasad koirala
Dependency Injection (DI) vs. Inversion of Control (IOC).
by Ashish Kaila
An introduction to Dependency Injection.
by micahs
I'm really on an architecture kick at this point. Honestly, it's probably about time. I find few senior-style job postings that do not ask for some knowledge of Spring.NET or Castle Windsor. Now that I've done a little reading up on the subject, I see that this is for good reason.
by Bhupindra Singh
Dependency Injection in ASP.NET MVC4 and webapi using Ninject
by santosh.yadav198613
Dependency injection
by Vlad Neculai Vizitiu
In this post, we will take a deeper look at what Dependency Inversion or Dependency Injection actually means and how it helps us.
by Colin Eberhardt
A simple lesson regarding the speed of dependency properties ... and a funky Oscilloscope!
by jmix90
When you want to make an object binding-aware you have two choices : implements INotifyPropertyChanged or creates DependencyProperties.
by Bahrudin Hrnjica
How to deploy CNTK model to Excel using C#
by John Atten
Deploying an Azure website from source control.
by Tony Champion (Champion DS)
Deploying Silverlight with WCF Services
by Paulo Zemek
Design and implementation mistakes - mostly .NET
by Paulo Zemek
Design and implementation mistakes - Part 2
by Anton Angelov
Detailed explanation how to design proper automated tests for grid controls. Includes examples for unique identifier and text columns.
by Anton Angelov
Detailed explanation how to design proper automated tests for grid controls. Includes examples for unique identifier and text columns.
by Anton Angelov
Detailed explanation how to design proper automated tests for grid controls. Includes examples for testing grid's paging.
by zenwalker1985
Design patterns presentation Part 1
by User 9557924
Design Patterns: Factory Method
by Dinesh K Mandal
Some guidelines for designing business logic layer
by Mark Brownsword
Designing the business intelligence application
by Abdelrahman El Kinani
Azure MySQL DB, how to design it, basic UWP todo demo
by Taiseer Joudeh
A sample eLearning system API which follows best practices for building RESTful API using Microsoft technology stack
by Abhijit Jana
Details explanation on Compression Enabled Session for SQL Server and State Server Session Mode in ASP.NET 4.0
by morzel
Detecting a drone - OpenCV in .NET for beginners (Emgu CV 3.2, Visual Studio 2017)
by morzel
Detecting a Drone - OpenCV in .NET for Beginners (Emgu CV 3.2, Visual Studio 2017). Part 1
by Richard James Moss
Detecting if a given font style exists in C#
by Richard James Moss
Detecting if an application is running as an elevated process, and spawning a new process using elevated permissions
by n.podbielski
Reusable service for detecting if software keyboard is visible or not on Xamarin Android
by Kunal Chowdhury «IN»
Detecting System Information of WP7 Device
by Sundeep Kamath
How to check platform affinity for a managed .NET process executable (PE)
by Komal Mangal
This article will help you determining the owner of a file/folder which is displayed in the Advanced Security Settings.
by Arian Celina
How to develop mobile applications using web development skills
by Colin Eberhardt
Development of a lookless radial gauge control
by Inaki Ayucar
How to develop a MatrixStack in pure managed C# code (ready for XNA)
by Raymund Macaalay
If you love C# and want to create an Android application using that language then you have to thank Xamarin as they created this great Cross Platform development tool which enables developers to develop iOS and Android apps in C# language.
by kiran dangar
Developing custom AD rotator control with multiple Image Mapping using C#.NET & XML
by Simon Jackson
Developing games for Cystic Fibrosis treatment – Getting started with Fizzyo
by Arian Celina
How to develop Hybrid Mobile Apps with Phonegap, AngularJS, Bootstrap
by DotNetForAll
How to develop resolution independent applications in WPF
by Raymund Macaalay
In this post, I will show you how easy it is to develop webparts in MOSS (Sharepoint). If you know how to develop in .NET, then it will be a breeze. It will be as easy as 13 steps, so here we go.
by Qwertie
Dependency Injection aids loose coupling. But there are some services that are pervasive, services that you would have to pass to a hundred different constructors if you want to use DI "properly". Is there an alternative?
by Sebastian Solnica
Performance counters are used to provide information how well the operating system or an application, service, or driver is performing.
by Martin Jarvis
Diagnosing Tricky ASP.NET Production Issues with DebugDiag and winDbg
by Chris_Green
Useful extensions to play safe
by Arpit Jain
In this article we will learn a very important and basic part of the AND and OR operators.
by morzel
Differences in Java and C# - protected
by Abhishek Sur
Different approaches to Casting
by Indivara
This is the second version of my previous directory size utility. It has improved accuracy and supports older .NET frameworks.
by Inaki Ayucar
How to get exactly what you need using DirectoryInfo.GetFiles, with an exact extension match lookup
by Super Lloyd
DirectX made simple
by Jeremy A. Wilson
How to disable local workspaces in TFS 2013
by César de Souza
The ROC curve was developed by electrical and radar system engineers during World War II to detect enemy objects in enemy fields. The ROC analysis has been used in medicine, radiology, psychology and other areas for many decades. More recently, it has been introduced to machine learning.
by Gaurav Aroraa
Discussing Web API2 Route constraints
by VIBlend
How to display the WinForms GridView in a Popup control
by n.podbielski
Display message on client from anywhere in code with ASP.NET.
by Richard James Moss
A sample on displaying the contents of a PDF file in an ASP.NET application using GhostScript
by Santhakumar M
In this article we will discuss how we can integrate with Disqus comment system in MVC.
by Diego Resnik
Cache mechanism is one of the basic infrastructures in every medium & above project, either web application or winForm application.
by Petru Faurescu
Quick introduction on how to use Redis with ASP.NET Core. It includes a full example loading sample Twitter messages.
by Richard James Moss
Dithering an image using the Floyd‑Steinberg algorithm in C#
by Richard James Moss
This article describes how to break up a rectangle into smaller parts based on user defined co-ordinates.
by jamuro77
"Equals" method vs. "==" operator
by Pieter Van Parys
Implementing an ADO.NET Profiler.
by Martin Hinshelwood
From time to time your website structure may change. When this happens you do not want to have to start from scratch with your Google rankings, so you need to map all of your Old URLs to new ones.
by User 1043264
How to add documentation and help pages for ASP.NET Core Web API. Continue reading...
by M Sheik Uduman Ali
Domain Specific Language using C# 4.0 - Part 1
by M Sheik Uduman Ali
Domain Specific Language using C# 4.0 - Part 2
by Nathan Gloyn
If you’re one of those devs that slaps a ConfigurationManager.AppSettings in the middle of a class, then stop, please just stop.
by Pete Sutcliffe
Don't put meaningful values in primitives
by jgauffin
Double check pattern
by rudigrobler
Answer to a very interesting question on StackOverflow...
by Md. Rashim Uddin
How to download different types of files in asp.net
by Chris A. Johnson
Drag and Drop between Multiple Trees in Jquery using jstree
by Pete O'Hanlon
Draggable PushPins
by Andrey Moskvichev
Drawing charts with wxWidgets.
by PeteBarber
Drawing into bitmaps and saving as a PNG in Swift on OS X
by Vangos Pterneas
Drawing using Kinect v2
by Philip Laureano
LinFu.DynamicObject is flexible enough that it can let you build object instances at runtime and then 'strongly' duck type those object instances to any interface that matches the intended duck type.
by Md. Rashim Uddin
Duplex service in WCF
by Gary H Guo
Dynamic behaviors with dynamic typing or dynamic decorating
by Gary H Guo
Add dynamic behaviors using static typing
by StormySpike
Alright, let’s assume that we are lazy coders, we have building a lot of Linq queries lately, and it’s getting repetitive. We keep having to remember to add a certain where clause to every query, couldn’t we just abstract this somehow?
by Sandeep Mewara
An optimization programming technique
by Alphakoda
Introduction to dynamic programming in C# 4.0
by Dev Leader
With this post, we’re still just scratching the surface of what’s doable when integrating Python and C#.
by thebacon
Dynamic Proxy (or getting crazy with Dynamics and Expressions)
by n.podbielski
Explanation how to convert from one delegate type to second delegate of unknown or dynamically created type when their signatures match.
by Jeremy Likness
Add dynamic search to a static Hugo website with custom templates to generate JSON and JavaScript to parse the results.
by Tarun Dudhatra
Dynamic Table in ASP.NET using C#
by Ali BaderEddin
Implementing a three dimensional array dynamically in C, C++, C# and Java
by SleepyCrat
An example of two way communication between a web application and its connected users
by Giorgi Dalakishvili
Implementing dynamic ViewState in ASP.NET WebForms.
by Tariq A Karim
In this blog, I will try to highlight the differences from the CLR and the compiler’s perspective.
by Ashish Kaila
How to dynamically bind value converters to elements in XAML
by Jeremy Likness
A primer on using LINQ to wring strongly typed queries directly in code
by Hamid Mosalla
Dynamically building JSON tree for use In JavaScript components using C#
by Leland Richardson
How to dynamically create item templates on the server-side in ASP.NET.
by Bryan O'Connell
How to easily expose metadata information from Web API
by jgauffin
Easy and perfomant client/server communication with protobuf-net & Griffin.Framework
by Hideous Humpback Freak
Using an F# library for immutable objects reduces required code by an amazing amount. Additionally, it eradicates error prone maintenance.
by jgauffin
How to get clean and flexible model + validation localization in ASP.NET MVC3
by Mukit, Ataul
Eccentricity in programming languages
by Leom Burke
EF Code First and WPF with the Chinook database. Part 1b – the provider
by Leom Burke
EF Code First and WPF with the Chinook database. Part 2 – The Client
by Leom Burke
EF Code First and WPF with the Chinook Database. Part 2 – The Client
by Leom Burke
I have decided to split out the styling work into 2 posts as it would be a huge post to restyle even something so simple.
by Jeremy Likness
How to use EF Core and Cosmos DB with Blazor WebAssembly
by Gil Fink
EF Feature CTP5: Inheritance Scenarios with Code First Fluent API
by AlexCode
EF4 DbDataRecord ConvertTo
by Martin Jarvis
Finding “Missing” content in the index on 64 bit Windows
by Wayne Ye
Elevated trust in Silverlight 4
by User 1043264
How to send emails in .NET Core using Azure SendGrid service. Continue reading...
by Ashish Kaila
How to embed binary resources within .NET assembly and avoid file dependencies
by Dinesh K Mandal
How to embed and use resources from .NET assembly
by Ernest Poletaev
How to load and use custom font, embedded in assembly resources
by Shahriar Iqbal Chowdhury/Galib
The purpose of this blog post is to provide a generic solution using .NET Reflation and Generics so the same export function can be reused through the entire application regardless of the object type and save us a lot of effort.
by madan535
Enable Cross-Origin Requests CORS in ASP.NET Web API
by Richard James Moss
Enabling shell styles for the ListView and TreeView controls in C#
by Inaki Ayucar
How to enable/disable properties at runtime in the PropertyGrid.
by Rob Kraft
Good examples of better coding are not always easy to find, but here is one.
by Wayne Ye
How to encrypt .NET configuration file
by Anton Angelov
Find how to create more refined and more maintainable page objects in WebDriver. These page objects will follow more closely the Single Responsibility Principle.
by Anton Angelov
Find out how to improve your Selenium WebDriver tests through the new improved C# 6.0. The new features will help you to create more readable tests.
by JasonShort
There are some new operations in .NET 4 Entity Framework. This a quick example of each working with VistaDB 4 and Visual Studio 2010.
by JasonShort
New operations in the .NET 4 Entity Framework - a quick example of each working with VistaDB 4 and Visual Studio 2010
by Sacha Barber
Entity framework 7 in memory provider test
by n.podbielski
Entity Framework and Base Entity class.
by Rui Jarimba
Generate Query Objects on the fly for your Entity Framework entities using T4 templates
by Rui Jarimba
Learn how to use the Specification Pattern and how to generate Specification Objects for your Entity Framework entities using T4 templates.
by User 6619207
Entity Framework Code First and WCF Data Services
by Radu Pascal
The way to use Entity Framework with Unit Of Work pattern in order to use only one context per HTTP request
by Farooq Kaiser
In this article, I will explore the entity framework with ASP.NET MVC. We will modify the form validation sample that will access the data layer using the Entity Framework.
by Rui Jarimba
Extension methods for ObjectContext and DbContent to get the mapped table name from an entity
by Kashif Akhter
EntitySpaces Dynamic Bulk Insertion Mechanism
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
EntityType: EntitySet ‘[Entity Name]’ is Based on Type ‘[Entity Name]’ that has no keys defined
by Andrei Ion Rînea
A useful feature added in Java 1.5 (also known as J2SE 5.0, 2004) is the enum. This post makes a comparison of Java and .NET enums.
by User 6619207
Since .NET 4.0, the Enum class contains also a TryParse method. The TryParse method, which is supported in other basic data types already since version 2.0, allows to pass in a value which will be checked if it can be converted into the defined type.
by Ben Hall (failingfast.io)
Erratic behaviour from .NET MemoryCache expiration demystified
by Amogh Natu
This post explains the cause and solution for the HttpException: maxRequestLength exceeded.
by Paul_Wade
A better way to handle errors and provide a useful message back to the user in Silverlight.
by Werner van Deventer
I’ll explain a little about this free service and show you some sample code of how to integrate it into your applications or automation scripts using Powershell.
by Pragmateek
Essential tools for debugging and troubleshooting.
by Nick Polyak
Event bindings outside of WPF
by De, Subhendu
This article will discuss how to use events in asp.net user control
by gramoore
A data model that captures events, subscribers and topics to provide a core data model for any event registration and timeline system.
by Dev Leader
Let’s see how events might be causing some leakage in your application.
by Raymund Macaalay
Everything in Active Directory via C#.NET 3.5 (Using System.DirectoryServices.AccountManagement)
by Colin Eberhardt
Databinding is a fundamental part of the WPF, Silverlight, and the Silverlight for Windows Phone 7 frameworks. It is a powerful concept that once mastered allows you to write concise and elegant code.
by PeteBarber
Evolution of C# enumerators
by Dev Leader
Getting data back from an EventHandler.
by Dev Leader
Check out these examples of the observer pattern in C#! Learn how the observer pattern in C# can simplify the usage of events in your next project!
by Pragmateek
Excel UDF library in C# from stratch
by Dinesh K Mandal
Exception Handling in WCF
by Wayne Ye
Describes low level differences between several Exception handling grammar including: throw and throw ex; catch and catch (Exception ex)
by Rajesh.Sitaraman
Exception logging in Office 365 - SharePoint online custom solutions
by Abhijit Jana
Get troubleshooting tips from your favorite blogs
by jmix90
Execute a command on a specified control when clicking on a button
by Sifiso W Ndlovu
Using SQL Server Integration Services' Execute Process Task to compress a CSV file into a zip format using 7-Zip.
by thebacon
ExpandoObject class
by Afzaal Ahmad Zeeshan
C# 6 has been available for a long time, by now! Many developers have written many guides to "list" the features. I have written this post to explain those features, and to explain whether they are actually new or are they just sugar coating to the compiler.
by Pranay Rana
Explicit and Implicit Casting of object and Role of 'is' and 'as' keyword in Explicit casting
by Jeremy Likness
WebAssembly now lives outside of the browser thanks to the WebAssembly System Interface (WASI) and runtimes like Wasmer and Wasmtime. Learn how to build and run your own WASI modules without leaving your favorite browser.
by Dev Leader
In this article, we'll look at building a flight booking app using vertical slice architecture.
by Brij
Exploring Client Callback
by Carlos Conceição
Current features of NSimpleOlap library
by Brij
In this post, I am going to talk about Nullable types.
by Brij
This is the second and last part of the post on Nullable type series.
by Raymund Macaalay
Export multiple DataSets to multiple Excel sheets dynamically formatted according to the record's data type
by Sandeepkumar Ramani
Multiple GridView into multiple worksheets.
by Komal Mangal
How to export Data Grid to Excel with Save Dialog Box in C#.NET
by JasonShort
Exposing OData from an Entity Framework Model
by Nick Polyak
Expression Based Property Getters and Setters
by Pranay Rana
By using a partial class, we can add custom logic to a class created by the ORM tool(s).
by Pragmateek
Interfacing VBA and .NET is a relatively straightforward process.
by rahulsahay20
Extending anything
by Timmy Kokke
Extending Blend for Visual Studio.
by John Atten
Examination of a quick way to create more useful expandable groups in the .NET ListView control.
by John Atten
Continued examination of C# ListView subclass with collapsible groups.
by Ernest Poletaev
How to use ICSharpCode.TextEditor, free, easy to use, extendable and good quality syntax highlighting control for .NET program.
by Raymund Macaalay
Extending the AdRotator to use Flash Banners
by Pete Mourfield
Adding localization support to the ASP.NET MVC ViewEngine
by Stacy Vicknair
Extending the behavior of MVC AuthorizeAttribute for activity-based authorization
by Richard James Moss
How to extend the ImageBox control to be able to display PDF files with the help of the GhostScript library and the conversion library
by User 271009
WPF and Silverlight Design-Time code sharing
by Caleb McElrath
This article will briefly focus on the topic of Asynchronous Programming by extending System.Action delegates.
by Caleb McElrath
Extension Me Convert: A Binary Look at System.IConvertible Derivations
by Manjuke Fernando
Extension methods in C#
by Md Nazmoon Noor
Extension methods in C#
by DotNetForAll
Extension methods is a feature which was introduced in C# 3.0. Extension methods in C#
by Code0987
My series of posts on extension methods in .NET: Action.Delay
by matthewproctor
How to extract attachments from Outlook mailboxes using C#
by matthewproctor
Extracting Email Addresses from Outlook Mailboxes using C#
by Manas Bhardwaj
How to extract table data from Word document using Aspose Words
by BC3Tech
If you’ve followed .Netitude for a while, you definitely know I’m a fan of Continuous Integration.
by Sheikh Abdul Wahid
Xtremecode or eX ASP.Net Generator is simply a tool which takes a collection of database connections as an input and produces a well-formed ASP.NET application.
by Sheikh Abdul Wahid
eXtremecode, Generated Code Customization Methods
by Sacha Barber
In this post we will examine how F# can be used to do various tasks that you may have commonly use C#/VB.NET for. It will also show how to interop between F#/C# and vice versa. I have already shown some of the content here in previous posts, so apologies for that in advance.
by Anton Angelov
Explains in details how to implement Facade Design Pattern. Use it to follow all SOLID principles and best programming practices.
by Dev Leader
A beginner's guide to Façade pattern
by Ricardo_Torres_Torres
Factory method C#
by Anton Angelov
Learn how to improve automated testing troubleshooting through the introduction of meaningful exceptions' messages on tests' failure. The second version of the utility will utilize the Ambient Design Pattern.
by Anton Angelov
Learn how to improve automated testing troubleshooting through the introduction of meaningful exceptions' messages on tests' failure.
by SQLServerIO
Fast File Copy With Managed Code: UBCopy Update!