TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Microsoft Edge
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Skype for Business
See all products »
Resources
Channel 9 Video
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Windows Update
Trials
Windows Server 2016
System Center 2016
Windows 10 Enterprise
SQL Server 2016
See all trials »
Related Sites
Microsoft Download Center
Microsoft Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Expert-led, virtual classes
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
Microsoft Official Courses On-Demand
Certifications
Certification overview
Special offers
MCSE Cloud Platform and Infrastructure
MCSE: Mobility
MCSE: Data Management and Analytics
MCSE Productivity
Other resources
Microsoft Events
Exam Replay
Born To Learn blog
Find technical communities in your area
Azure training
Official Practice Tests
Support options
For business
For developers
For IT professionals
For technical support
Support offerings
More support
Microsoft Premier Online
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Skip to locale bar
Get this Tag RSS feed
Translate this page
Powered by
Microsoft® Translator
Popular Tags
Active Directory
AD
AD DS
adfs
ASP.NET
azure
BizTalk
BizTalk Server
BizTalk Server 2010
C#
Candidate for deletion
certification
cloud
core docs
de-DE
EAA
Ed Price
Ed's Stub Pages
en-US
ESA
es-ES
Excel
Exchange
Exchange 2010
fa-IR
Fernando Lugao Veltem
FIM
FIM 2010
FIM Resources
FIM-HELP
forefront
forums
fr-FR
Gokan Ozcifci
has code
has comment
has comments
has image
has Images
has Other Languages
has See Also
Has Table
Has TOC
Horizon_Net
How To
Hyper-V
id-ID
IIS
Italian Wiki Articles
it-IT
ja-JP
Jordano Mazzoni
Link Collection
Luciano Lima
Luigi Bruno
Lync Server 2010
MIISILMFIM MACAULAY
Multi Language Wiki Articles
needs work
operations manager
Pirated Content
Portal
Português Brasil
PowerShell
pt-BR
security
SharePoint
SharePoint 2010
SharePoint 2013
SharePoint Pirate
Small Basic
solucionando problemas
SQL Server
SQL Server 2012
stub
System Center
System Center 2012
TechNet Guru
TechNet Wiki
TechNet Wiki Featured Article
tonyso
Translated into Japanese
troubleshooting
tr-TR
vídeo
Video
Virtualization
VMM
Wiki
Windows
Windows 7
Windows 8
Windows Azure
Windows Server
Windows Server 2003
Windows Server 2008
Windows Server 2008 R2
Windows Server 2012
yottun8
اکتیو دایرکتوری
Browse by Tags
>
TechNet Articles
>
All Tags
>
C# .NET
Tagged Content List
Wiki Page:
Test Article 100
blogswikiadm
Test Article 011 111 asasfsafsaf asfasfasf afasfsa
on
12 Nov 2014
Wiki Page:
Test article122
galadmppe
The C# language is intended to be a simple, modern, general-purpose, object-oriented programming language. The language, and implementations thereof, should provide support for software engineering principles such as strong type checking, array bounds checking , detection of attempts to use uninitialized...
on
6 Nov 2014
Wiki Page:
TEst article C# 123
Wikitestuser
The C# language is intended to be a simple, modern, general-purpose, object-oriented programming language. The language, and implementations thereof, should provide support for software engineering principles such as strong type checking, array bounds checking , detection of attempts to use uninitialized...
on
6 Nov 2014
Wiki Page:
IEnumerable<T> Vs. IQueryable<T>
Jaliya Udagedara
I am sure most of you have seen the following interfaces when you write code with .NET Framework. IEnumerable IEnumerable<T> IQueryable IQueryable<T> Have you ever wondered what these really are. Let’s see the beauty of them and let’s have a dig into IEnumerable<T>...
on
22 Sep 2013
Wiki Page:
Forms Authentication with Multiple Login Pages
Jaliya Udagedara
Have you ever come across a situation where you want to have multiple login pages with Forms Authentication. Forms Authentication directly supports one login page, but there is a work around. Today we will see how to achieve this. For an example let’s say you want two login pages where one...
on
17 Sep 2013
Wiki Page:
SharePoint: Querying Active Directory from a Farm Based Solution using C#.Net
Matthew Yarlett
Table of Contents Introduction Simple Example Webpart Example One Webpart Example Two Other Examples Get the PrincipalContext Get a Group Get a User Check if a User is a Member of a Group Get a List of all the Users in a Group Add or Remove a User from a Group Introduction If you are developing...
on
10 Sep 2013
Wiki Page:
Progress of a Task in C#
Ed Price - MSFT
By default Task doesn’t report its progress as a BackgroundWorker does. But that doesn’t mean we can’t get a progress of a Task. There is a new interface which was introduced with .NET framework 4.5 which is IProgress<T> . This interface exposes a Report(T) method, which the async task calls...
on
7 Sep 2013
Wiki Page:
Introduction to WCF Data Services
Ed Price - MSFT
Table of Contents Introduction OData(Open Data Protocol) WCF Data Service + oData Data Service Providers Introduction WCF Data Services (formerly known as ADO.NET Data Services and codename is “Astoria”) is a platform for what Microsoft calls Data Services. This is a component of the .NET...
on
7 Sep 2013
Wiki Page:
WCF Data Services with Entity Framework Provider
Ed Price - MSFT
This Article focuses on how we can implement a WCF Data Service with Entity Framework Provider. I have created an empty ASP.NET web application. Now let’s start by adding an ADO.NET Entity Data Model to the project. ADO.NET Entity Data Model Now I am...
on
7 Sep 2013
Wiki Page:
C#: PPT to PDF-Unable to Cast COM Object of Type 'Microsoft.Office.Interop.PowerPoint. ApplicationClass' to Interface Type 'Microsoft.Office.Interop.PowerPoint. _Application
Ed Price - MSFT
My team have been struggling with COM Component issue for about one week, it almost frustrated the developer, me and project manager. Uff.. after intense amount of googling and trial method, several time repair and installation of office, the problem was still bugging all the team members. Finally...
on
7 Sep 2013
Wiki Page:
VerticalLabel
Naomi N
This is a custom control I wrote, first in VB.Net, but I converted it to C# as a learning exercise. I used the telerik ( http://converter.telerik.com/ ) online converter and then fixed the inevitable conversion errors with a little help from the IDE (Integrated Development Environment). The control...
on
7 Sep 2013
Wiki Page:
Get All Removal Drive in C#
Maheshkumar S Tiwari
Here you can display and identify how many removal disk are available on your system var removableDrives = from d in System.IO.DriveInfo.GetDrives() where d.DriveType == DriveType.Removable select d; foreach (var item in removableDrives) { string name = item.Name; }
on
4 Sep 2013
Wiki Page:
Switch + C#
Ninho_Blink
1 - Introdução Irei realizar uma pequena explicação de como o comando switch funciona. Ele lida com várias condições, onde cada nó e verificado de cima até embaixo chegando ao último nó. Particularmente uma ótima estrutura visual quando há diversas condições para ser validada. 2 – Estrutura ...
on
20 Aug 2013
Wiki Page:
SharePoint 2010: Convert a SharePoint document name to a Friendly name that you can save
Gokan Ozcifci
Convert a SharePoint name to a Friendly name that you can save, returning max of 180 characters private static readonly Regex InvalidCharsRegex = new Regex(@ "[\*\?\|\\\t/:" "'<>#{}%~&]" , RegexOptions.Compiled); private static readonly...
on
16 Aug 2013
Wiki Page:
Visual C#: MultiThreadSingleton
Ed Price - MSFT
This article demonstrates how to make multi threaded singleton 01. public sealed class MultiThreadSingleton<T> where T : class 02. { 03. #region Private Fields 04. /// <summary> 05. /// 06. /// </summary> 07. private static volatile T...
on
8 Aug 2013
Wiki Page:
WPF Data, Item and Control Templates - Minimum Code, Maximum Awesomeness
Ed Price - MSFT
Table of Contents Introduction The Sample Project A Brief Explanation Introduction This article is going to highlight some of the awesomeness of WPF (and Silverlight) through XAML, INotifyPropertyChanged, Item Templates, Data Templates and Control Templates. The Sample Project ...
on
6 Aug 2013
Wiki Page:
Windows Store App with a SQLite Database
Ed Price - MSFT
In Windows Store Apps there are variety of ways/methods to store your application data. Examples of such mechanisms would be Web Storage , IndexedDB etc. and even SkyDrive. Today I am going to write about my favorite data storage method in developing Windows Store Apps which is “ SQLite ”. ...
on
6 Aug 2013
Wiki Page:
Set WCF Service Authentication to Use a Custom Username & Password over HTTP
Naomi N
It’s a common requirement where you want to authenticate the requests which the clients will make to your WCF services. And let's say that’s using some data which you have in your user table. In WCF, the default, when a user name and password is used for authentication, is let Windows to validate...
on
6 Aug 2013
Wiki Page:
Using Two Interfaces with the Same Method Signature in One Class
Naomi N
Let me give you a brief description about common scenario, let’s say you have two interfaces Interface1, Interface2, and both interfaces are having a method addNumber() with the same signature. Now let’s say you have to implement both interfaces in one class (e.g. Class1: Interface1, Interface2). The...
on
6 Aug 2013
Wiki Page:
C# Eseguire la somma dei dati di una colonna su foglio Excel da C#.(it-IT)
Carmelo La Monica
A volte capita la necessità di dover eseguire dei calcoli con dei dati presi da altri file , in questo esempio vedremo come poter eseguire la somma dei dati di una colonna da un file excel. Prendiamo in considerazione questo esempio di codice. private void BtnCalcolaSommaClick(object sender...
on
5 Aug 2013
Wiki Page:
C# Eseguire una ricerca su foglio Excel da C#.(it-IT)
Carmelo La Monica
A volte vi e la necessità di interagire attraverso la nostra applicazione con dei File Excel , lo scopo di questo esempio e dimostrare in che modo questo e possibile. Utilizzeremo AdoNet e precisamente il namespace OleDb utilizzato anche per la gestione di File MicrosoftAccess. Questo namespace...
on
5 Aug 2013
Wiki Page:
SharePoint: Uploading (and Resizing) Images to a SharePoint Picture Library via a Webpart
Matthew Yarlett
Getting a file to upload to SharePoint is very easy; essentially it involves adding an asp:FileUpload control to your webpart and adding a button to click on (to upload the selected file!). In this example we're going to create a visual webpart that allows a user to upload an image to SharePoint...
on
30 Jul 2013
Wiki Page:
Get Marketplace link from inside your Application (Windows Phone)
Rida Qasim
In order to dynamically create the link all we have to do is read the manifest file, get the "ProductID" attribute value, and then create the link with the expected format; with this data, we can write a class in C# such as this: Code to extract data from WMAppManifest.xml : Step1...
on
17 Jul 2013
Wiki Page:
Cómo: Crear dinámicamente una base de datos (LINQ to SQL) (es-ES)
Ed Price - MSFT
Basado en este articulo El código siguiente proporciona un ejemplo de cómo se crearía una nueva base de datos denominada MyDVDs.mdf. public class MyDVDs : DataContext { public Table<DVD> DVDs; public MyDVDs( string connection) : base (connection) { } } [Table...
on
9 Jul 2013
Wiki Page:
Operaciones CRUD (Create, read, update and delete) con Linq (es-ES)
Ed Price - MSFT
Basado en este articulo En LINQ to SQL, las operaciones Insert, Update y Delete se realizan agregando, cambiando y quitando objetos en el modelo de objetos. De forma predeterminada, LINQ to SQL convierte estas acciones a SQL y envía los cambios a la base de datos. LINQ to SQL proporciona...
on
9 Jul 2013
Page 1 of 2 (38 items)
1
2
Can't find it? Write it!
Post an Article