¡@

Home 

c# Programming Glossary: framework

Priority queue in .Net [closed]

http://stackoverflow.com/questions/102398/priority-queue-in-net

I am looking in the wrong place there isn't one in the framework. Is anyone aware of a good one or should I roll my own c# .net..

Simple 2 way encryption for C#

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

I'd prefer something that is already included in the .Net framework 2.0 so I don't have to worry about any external dependencies...

Dependency Inject (DI) “friendly” library

http://stackoverflow.com/questions/2045904/dependency-inject-di-friendly-library

I want consumers to be able to use the library with any DI framework. Non DI usable If a consumer of the library is using no DI the..

Which .NET Dependency Injection frameworks are worth looking into? [closed]

http://stackoverflow.com/questions/21288/which-net-dependency-injection-frameworks-are-worth-looking-into

.NET Dependency Injection frameworks are worth looking into closed Which C# .NET Dependency Injection.. looking into closed Which C# .NET Dependency Injection frameworks are worth looking into And what can you say about their complexity.. use. Words fail me a bit here but as we say in the UK this framework is the Dogs' . I highly recommend it for any green fields projects..

Reading/writing an INI file

http://stackoverflow.com/questions/217902/reading-writing-an-ini-file

writing an INI file Is there any class in the .NET framework that can read write standard .ini files Section keyname value.. share improve this question The creators of the .NET framework want you to use XML based config files rather than ini files...

Best way to copy between two Stream instances

http://stackoverflow.com/questions/230128/best-way-to-copy-between-two-stream-instances

.NET 3.5 and before There isn't anything baked into the framework to assist with this you have to copy the content manually like..

Creating application shortcut in a directory

http://stackoverflow.com/questions/234231/creating-application-shortcut-in-a-directory

an application shortcut .lnk file in C# or using the .NET framework The result would be a .lnk file to the specified application..

What are the correct version numbers for C#?

http://stackoverflow.com/questions/247621/what-are-the-correct-version-numbers-for-c

that the C# 3.0 is present in .NET 3.5. The language and framework are versioned independently however as is the CLR which is at.. about the relationship between the language runtime and framework versions is available on the C# in Depth site. This includes..

Deserialize JSON into C# dynamic object?

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

in methods of the Json class. It is included with the MVC framework as an additional download to the .NET 4 framework. Be sure to.. the MVC framework as an additional download to the .NET 4 framework. Be sure to give Vlad an upvote if that's helpful However if..

What C# mocking framework to use? [closed]

http://stackoverflow.com/questions/37359/what-c-sharp-mocking-framework-to-use

C# mocking framework to use closed I want to start using mock objects on my next.. So my question is what one is your favourite .NET mocking framework and why c# .net unit testing mocking share improve this question.. List Customer @Ngu Soon Hui I wasn't aware that the other frameworks don't have compile time checking. Moq certainly does. In my..

How to read a text file reversely with iterator in C#

http://stackoverflow.com/questions/452902/how-to-read-a-text-file-reversely-with-iterator-in-c-sharp

or not when you fetch data. There's nothing built into the framework and I suspect you'd have to do separate hard coding for each..

The entity cannot be constructed in a LINQ to Entities query

http://stackoverflow.com/questions/5325797/the-entity-cannot-be-constructed-in-a-linq-to-entities-query

an entity type called product that is generated by entity framework. I have writen this query public IQueryable Product GetProducts.. How can I preform a custom select section c# entity framework share improve this question You cannot and should not be..

Fastest Way of Inserting in Entity Framework

http://stackoverflow.com/questions/5940225/fastest-way-of-inserting-in-entity-framework

lead to an incomplete transaction. Regards. c# sql entity framework share improve this question To your remark in the comments..

Create code first, many to many, with additional fields in association table

http://stackoverflow.com/questions/7050404/create-code-first-many-to-many-with-additional-fields-in-association-table

way to create the association table Thank you. c# entity framework code first share improve this question It's not possible..

How to use HTML Agility pack

http://stackoverflow.com/questions/846994/how-to-use-html-agility-pack

integrating with other stream oriented classes in the .NET framework. While HtmlEntity.DeEntitize is another useful method for processing..

C# - Correct Way to Load Assembly, Find Class and Call Run() Method

http://stackoverflow.com/questions/1137781/c-sharp-correct-way-to-load-assembly-find-class-and-call-run-method

of assemblies you should look at the Managed Add ins Framework i.e. the System.AddIn namespace . For more information see this..

Making Entity Class Closed for Changes

http://stackoverflow.com/questions/11425993/making-entity-class-closed-for-changes

an error when using ObjectContext.AddObject with Entity Framework Refactoring code using Strategy Pattern Prefer composition over..

Parse JSON in C#

http://stackoverflow.com/questions/1212344/parse-json-in-c-sharp

of that field in the setter. Btw if you're using the 3.5 Framework you can just do this and avoid the backing fields and let the..

How do you do Impersonation in .NET?

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

requirements. Is there a better way to do it by using .NET Framework I have a user credential set username password domain name which..

Which .NET Dependency Injection frameworks are worth looking into? [closed]

http://stackoverflow.com/questions/21288/which-net-dependency-injection-frameworks-are-worth-looking-into

by but does not require an IoC Inversion of Control Framework. IoC Frameworks just make DI much easier but it's not only DI.. not require an IoC Inversion of Control Framework. IoC Frameworks just make DI much easier but it's not only DI that they do.. being said I'm sure that's what you were asking about IoC Frameworks I used to use Spring.Net and CastleWindsor a lot but the real..

Validate a username and password against Active Directory?

http://stackoverflow.com/questions/290548/validate-a-username-and-password-against-active-directory

it here Managing Directory Security Principals in the .NET Framework 3.5 MSDN docs on System.DirectoryServices.AccountManagement..

How to detect Windows 64-bit platform with .NET?

http://stackoverflow.com/questions/336633/how-to-detect-windows-64-bit-platform-with-net

won't return the correct value if running in 32 bit .NET Framework 2.0 on 64 bit Windows it would return 32 bit . As Microsoft's..

Entity Framework 4 - AddObject vs Attach

http://stackoverflow.com/questions/3920111/entity-framework-4-addobject-vs-attach

Framework 4 AddObject vs Attach I have been working with Entity Framework.. 4 AddObject vs Attach I have been working with Entity Framework 4 recently and am slightly confused as to when to use ObjectSet.Attach..

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

problem 1 create a new Windows Forms Application C# .NET Framework 4 VS2010 2 add the following code to the Form1_Load handler..

Proper use of the IDisposable interface

http://stackoverflow.com/questions/538060/proper-use-of-the-idisposable-interface

unmanaged resource If you found it in the Microsoft .NET Framework it's managed. If you went poking around MSDN yourself it's unmanaged...

IPC Mechanisms in C# - Usage and Best Practices

http://stackoverflow.com/questions/56121/ipc-mechanisms-in-c-sharp-usage-and-best-practices

Developing Internet Explorer Extensions?

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

Explorer 8 Addon I am using Visual Studio 2010 C# 4 .Net Framework 4 so some of these steps might be slightly different for you... f i TargetDir TargetFileName C Windows Microsoft.NET Framework v4.0.30319 RegAsm.exe unregister TargetDir TargetFileName C.. TargetDir TargetFileName C Windows Microsoft.NET Framework v4.0.30319 RegAsm.exe TargetDir TargetFileName Attention as..

Fastest Way of Inserting in Entity Framework

http://stackoverflow.com/questions/5940225/fastest-way-of-inserting-in-entity-framework

Way of Inserting in Entity Framework i'm looking for the fastest way of INSERTING in Entity Framework.. i'm looking for the fastest way of INSERTING in Entity Framework i'm asking this because of the scenario where you have an active..

How to parse json in C#?

http://stackoverflow.com/questions/6620165/how-to-parse-json-in-c

multiple platforms .NET Silverlight and the Compact Framework Look at the example below. In this example JsonConvert object..

“The Controls collection cannot be modified because the control contains code blocks”

http://stackoverflow.com/questions/778952/the-controls-collection-cannot-be-modified-because-the-control-contains-code-bl

627 Version Information Microsoft .NET Framework Version 2.0.50727.3074 ASP.NET Version 2.0.50727.3074 I have..

Entity Framework - Using Transactions or SaveChanges(false) and AcceptAllChanges()?

http://stackoverflow.com/questions/815586/entity-framework-using-transactions-or-savechangesfalse-and-acceptallchanges

Framework Using Transactions or SaveChanges false and AcceptAllChanges.. share improve this question With the Entity Framework most of the time SaveChanges is sufficient. This creates a transaction.. transaction is aborted. But unfortunately the Entity Framework has already discarded the changes on context1 so you can't replay..