¡@

Home 

c# Programming Glossary: project

Looking for C# HTML parser [duplicate]

http://stackoverflow.com/questions/100358/looking-for-c-sharp-html-parser

extraction share I used the HTMLAgilityPack on a project for a previous employer and it was pretty effective. It wasn't..

Should Usings be inside or outside the namespace

http://stackoverflow.com/questions/125319/should-usings-be-inside-or-outside-the-namespace

Now imagine that someone adds another file File2.cs to the project that looks like this File2.cs namespace Outer class Math The..

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

I've been discussing this with a friend on an open source project that we're working on C# ASP.NET Forum . At the moment most.. DB. So I'm trying to establish which for this particular project would be best. So far I have Advantages for in Code Easier to..

TransactionScope automatically escalating to MSDTC on some machines?

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

automatically escalating to MSDTC on some machines In our project we're using TransactionScope's to ensure our data access layer..

What is the correct way to create a single instance application?

http://stackoverflow.com/questions/19147/what-is-the-correct-way-to-create-a-single-instance-application

a dependency on the Microsoft.VisualBasic assembly. If my project already had a dependency on that assembly I would probably advocate.. and I'd rather not add an unnecessary dependency to my project. Second the article shows how to bring the existing instance..

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

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

have really tempted me to try it out maybe on the next project who knows. Update In a follow up to my comments here I've been.. here I've been using Ninject as promised on my latest project and it has been an absolute pleasure to use. Words fail me a.. is the Dogs' . I highly recommend it for any green fields projects where you want to be up and running quickly. I got all I needed..

When to Use Static Classes in C#

http://stackoverflow.com/questions/241339/when-to-use-static-classes-in-c-sharp

for static methods System.Convert as an example. If your project is a one off with no requirements for future maintenance the..

Tips for optimizing C#/.NET programs [closed]

http://stackoverflow.com/questions/2473666/tips-for-optimizing-c-net-programs

goals downwards to something you can achieve or 3 your project is cancelled because you could not meet your goals. This is..

Deserialize JSON into C# dynamic object?

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

code and a reference to System.Web.Extensions from your project using System using System.Collections using System.Collections.Generic..

What C# mocking framework to use? [closed]

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

closed I want to start using mock objects on my next C# project. After a quick Google search I've found there are many NMock..

Best practice to save application settings in a Windows Forms Application

http://stackoverflow.com/questions/453161/best-practice-to-save-application-settings-in-a-windows-forms-application

easy to get persistable settings. Right click on the project in Solution Explorer choose Properties. Select the Settings.. is applicable both for console Windows Forms and other project types. Note that you need to set the scope property of your..

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

on a 64 bit version of Windows When I create a new project I get a strange behaviour for unhandeled exceptions. This is.. running. I don't have this problem with my existing C# projects. So I guess that my new projects are created with some strange.. with my existing C# projects. So I guess that my new projects are created with some strange default settings. Does anyone..

Sending email through Gmail SMTP server with C#

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

has been code I've used many many times on different projects. I've taken some of the ideas in this post and other EmailSender.. taken some of the ideas in this post and other EmailSender projects to create an EmailSender project at Codeplex . It's designed.. and other EmailSender projects to create an EmailSender project at Codeplex . It's designed for testability and supports my..

How to use HTML Agility pack

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

That's why I wanted to use it. How do I use it in my project My project is in C#. c# html html agility pack share improve.. why I wanted to use it. How do I use it in my project My project is in C#. c# html html agility pack share improve this question..

Interface or abstract class?

http://stackoverflow.com/questions/1165332/interface-or-abstract-class

or abstract class For my new Pet Project I have a question for design that is decided already but I want.. value get set List MyObject myobjects get set Later in the Project MyObjectGroup and MyObject should be used equally. For this..

Generating an Xml Serialization assembly as part of my build

http://stackoverflow.com/questions/134224/generating-an-xml-serialization-assembly-as-part-of-my-build

find this commented out code just before the close of the Project tag To modify your build process add your task inside one of.. Compile ResolveKeySource Inputs MSBuildAllProjects @ IntermediateAssembly Outputs OutputPath _SGenDllName Delete..

Recommended ServiceStack API Structure

http://stackoverflow.com/questions/15231537/recommended-servicestack-api-structure

StoreEvent operation if the use case permits. Physical Project Structure Ideally the root level AppHost project should be kept.. AppHost.cs ServiceStack ASP.NET Web or Console Host Project EventMan.ServiceInterface Service implementations akin to MVC..

Communicate between two windows forms in C#

http://stackoverflow.com/questions/1665533/communicate-between-two-windows-forms-in-c-sharp

communication in different ways. Download Link for Sample Project Your Form1 public partial class Form1 Form public Form1 InitializeComponent..

.NET Process Monitor

http://stackoverflow.com/questions/1986249/net-process-monitor

shown with an example. Start a new Console application Project Add Reference select System.Management. Paste this code using..

How to force my .NET App to run as administrator on Windows 7?

http://stackoverflow.com/questions/2818179/how-to-force-my-net-app-to-run-as-administrator-on-windows-7

embedded in the program. This works on VS2008 and higher Project Add New Item select Application Manifest File . Change the requestedExecutionLevel..

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

attached your code will bomb as usual without one. Project Properties Build tab change Platform target to AnyCPU. The unfortunately..

Interprocess communication for Windows in C# (.NET 2.0)

http://stackoverflow.com/questions/50153/interprocess-communication-for-windows-in-c-sharp-net-2-0

class library that can be used for local and remote RPC Project home page http csharptest.net projects rpclibrary MSDN references..

Working way to make video from images in C#

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

Another answer suggested the AviFile library from Code Project. That looks simple enough a wrapper around the Windows AviFile..

Watermark in System.Windows.Forms.TextBox

http://stackoverflow.com/questions/578193/watermark-in-system-windows-forms-textbox

2.0 with C# Edit Using the ready made component from CodeProject was very easy. It's also with a The Code Project Open License.. from CodeProject was very easy. It's also with a The Code Project Open License CPOL . c# .net .net 2.0 watermark cue share.. I googled it and I got two links first was the one in CodeProject which used the System.Drawing namespace and the other one was..

Parsing SQL code in C# [duplicate]

http://stackoverflow.com/questions/589096/parsing-sql-code-in-c-sharp

How do I display a popup from a WebBrowser in another window I created?

http://stackoverflow.com/questions/6470842/how-do-i-display-a-popup-from-a-webbrowser-in-another-window-i-created

advantage of this requires some work. For starters use Project Add Reference Browse tab and select c windows system32 shdocvw.dll...

How to execute an .SQL script file using c#

http://stackoverflow.com/questions/650098/how-to-execute-an-sql-script-file-using-c-sharp

Source SURAJIT SQLEXPRESS FileInfo file new FileInfo @ E Project Docs MX462 PD MX756_ModMappings1.sql string script file.OpenText..

Dynamic enum in C#

http://stackoverflow.com/questions/725043/dynamic-enum-in-c-sharp

to create a code generated static enum as per The Code Project article Enum Code Generator Generating enum code automatically..

Deep cloning objects in C#

http://stackoverflow.com/questions/78536/deep-cloning-objects-in-c-sharp

here's a nice deep clone object copier I found on The Code Project a while ago and incorporated it in our stuff. As mentioned elsewhere..

Embedding an external executable inside a C# program

http://stackoverflow.com/questions/798655/embedding-an-external-executable-inside-a-c-sharp-program

is the default namespace for your project find this under Project Properties Application Default namespace . The second part is..

How to detect a process start & end using c# in windows?

http://stackoverflow.com/questions/8455873/how-to-detect-a-process-start-end-using-c-sharp-in-windows

class to subscribe to WMI notifications. This Code Project article illustrates how it is done. Here's an extract showing..

Debug VS Release in .net

http://stackoverflow.com/questions/90871/debug-vs-release-in-net

Studio. To see the differences look at the Build Tab in Project Properties in Visual Studio. The differences in VS2005 include.. the build settings for Debug and Release configurations in Project Propeties Build Create your own custom configurations by right..