.net

Firefox C# Wrapper/Control

Is there a Firefox/Mozilla control for embedding the firefox browser in a C# .net application? ...

How do we use .Net CodeDom to create a Dependency Object?

We are creating our own code generated to automate CRUD coding and we need to generate a class for use withing WPF. To do this, we need to create the class with fields/properties as dependency objects. How do we accomplish this with CodeDom in .Net 3.5? ...

How many runtimes (CLRs) can be loaded in a single process?

I attended Virtual Tech Days today. In Quiz section there was the following question. "In the previous versions of .NET (before 4.0) how many runtimes (CLRs) can be loaded in a single process?" Any ideas? ...

Why the web.config isn't copied when I publish an ASP.NET Web Project with the "Only files needed to run this application" option?

How to correct it? ...

How to create silverlight app with vwd 2008 sp1?

Hi, I've installed Visual Web Developer express 2008 sp1 and Silverlight 3 Tools. But I only have two new VS templates "Silverlight Script Web" and "WCF Service". How do I create a Silverlight application? I have c#, vb.net, vwd express editions and visual studio 2005. Please Help. Thanks ...

Is it possible to use Team Build 2008 to build a VS 2005 solution targeting .NET 2.0?

What are the necessary steps I have to do to get Team Build 2008 to build a Visual Studio 2005 solution targeting .NET 2.0? ...

A .Net aspect weaver supporting relationship aspect implementation

With relationship aspects implemented in AspectJ I can associate objects of two types in the following way (see code example below). I would like to transfer this concept to .net. Can you point me towards a .net weaver implementation that will allow me to do this or something similar? Relationship aspects are designed by Pearce & Noble....

Using a Windows Form as an abstract class - which pattern to use?

I'm struggling with a situation that I come up again time and time again but I am not sure whether the way that I am doing things is wrong or whether I could be doing things in a different way. An Example: I have a Windows Form that has a DataGridView with some private methods to perform validation of the datagrid and interpreting righ...

Communicate through TextWriter -> TextReader

Hi all, One way to have interprocess communication is through a (named) pipe between the processes. I want to achive the same "queue"-like communication between two threads. The producer should write a text base command (using TextWriter or an output Stream). The consumer should read from the TextReader. Because, then you think about i...

How do RAM Test Applications work? C# Example?

Hello, How exactly do RAM test applications work, and is it possible to write such using C# (Example)? ...

Config-based Shared Libraries (DLL's)

I work in a company where we have a lot of small ASP.Net/C# apps. I've been making efforts to centralize as much of the functionality as possible by creating shared libraries for common functions (like Active Directory lookups, FTP, etc). I'm trying to create an email dll that will perform SMTP interactions. I'd like to make this confi...

Using Silverlight Controls within WPF application

I was looking for a rich text editor with support for export/import to Html. All the available controls I found are Silverlight controls. Someone asked in StackOverflow about WPF text editor, and the selected answer was: A possible place to start, given the overlap between WPF and Silverlight is the Silverlight Rich Text Editor. ...

Can I preserve object references duing manual serialization?

Using the DataContractSerializer, I can serialize an object graph, while maintaining object references by setting "PreserveObjectReferences". This works great for most of my object graph, but there is one spot where I have to do the serialization myself. Is there any way for me to hook into the reference preservation system myself? How c...

Webservices Design and How can I capture the raw XML sent to a webservice call in C# .net so that I can validate it against an XSD?

I have created a C# .net 2.0 webservice. I need to capture the raw XML sent from the client and validate it against an XSD and return any errors to the client. The webservice will allow the client to upload a list of widgets to our system. The following is some background info: I created an XSD to model a "Widget", which is a complex...

Guidance Automation Toolkit [c#]

How is guidance automation toolkit used to created VS project and item templates? How can create a recipie using that. ...

Custom edit/delete button Gridview

Hello all, I am using C#.net I want to add custom edit/delete buttons to my GridView1 (one edit/delete button per row). However I want the buttons to access another view (editView/deleteView within the same form), rather than edit ‘inline’ etc. The edit button seems to be working fine. Here’s how I created it manually: Right clicked...

Are .NET modules thread safe?

I have a .NET module that I need to call from an instantiated class. Can I count on only one object at a time being able to access the functions in a module (something like instantiating a module) or will I need to look at locking within the class? I can't seem to get a clear answer to this anywhere. Thanks! ...

InfoPath 2007 Dataconnection not executing (works in C#, not VB.NET)

Greetings, I have an InfoPath 2007 form, for which the programming for parts of the form (mostly changed events) were done in C#. I am trying to convert these to VB, but, I am having an issue with DataConnection.Execute() The original C# code seen below: XPathNavigator main = MainDataSource.CreateNavigator(); XPathNavigator mainStart...

Getting started with client -> server communication between two windows application. WCF?

I've written an application that uses some serial port hardware directly, and abstracted the serial commands out into a object. I'd like to use that object remotely from another application on another machine on the network, but I'm not sure where to start. I previous used TCP and made up some commands to send over the network to cont...

How can I respond to the StatusCode of WebClient before it throws an exception.

We are writing a REST like set of services and we are returning errors as different StatusCodes. In our client application we we prefer if our work flow did not require us to catch and cast an exception to discover the error code. Is there a way to tell the WebClient or HttpWebRequest to stop throwing exceptions when it encounters a S...