Browse by Tags

Tagged Content List
  • Wiki Page: .NET Development User Groups

    This page contains resources for and a listing of offline Microsoft user groups focused on .NET Development including all development disciplines (C#, VB.NET, ASP.NET, Visual Basic, Visual Studio, etc). Table of Contents .NET Development User Group Listing .NET Development Resources on the TechNet...
  • Wiki Page: Visual C# Resources on the TechNet Wiki

    Introduction This page contains links to all the Visual C# resources that are available on the TechNet Wiki. This page focuses on Technet Wiki articles only and contains the most prominent articles per category. The articles are grouped based on the common Wiki Article tag for Visual C#. ...
  • Wiki Page: C#: Tipos

    Table of Contents Usando e criando tipos Tipos de Valor e Tipos de referencia C# é uma linguagem fortemente tipada, as variáveis e constantes pertencem a algum tipo. Esses tipos definem espaço gasto na memória para alocar um dado deste tipo ou as operações que podem ser feitas com ele, por exemplo...
  • Wiki Page: Loading Related Entities in Entity Framework

    In Entity Framework Navigation properties are used to create associations/relationships among entities. Today I am going to write about the three ways which can be used to load related entities data along with the primary entity. I will not be covering the basics of Entity Framework here in this post...
  • Wiki Page: Named Pipes IO for Inter-process Communication

    Introduction Use the .NET 3.5 Named Pipes IO for Inter-process communication by implementing a pipe listener on a separate thread. The first sample is a WPF project. It can also be done just as easily in Windows forms. Description The sample demonstrates how to pass string data from clients...
  • Wiki Page: IEnumerable<T> Vs. IQueryable<T>

    Table of Contents Introduction IEnumerable IEnumerable<T> IQueryable IQueryable<T> Case Study: IEnumerable<T> Vs. IQueryable<T> References & Resources Appendices Appendix A: Simplified the Enumerable class In Linq Appendix B: Simplified the Queryable class In Linq Introduction...
  • Wiki Page: Visual C#: Filter a DataTable Based on a Collection

    This article is if you have a requirement where you want to filter the rows in a data table based on some values in a collection. So this is one way to do it. This will really show you the power of LINQ and Lambda Expressions (I am assuming you all know what LINQ and Lambda Expressions is...
  • Wiki Page: Visual C#: Thread.Sleep vs. Task.Delay

    We can use both Thread.Sleep() and Task.Delay() to suspend the execution of a program for some given time. But are we actually suspending the execution? What is the difference between these two? How do you abort from a sleeping thread or from a delaying task? Those are some of the questions I believe...
  • Wiki Page: C# : Action, Func<TResult> and Predicate<T> Delegate

    Table of Contents Introduction Action Func < TResult > Predicate<T> Func Vs. Predicate<T> Download sample Introduction I am pretty sure you all must have seen these delegates when writing code. IntelliSense shows methods that accept Actions, Func<TResult> and some accept...
  • Wiki Page: Braille Code in .Net

    (Try using the table below to decipher this!) You can download a more elaborate version of this code (the project version) at the following link. Introduction Not too long ago (while reading Code by Charles Petzold , which I recommend), I became particularly interested in Braille...
  • Wiki Page: Creating a Simple Plugin Mechanism

    Table of Contents Introduction Creating a simple plugin mechanism from scratch Creating the plugin interface Implementing the plugin interface Implementing the plugin framework Integrate the plugin mechanism in the main application Creating a simple plugin mechanism with MEF Implementing the plugin interface...
  • Wiki Page: SharePoint 2010: Adding Charts to Webparts

    Table of Contents Introduction Add the HTTP Handler for the Chart Images Add a new HTTP Handler Configure the ChartImageHandler Adding a Chart to a Standard Webpart Adding a Chart to a Visual Webpart Page Markup Visual Webpart's Code File See Also References Introduction Adding charts...
  • Wiki Page: SharePoint: Build a Webpart to Resize and Upload Images to a Picture Library

    Table of Contents Introduction Visual Webpart Example See Also References Introduction Uploading a file to SharePoint in a custom webpart is very easy; as simple example involves adding an asp : FileUpload control to your webpart and adding a button to click on (to upload the selected file...
  • Wiki Page: SharePoint: A Complete Guide to Getting and Setting Fields using C#

    Table of Contents Introduction Applies To Get the List, and the first SPListItem Create Variables used in the Examples Set and Get the Title Set and Get a Text Field Set and Get a Note (or RichText) Field Set and Get a Yes/No Field (Boolean) Set and Get a Number Field Set and Get a Currency (Number)...
  • Wiki Page: Loops with Visual Basic.Net

    What the heck is a loop??? A loop is a repetitive procedure that is designed to repeat a given set of instructions. Loops are absolutely essential for getting work done. You know how computer software saves you so much time, by doing the tedious repetition of tasks? Our good hero the loop...
  • Wiki Page: How to Play Flac Files in Windows Phone Using C#

    The multimedia capabilities of windows phone are nice and exciting, but not all file formats are supported, especially the open-source lossless and lossy formats, such as flac and vorbis. However, the Silverlight runtime comes with this class called a MediaStreamSource. Media stream sources provide...
  • Wiki Page: SharePoint 2010: Performance Differences of Search verse Recursively Looping

    Table of Contents Introduction Creating a Webpart to Test the Performance of Both Methods. WebPart Code for Testing the Performance of Both Methods Using SPMonitoredScope Turning on the Developer Dashboard with PowerShell Testing the Example Webpart Test 1: User A, on a site collection with 9 sites ...
  • Wiki Page: SharePoint 2010: Search using the KeywordQuery class

    Table of Contents Introduction Example See Also Reference Introduction You can use the KeywordQuery class to search SharePoint content using a search query string formatted in the same way you would if you used the Search Center user interface. This makes it really easy to structure (and test...
  • Wiki Page: Visual Basic.Net Common Errors: "Index was out of range."

    Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index The error message couldn't do a better job in conveying what went wrong. Lets back up... An index is an integer that identifies the location of an element in a array, list, or other...
  • Wiki Page: WPF Data, Item and Control Templates - Minimum Code, Maximum Awesomeness

    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 ...
  • Wiki Page: Progress of a Task in C#

    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...
  • Wiki Page: Difference Between Static Class, Sealed Class, and Abstract Class in C#

    We come across this question very often that what is the difference between Static, Sealed and Abstract class in C#. Static Class : Declared with Static keyword, methods in Static Class are also static along with variables of the class. This class cannot be instantiated, i.e we cannot have...
  • Wiki Page: Identifying and Resolving Shortcuts/Links of Files and Folders

    Table of Contents Introduction Description References Introduction In Windows, file shortcuts can be identified by the file extension. Default file extension for file and folder shortcuts is " . lnk ". But also " . appref-ms" is used as a file extension for file shortcuts...
  • Wiki Page: DataBinding

    This example was written as a complete guide to Databinding in C# + VB.Net. I wrote it in VS2008 for wider version compatibility + it will compile + run as intended in all versions from 2008 to 2013 (+ beyond I hope...). This example addresses many questions that are frequently asked...
  • Wiki Page: SharePoint 2010: Storing Database Connection Settings in the Secure Store

    Table of Contents Introduction Scenario Creating a Target Application in the Secure Store Building a Class to Access the Credentials Building a Webpart that uses the Database Credentials See Also References Introduction There are times when you need to connect SharePoint to an external database...
Page 1 of 7 (172 items) 12345»
Can't find it? Write it!