¡@

Home 

c# Programming Glossary: side

What are the pros and cons to keeping SQL in Stored Procs versus Code

http://stackoverflow.com/questions/15142/what-are-the-pros-and-cons-to-keeping-sql-in-stored-procs-versus-code

places Amazing You can then put the re usable SQL code inside one of these or if you want to get really high tech you can.. hole right there and bottleneck as it rules out server side caching. Shouldn't they be connecting via a web service or similar.. Storedprocs live in the database which appears to the outside world as a black box. Simple things like wanting to put them..

How slow are .NET exceptions?

http://stackoverflow.com/questions/161942/how-slow-are-net-exceptions

exceptions revolves around them being slow while the other side claims with benchmark test that the speed is not the issue... I've read numerous blogs articles and posts pertaining one side or the other. So which is it Some links from the answers Skeet.. share improve this question I'm on the not slow side. I've written two short articles about this. There are criticisms..

Simple 2 way encryption for C#

http://stackoverflow.com/questions/165808/simple-2-way-encryption-for-c-sharp

cs.Close memoryStream.Close return encrypted The other side Decryption methods public string DecryptString string EncryptedString..

What NoSQL solutions are out there for .NET? [closed]

http://stackoverflow.com/questions/1777103/what-nosql-solutions-are-out-there-for-net

nosql share improve this question You also should consider using Redis . It's an advanced NoSQL database with support.. an advanced NoSQL database with support for rich server side data structures such as lists sets sorted sets and hashes. It.. IDictionary and ICollection mapping to Redis's rich server side data structures. For a quick overview of its features check..

What's the point of the var keyword?

http://stackoverflow.com/questions/209199/whats-the-point-of-the-var-keyword

of a more general problem where the type of the right hand side of an expression is either unknown to the programmer or is extremely.. unknown to the programmer or is extremely verbose. Consider SomeGeneric VeryLongTypename NestedTypename thing new SomeGeneric..

Why .NET String is immutable? [duplicate]

http://stackoverflow.com/questions/2365272/why-net-string-is-immutable

object a change to x entails a change to y allows for considerable compiler optimisations. Memory saving optimisations are.. in question . With mutable objects that can't be done. No side effects can come from passing an immutable type as a method.. the start index and count having to change with a very considerable change to construction time. In all for objects which don't..

Natural Sort Order in C#

http://stackoverflow.com/questions/248603/natural-sort-order-in-c-sharp

made for Vista to make it work more intuitively. The plus side of this function is that it will have the same behaviour as.. it differs between versions of Windows so you need to consider whether this is a problem for you. So a complete implementation..

How to fix the flickering in User controls

http://stackoverflow.com/questions/2612487/how-to-fix-the-flickering-in-user-controls

check my code in this thread for the solution. It has side effects though and doesn't actually increase painting speed...

ObservableCollection that also monitors changes on the elements in collection

http://stackoverflow.com/questions/269073/observablecollection-that-also-monitors-changes-on-the-elements-in-collection

could be extended with a new event that is fired instead inside ContainerElementChanged Thoughts EDIT Should note that the BCL.. see from the sample that 'overriding' the event has the side effect that you need to be extremely careful of which type of..

How to provide user name and password when connecting to a network share

http://stackoverflow.com/questions/295538/how-to-provide-user-name-and-password-when-connecting-to-a-network-share

account needed for the share is not known on the client side. Client and server are not members of the same domain. c# .net..

C# member variable initialization; best practice?

http://stackoverflow.com/questions/298183/c-sharp-member-variable-initialization-best-practice

public Bar this public Bar string foo Foo foo edit as a side comment note that in the above if there are other fields not..

Performance differences between debug and release builds

http://stackoverflow.com/questions/4043821/performance-differences-between-debug-and-release-builds

JIT compiler can determine that the code has no possible side effect. This optimization is what makes profiling code so tricky... what makes profiling code so tricky. Code hoisting. Code inside a loop that is not affected by the loop can be moved out of..

What is the purpose of self tracking entities?

http://stackoverflow.com/questions/5091974/what-is-the-purpose-of-self-tracking-entities

but why would you use these rather than the client side or shared classes generated by RIA services What is the point..

File Upload ASP.NET MVC 3.0

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

this question You don't use a file input control. Server side controls are not used in ASP.NET MVC. Checkout the following.. fileName Path.GetFileName file.FileName store the file inside ~ App_Data uploads folder var path Path.Combine Server.MapPath..

Properties vs Methods

http://stackoverflow.com/questions/601621/properties-vs-methods

should not be computationally complex or produce side effects. When it does not violate the following guidelines consider.. When it does not violate the following guidelines consider using a property rather than a method because less experienced..

In C#, why can't a List<string> object be stored in a List<object> variable

http://stackoverflow.com/questions/6557/in-c-why-cant-a-liststring-object-be-stored-in-a-listobject-variable

Foo instance the Foo could not be converted to string As a side note I think it would be more significant whether or not you..

Sending email through Gmail SMTP server with C#

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

program and saw it was working no change on the Gmail side as you were worried about . The below code works just like the..

Reading pdf content using iTextSharp in C#

http://stackoverflow.com/questions/10185643/reading-pdf-content-using-itextsharp-in-c-sharp

barrier. Drop the re encoding line and you should be good. Side note it is totally possible that whatever creates a string does..

Using Side-by-Side assemblies to load the x64 or x32 version of a DLL

http://stackoverflow.com/questions/108971/using-side-by-side-assemblies-to-load-the-x64-or-x32-version-of-a-dll

Side by Side assemblies to load the x64 or x32 version of a DLL .. Side by Side assemblies to load the x64 or x32 version of a DLL We have.. would like to continue to do so. Is it possible to use a Side by Side assembly manifest to loading a x86 or x64 assembly respectively..

Cannot use ref or out parameter in lambda expressions

http://stackoverflow.com/questions/1365689/cannot-use-ref-or-out-parameter-in-lambda-expressions

passing a local variable as a ref parameter to a function. Side effects in the lambda would need to be visible on the ref parameter..

.NET - What's the best way to implement a “catch all exceptions handler”

http://stackoverflow.com/questions/219594/net-whats-the-best-way-to-implement-a-catch-all-exceptions-handler

everything Even if the application is multithreaded Side note Windows Vista exposes native API functions that allow any..

How do I iterate over the properties of an anonymous object in C#?

http://stackoverflow.com/questions/2594527/how-do-i-iterate-over-the-properties-of-an-anonymous-object-in-c

add them to the ExpandoObject . How do I accomplish this Side note This will be done in many of my unit tests I'm using it..

Lambdas and the ternary operator, weird issue

http://stackoverflow.com/questions/263151/lambdas-and-the-ternary-operator-weird-issue

I'm just curious as to why it doesn't work the first way Side note I ended up not needing this code as I found out that when..

Throwing ArgumentNullException in constructor?

http://stackoverflow.com/questions/3629849/throwing-argumentnullexception-in-constructor

exceptions Good Exception Management Rules of Thumb Side note on what @Steve Michelotti said because i am a huge fan..

Posting JSON Data to ASP.NET MVC

http://stackoverflow.com/questions/4164114/posting-json-data-to-asp-net-mvc

below I solved my problem using two main methods. Server Side The deserialiser below requires reference to System.Runtime.Serialization.. whatever needs to be done create update delete etc. Client Side It uses json.org's stringify method available in this dependecy..

How does DataAnnotations really work in MVC?

http://stackoverflow.com/questions/5154231/how-does-dataannotations-really-work-in-mvc

into account and create the Custom Client Side Validation. For that we need to code this append to the GreaterThanDateAttribute..

How to create a custom MessageBox?

http://stackoverflow.com/questions/6932792/how-to-create-a-custom-messagebox

new CustomMessageForm title description form.ShowDialog Side note as Jalal points out you don't have to make a class static..

ASP.NET Custom Validator Client side & Server Side validation not firing

http://stackoverflow.com/questions/701029/asp-net-custom-validator-client-side-server-side-validation-not-firing

Custom Validator Client side Server Side validation not firing This has not happened to me before but.. false alert test I thought at the least the Server Side validation would fire but no. this has never happened to me..

how to call an ASP.NET c# method using javascript

http://stackoverflow.com/questions/7089760/how-to-call-an-asp-net-c-sharp-method-using-javascript

from client side. Now Next step is to Create a Server Side function. Here is the function which I created this function..

How do I write a Parser in C#?

http://stackoverflow.com/questions/7377344/how-do-i-write-a-parser-in-c

in F# and its performance is just shy of Google V8. Side Note Markup parsers are completely different beasts when compared..

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

exception. See Paul Jackson's blog entry An Interesting Side Effect of Concurrency Removing Items from a Collection While..

Globally catch exceptions in a WPF application?

http://stackoverflow.com/questions/793100/globally-catch-exceptions-in-a-wpf-application

blow up the world just because we're ignoring errors. Side note There is exactly one user for that application. It's not..