¡@

Home 

c# Programming Glossary: blog

Public Fields versus Automatic Properties

http://stackoverflow.com/questions/1180860/public-fields-versus-automatic-properties

had some time ago there was a link to a posting on Jeff's blog explaining some differences. Properties vs. Public Variables..

Virtual member call in a constructor

http://stackoverflow.com/questions/119506/virtual-member-call-in-a-constructor

base class to the most derived class see Eric Lippert's blog for details as to why this is . Also in .NET objects do not..

XDocument or XMLDocument

http://stackoverflow.com/questions/1542073/xdocument-or-xmldocument

then moving on to the next element etc. There are various blog posts about this technique here's one I found with a quick search..

Transitioning from Windows Forms to WPF

http://stackoverflow.com/questions/15681352/transitioning-from-windows-forms-to-wpf

forms designer share improve this question I like to blog about beginner articles for WPF and there are a few in particular..

TransactionScope automatically escalating to MSDTC on some machines?

http://stackoverflow.com/questions/1690892/transactionscope-automatically-escalating-to-msdtc-on-some-machines

should not be escalation to DTC . http davidhayden.com blog dave archive 2005 12 09 2615.aspx from 2005 talks about how..

How do I create a custom membership provider for ASP.NET MVC 2?

http://stackoverflow.com/questions/2771094/how-do-i-create-a-custom-membership-provider-for-asp-net-mvc-2

all this info Custom role provider http davidhayden.com blog dave archive 2007 10 17 CreateCustomRoleProviderASPNETRolePermissionsSecurity.aspx..

Is DateTime.Now the best way to measure a function's performance?

http://stackoverflow.com/questions/28637/is-datetime-now-the-best-way-to-measure-a-functions-performance

typically has a resolution of 15 ms. See John Chapman's blog post about DateTime.Now precision for a great summary. Interesting..

Is there a better alternative than this to 'switch on type'?

http://stackoverflow.com/questions/298976/is-there-a-better-alternative-than-this-to-switch-on-type

you'll need to work with a different structure. I wrote a blog post awhile back detailing how to build a TypeSwitch structure... back detailing how to build a TypeSwitch structure. http blogs.msdn.com jaredpar archive 2008 05 16 switching on types.aspx..

Deserialize JSON into C# dynamic object?

http://stackoverflow.com/questions/3142495/deserialize-json-into-c-sharp-dynamic-object

dynamic share improve this question Unfortunately the blog post by Nikhil Kothari doesn't work with .NET 4 RTM. An alternative..

Repository pattern tutorial in C# [closed]

http://stackoverflow.com/questions/3175/repository-pattern-tutorial-in-c-sharp

Domain Driven Design and Patterns by Jimmy Nilsson My blog post Using the unit of work per request pattern in ASP.NET MVC..

VS2010 does not show unhandled exception message in a WinForms Application on a 64-bit version of Windows

http://stackoverflow.com/questions/4933958/vs2010-does-not-show-unhandled-exception-message-in-a-winforms-application-on-a

File Upload ASP.NET MVC 3.0

http://stackoverflow.com/questions/5193842/file-upload-asp-net-mvc-3-0

are not used in ASP.NET MVC. Checkout the following blog post which illustrates how to achieve this in ASP.NET MVC. So..

Developing Internet Explorer Extensions?

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

out that the assembly must be in the GAC. This recent MSDN blog post contains a fully working example many other sites in the.. are not allowed to run except in edge cases. see http blogs.msdn.com b ieinternals archive 2012 03 23 understanding ie10.. are not allowed to run except in edge cases. see http blogs.msdn.com b ieinternals archive 2012 03 23 understanding ie10..

MetadataException: Unable to load the specified metadata resource

http://stackoverflow.com/questions/689355/metadataexception-unable-to-load-the-specified-metadata-resource

should get you on the right track. Update I've written a blog post with more complete steps for troubleshooting . share improve..

Anyone know a good workaround for the lack of an enum generic constraint?

http://stackoverflow.com/questions/7244/anyone-know-a-good-workaround-for-the-lack-of-an-enum-generic-constraint

version 0.0.0.2 of UnconstrainedMelody. As requested on my blog post about enum constraints . I've included the basic facts..

C# - What is the best way to modify a list in a 'foreach' loop?

http://stackoverflow.com/questions/759966/c-sharp-what-is-the-best-way-to-modify-a-list-in-a-foreach-loop

foreach without getting the exception. See Paul Jackson's blog entry An Interesting Side Effect of Concurrency Removing Items..

C# Events and Thread Safety

http://stackoverflow.com/questions/786383/c-sharp-events-and-thread-safety

a lot more work. Update in response to Eric Lippert's blog posts So there's a major thing I'd missed about event handlers..

Is it possible to dynamically compile and execute C# code fragments?

http://stackoverflow.com/questions/826398/is-it-possible-to-dynamically-compile-and-execute-c-sharp-code-fragments

classes. Here's a nice short example take from LukeH's blog which uses some LINQ too just for fun. using System using System.Collections.Generic..

What is the best choice for .net inter-process communication?

http://stackoverflow.com/questions/84855/what-is-the-best-choice-for-net-inter-process-communication

highly recommend that you take a look at WCF. Here is a blog that does a WCF vs Remoting performance comparison . A quote.. WCF vs Remoting performance comparison . A quote from the blog The WCF and .NET Remoting are really comparable in performance...

Does Parallel.ForEach limits the number of active threads?

http://stackoverflow.com/questions/1114317/does-parallel-foreach-limits-the-number-of-active-threads

when it really needs to. Have a look at the PFX Team Blog for loads of information about how it allocates work and all..

What's the best way to enter numbers in Windows Mobile? (.NET CF 3.5)

http://stackoverflow.com/questions/1324559/whats-the-best-way-to-enter-numbers-in-windows-mobile-net-cf-3-5

of this code was Daniel Moth http www.danielmoth.com Blog InputPanelEx.cs ... who credits Alex Feinman with the original..

LDAP Authentication in ASP.Net MVC

http://stackoverflow.com/questions/1401667/ldap-authentication-in-asp-net-mvc

The solutions I have seen for example here on Mike's Blog does not require the user to enter his her UserId or password...

Alternatives to System.Drawing for use with ASP.NET?

http://stackoverflow.com/questions/1528525/alternatives-to-system-drawing-for-use-with-asp-net

graphics library through Interop over at TopTen Software Blog . This post deals specifically with running ASP.net on linux..

Google Analytics Access with C#

http://stackoverflow.com/questions/15734/google-analytics-access-with-c-sharp

Transactions for C# objects?

http://stackoverflow.com/questions/1765615/transactions-for-c-sharp-objects

about Software Transactional Memory. STM.NET STM.NET Team Blog Channel 9 Video STM.NET Who. What. Why. Papers on STM They use..

Single-assembly multi-language Windows Forms deployment (ILMerge and satellite assemblies / localization) - possible?

http://stackoverflow.com/questions/1952638/single-assembly-multi-language-windows-forms-deployment-ilmerge-and-satellite-a

but no clue as to how it would be modified BCL Team Blog Article on ResourceManager . Does anyone have any idea This..

C# variance problem: Assigning List<Derived> as List<Base>

http://stackoverflow.com/questions/2033912/c-sharp-variance-problem-assigning-listderived-as-listbase

Look at the following example partially taken from MSDN Blog class Animal class Giraffe Animal static void Main string args..

Breaking changes in .NET 4.0

http://stackoverflow.com/questions/2548106/breaking-changes-in-net-4-0

void. Some code won't even compile in 4.0. Chris Burrows Blog CAS is deprecated and to enable it one still need to use special..

In .NET, which loop runs faster, 'for' or 'foreach'?

http://stackoverflow.com/questions/365615/in-net-which-loop-runs-faster-for-or-foreach

article by Emmanuel Schanzer CodeProject FOREACH Vs. FOR Blog To foreach or not to foreach that is the question ASP.NET forum..

.NET Jump List

http://stackoverflow.com/questions/466726/net-jump-list

Windows 7 Taskbar Jump Lists Additionally The Windows 7 Blog started a series of posts that covering developing the task..

How to switch between “possible” type of an object? [duplicate]

http://stackoverflow.com/questions/5947343/how-to-switch-between-possible-type-of-an-object

object obj if obj is Entry obj is EntryComment if obj is Blog if obj is blah blah blah This method is just ugly. I want..

What are 'closures' in C#? [duplicate]

http://stackoverflow.com/questions/595482/what-are-closures-in-c

referenced within the anonymous method. There is a great Blog Post here about it. Example public Person FindById int id return..

Charting in ASP.Net MVC 3

http://stackoverflow.com/questions/6281520/charting-in-asp-net-mvc-3

previously separate project called MS Chart. Alex Gorev's Blog MSFT lead dev for the project http blogs.msdn.com b alexgor..

c# inheriting generic collection and serialization

http://stackoverflow.com/questions/666054/c-sharp-inheriting-generic-collection-and-serialization

is available here http blogs.vertigo.com personal chris Blog archive 2008 02 01 xml serializing a derived collection.aspx..

What's the best way to learn C# quickly? [closed]

http://stackoverflow.com/questions/72893/whats-the-best-way-to-learn-c-sharp-quickly

out MSDN Beginner Developer Learning Center Scott Gu's Blog and to pick up this book C# 3.0 Pocket Reference Any other suggestions..

ASP.NET MVC3 RAZOR: Redirecting from Partial Views

http://stackoverflow.com/questions/9413467/asp-net-mvc3-razor-redirecting-from-partial-views

Partial Views I have two partial views œMyPopular and œMyBlogs And there are two controllers œArticleController.cs and œThePopularController.cs.. Index Index returns no model return View public string BlogHome return Blog Home ChildActionOnly attribute indicates that.. no model return View public string BlogHome return Blog Home ChildActionOnly attribute indicates that this action should..