¡@

Home 

c# Programming Glossary: samples

recommend a library/API to unzip file in C#

http://stackoverflow.com/questions/1023476/recommend-a-library-api-to-unzip-file-in-c-sharp

into a specific folder. Any recommended library API or samples thanks in advance George c# .net zip visual studio team system..

How to update textbox on GUI from another thread in C#

http://stackoverflow.com/questions/1136399/how-to-update-textbox-on-gui-from-another-thread-in-c-sharp

want that asynchronous behaviour use Invoke . In many samples including some of mine you'll find people using Control.InvokeRequired..

How to secure an ASP.NET Web API

http://stackoverflow.com/questions/11775594/how-to-secure-an-asp-net-web-api

and shows how to implement this I've downloaded numerous samples DotNetOAuth documentation is hopeless from a newbie perspective..

confused with the scope in c#

http://stackoverflow.com/questions/1196941/confused-with-the-scope-in-c-sharp

with the scope in c# I have two samples Code 1 public void MyMethod int i 10 for int x 10 x 10 x int..

How do you do Impersonation in .NET?

http://stackoverflow.com/questions/125341/how-do-you-do-impersonation-in-net

easy WindowsIdentity.Impersonate Method check out the code samples Basically you will be leveraging these classes that are out..

Open link in new TAB (WebBrowser Control)

http://stackoverflow.com/questions/1286746/open-link-in-new-tab-webbrowser-control

searching for months seen many tutorials articles code samples but it seems as though nobody has ever tried this in C# before... though nobody has ever tried this in C# before. Any advice samples are greatly appreciated. Thank you. c# .net winforms webbrowser..

Keeping ASP.NET Session Open / Alive

http://stackoverflow.com/questions/1431733/keeping-asp-net-session-open-alive

the browser window to time out fast. Suggestions code samples c# asp.net session share improve this question I use JQuery..

Implementing a log viewer with WPF

http://stackoverflow.com/questions/16743804/implementing-a-log-viewer-with-wpf

improve this question I should start selling these WPF samples instead of giving them out for free. P Virtualized UI Using..

GUI and windows service communication

http://stackoverflow.com/questions/1773046/gui-and-windows-service-communication

can also visit his website IDesign.net for free WCF code samples. For an overview of WCF watch this free video at dnrTV. It covers..

Creating sine or square wave in C#

http://stackoverflow.com/questions/203890/creating-sine-or-square-wave-in-c-sharp

or write to a WAV file. If you used 32 bit floating point samples you could write the values directly out of the sin function.. a 1 kHz sample rate at a 8 kHz sample rate and with 16 bit samples that is not floating point int sampleRate 8000 short buffer..

LINQ - Fluent and Query Expression - Is there any benefit(s) of one over other? [closed]

http://stackoverflow.com/questions/214500/linq-fluent-and-query-expression-is-there-any-benefits-of-one-over-other

When doing joins Here's an example from the LINQPad samples string fullNames Anne Williams John Fred Smith Sue Green var..

High Quality Image Scaling C#

http://stackoverflow.com/questions/249587/high-quality-image-scaling-c-sharp

Update A few people have been asking in the comments for samples of how to consume the ImageUtilities class so here you go. resize..

What is the best way to dump entire objects to a log in C#?

http://stackoverflow.com/questions/360277/what-is-the-best-way-to-dump-entire-objects-to-a-log-in-c

on the ObjectDumper code that ships with the Linq samples . Have also a look at the answer of this related question to..

Facebook/ Twitter with dotnetopenauth? [closed]

http://stackoverflow.com/questions/4821747/facebook-twitter-with-dotnetopenauth

code if you don't already have it it's free . Open up the samples source code solution in Visual Studio. I'm using VS2010 but..

Working way to make video from images in C#

http://stackoverflow.com/questions/539257/working-way-to-make-video-from-images-in-c-sharp

Splicer . It looks like pretty good code. I compiled the samples and tried to run but got some cryptic error message about a..

Developing Internet Explorer Extensions?

http://stackoverflow.com/questions/5643819/developing-internet-explorer-extensions

that can share their knowledge This would include code samples or links to good ones or documentation on the process or anything...

Creating an MVVM friendly dialog strategy

http://stackoverflow.com/questions/6595312/creating-an-mvvm-friendly-dialog-strategy

like a standard MessageBox Can anyone provide any code samples of how I might acheive this c# wpf mvvm mvvm light share.. lbugnion archive 2011 04 13 deep dive mvvm samples mix11 deepdivemvvm.aspx Sample 03 . Implementing a service component..

Sending email through Gmail SMTP server with C#

http://stackoverflow.com/questions/704636/sending-email-through-gmail-smtp-server-with-c-sharp

were worried about . The below code works just like the samples you referred to using System using System.Collections.Generic..

Get all associate/composite objects inside an object (in Abstract way)

http://stackoverflow.com/questions/11470037/get-all-associate-composite-objects-inside-an-object-in-abstract-way

15 tip 12 choosing an inheritance strategy.aspx Fluent API Samples http blogs.msdn.com b adonet archive 2010 12 14 ef feature ctp5..

convert tiff to jpg format

http://stackoverflow.com/questions/11668945/convert-tiff-to-jpg-format

single frame into a JPG. Taken from Windows Dev Center Samples public static string ConvertTiffToJpeg string fileName using..

Why is Graphics.MeasureString() returning a higher than expected number?

http://stackoverflow.com/questions/1203087/why-is-graphics-measurestring-returning-a-higher-than-expected-number

DRAFT_QUALITY 1 else e.g.SystemDefault DEFAULT_QUALITY 0 Samples Here's some comparisons of GDI graphics.DrawString verses GDI..

Async CTP not working in VS 2010 SP1?

http://stackoverflow.com/questions/16062590/async-ctp-not-working-in-vs-2010-sp1

Users username Documents Microsoft Visual Studio Async CTP Samples In my case it was AsyncCtpLibrary.dll . Otherwise it will highlight..

Request Windows Vista UAC elevation if path is protected?

http://stackoverflow.com/questions/17533/request-windows-vista-uac-elevation-if-path-is-protected

application within the Windows SDK Cross Technology Samples called UAC Demo . This demonstration application shows a method..

Good example of Reactive Extensions Use [closed]

http://stackoverflow.com/questions/2550763/good-example-of-reactive-extensions-use

LINQPad - Dump extension method - I want one [closed]

http://stackoverflow.com/questions/2699466/linqpad-dump-extension-method-i-want-one

may vary C Program Files x86 Microsoft Visual Studio 10.0 Samples 1033 CSharpSamples.zip LinqSamples ObjectDumper share improve..

C# Transition between GDI+ and WPF

http://stackoverflow.com/questions/271686/c-sharp-transition-between-gdi-and-wpf

but more importantly controls that you can learn from. Samples Samples and more Samples There are just a ton of samples out.. more importantly controls that you can learn from. Samples Samples and more Samples There are just a ton of samples out there... controls that you can learn from. Samples Samples and more Samples There are just a ton of samples out there. Almost too many I..

LEFT OUTER JOIN in LINQ

http://stackoverflow.com/questions/3404975/left-outer-join-in-linq

join share improve this question As stated on 101 LINQ Samples Left outer join var q from c in categories join p in products..

OAuth 2.0 Service Provider .NET libraries

http://stackoverflow.com/questions/3997172/oauth-2-0-service-provider-net-libraries

Is it possible to make the WcfTestClient work for custom transport channels?

http://stackoverflow.com/questions/484717/is-it-possible-to-make-the-wcftestclient-work-for-custom-transport-channels

typically at C Program Files Microsoft SDKs Windows v6.1 Samples WCFSamples TechnologySamples Extensibility Transport Udp CS.. at C Program Files Microsoft SDKs Windows v6.1 Samples WCFSamples TechnologySamples Extensibility Transport Udp CS assuming that.. Microsoft SDKs Windows v6.1 Samples WCFSamples TechnologySamples Extensibility Transport Udp CS assuming that the WCFSamples.zip..

C# => operator?

http://stackoverflow.com/questions/5781268/c-sharp-operator

In C Program Files x86 Microsoft Expression Blend 4 Samples en Contacts Contacts ViewModels ContactsViewModel.cs contactDetailWindow.Closed.. Or C Program Files x86 Microsoft Expression Blend 4 Samples en Contacts Contacts ViewModels ContactsViewModel.cs this.EditContact..

Ways of keeping configuration code out of logic code using Dependency Injection

http://stackoverflow.com/questions/7288859/ways-of-keeping-configuration-code-out-of-logic-code-using-dependency-injection

another pattern It would be great to get some sample code Samples Static Configuration public static class StaticConfiguration..

C#: Printing all properties of an object [duplicate]

http://stackoverflow.com/questions/852181/c-printing-all-properties-of-an-object

machine. Go to c Program Files Microsoft Visual Studio 9.0 Samples 1033 CSharpSamples.zip This will unzip to a folder called LinqSamples... Files Microsoft Visual Studio 9.0 Samples 1033 CSharpSamples.zip This will unzip to a folder called LinqSamples. In there.. CSharpSamples.zip This will unzip to a folder called LinqSamples. In there there's a project called ObjectDumper. Use that. This..

Problem with delegate Syntax in C#

http://stackoverflow.com/questions/906057/problem-with-delegate-syntax-in-c-sharp

which really helps when updating GUI Elements. Code Samples Declaration Class Delegate public delegate void d_SingleString..

.Net TPL: Limited Concurrency Level Task scheduler with task priority?

http://stackoverflow.com/questions/9315937/net-tpl-limited-concurrency-level-task-scheduler-with-task-priority

improve this question The Parallel Extensions Extras Samples. already provide such a scheduler the QueuedTaskScheduler. This..