I am in the process to setup our new Win7 build machine for our C# project. We don't want to install Visual Studio on that machine. So I am following the instruction "Running mstest without Visual Studio" to setup our machine.
On step 3:
Put Microsoft.VisualStudio.QualityTools.Resource.dll and
Microsoft.VisualStudio.QualityTools...
hi,
i created a SSIS package on my development machine which simply:
1) Deletes records from weak table in database.
2) Loads file from filesystem into weak table in database.
3) The package is called from an asp.net page
When i run the package manually on my machine it works, when the protection level is EncryptSensitiveWithUserKey. W...
App: C#, .NET4, Windows 7
When an app starts up, it gets a copy of the current environment variables and they stay constant for the life of that app. I want to know how to get the actual current environment variables, allowing me to react to changes.
Do I need to go to the registry? I've pondered spawning a cmd.exe and dumping the ou...
I have a table with 100 K records. I am writing an XML file based on this recordset. I need to write 100 records to a file at a time. So I will have 1000 separate files.
Currently to limit number of records getting written to a file, I am using the
SELECT * FROM TABLE WHERE ROWNUM < 100;
This fetches 100 records and writes them to ...
I just want to know if anyone has any good resources or documentation on developing a fairly generic decision support system?
...
My WPF Application is kinda slow in high resolutions when it comes to ComboBoxes. I am pretty sure its the BitmapEffects on the ComboBoxes, especially the DropShadow-Effect on the ItemsPanel.
How can I disable it or completely remove all Bitmap Effects on the ComboBoxes and its children?
...
I'm looking for a secure way to encrypt and decrypt a string in a Visual Studio Project (in C#). I found that there is native DES classes, but it's not secure enough. Do you have any suggestions?
UPDATE :
OK then, the question is : What's the most secure way to encrypt/decrypt a string without too much hassle (aka having to install exte...
I want to list the "sub-path" of files and folders for the giving folder (path)
let's say I have the folder C:\files\folder1\subfolder1\file.txt
if I give the function c:\files\folder1\
I will get
subfolder1
subfolder1\file.txt
...
Hi all,
Summary: I need to know if there is an existing light-weight implementation of REST+JSON in .NET world which does not use WCF. If not, I am looking for some folks who would be interested to start a joint venture for an Open Source project.
I do not know about you but I was a big fan of WCF when it came out and I praised its des...
I am relatively new to .Net and C# development and am having an issue decoupling WCF services from an app into a network DLL I am creating. The DLL's goal is to offer a simple way to host and access a service from a server and client application and to add some functionality to the basic service for heartbeat and automatic reconnection w...
I've got to admit that I'm not an expert on SAP R/3 programming, so this is more of a basic question on that matter.
Is there any way to get a list of accessible RFC modules and/or tables on a SAP system? On many examples on the internet I've found one RFC modul that seems to be available on every SAP system ("SD_RFC_CUSTOMER_GET") and...
I am writting a software in Silverlight with C#.
I know that GC.Collect will collect the Objects and Controls if they are non-referenced.
But in detail, I am not so sure how is exactly means by non-reference.
I know that in Silverlight, I have to remove the Control (say called "Control A") from the Layout, take out all the event handle...
I would like to chain multiple stream operations (like downloading a file, uncompressing it on the fly, and processing the data without any temp files). The files are in 7z format. There is a LZMA SDK available, but forces me to create an outside output stream instead of being a stream itself - in other words the output stream will have ...
I am using several P/Invokes under .NET. However, I want my library to work both in Windows and Linux, preferably with the same binaries.
Since the native library I depend on is available on multiple platforms, I was hoping to just have them along with my managed library's binaries.
Right now I'm using something like this:
[DllImport(...
Have you heard of real ASP.NET applications that use Mono? What problems do they face? Would you advice this technology to build a server-side for a RIA?
We plan to build ASP.NET Web Service. There is a team of .NET developers and we want to reuse our skills so we have to stick to ASP.NET. But it would be undesirable to use Windows serve...
Gridview data update on each textbox keystoke
...
I am trying to build an ASP.NET project, but Visual Studio keeps giving me the error
(0): Build (web): Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference...
The below query fails with Null Reference Exception when there are elements in BOMIDs where MatID property is nothing.
I thought the 'x.MatID isnot Nothing AndAlso' would prevent the x.MatID.Process part of the where from being executed. There are a couple elements in the BOMIDs collection that where MatID is nothing.
Any thoughts?
Fro...
I currently cache the result of a method invocation.
The caching code follows the standard pattern: it uses the item in the cache if it exists, otherwise it calculates the result, caching it for future calls before returning it.
I would like to shield client code from cache misses (e.g. when the item has expired).
I am thinking of spa...