The NSA provides a guide to securing version 2.0 of the .NET framework here: http://www.nsa.gov/ia/_files/app/I731-008R-2006.pdf
I was wondering if they provide guides for later versions e.g. version 3.0 or 3.5?
Also, I'm interested in any other links especially those from NIST or NSA on .NET security.
...
I'm trying to implement a simple spreadsheet using WPF datagrid.
When users input a formula in a cell, engine calculates the formula and update the cell with the calculated value. But most of calculations i handle take long time, so i want to calculate those in other threads.
I tried to implement this using CellEditEnding event like bel...
Is there a customizable documentation generator for C#? As opposed to native xml documentation which provides documentations for classes, methods, properties, the documentation I am referring to here is more lower-level, ie it documents the flow of a method.
for example in the given code
void SomeMethod(){
///doc:Do X
SomeCodeToDoX
/...
Hello, Could you help me to answer how to put collection of data as parameter in the xslt file, is it possible ? Thanks.
...
Hello to all,
I am use with itextsharp 5.0 to add watermark/chunk to exsiting pdf.
how can I remove this watermark/chunk?
thanks
Saar
...
All RDBMSs support the ALTER TABLE command, which allows administrators to add new columns to tables, or to change the types of existing columns.
I am looking for such a runtime schema evolution function in .Net ORM. I have scanned a few ORM frameworks, and I cannot find an intuitive solution to such an evolution. The closest is OpenAc...
hi
i have small problem. I set generic path in crystal reports after that i deploy the application. deploy application runs corretly but crystal reports not loaded and an exception was occured.
please give me issue
...
Hi,
I have a quite simple WCF service method which returns an IQueryable, just for testing. Perhaps I got something wrong when trying to understand what IQueryable is designed for. I clearly plan to use this with the IQueryable provider of NHibernate later. But first I ran into some sort of serialization problems (at least I think it mi...
Hi,
After going through Marshall code snippet Got the Idea that marshalling is used to convert the Struct to Bytes and few other similar convesrions. But is this the only use of Marshall?
And while going through the MSDn sample I got the floowing line:
// Initialize unmanged memory to hold the struct.
IntPtr pnt = Marshal.AllocHGlob...
I have an assembly written in C++/CLI that contains a heap of enum defined like the following, one after the other in a single header file.
namespace Fix
{
public enum class Side
{
SideBuy = '1',
SideSell = '2'
};
}
I can reference these types in other C# projects, and in IronPython, I can reflect the assembly and see them a...
I would like to get the name of a property, for example:
Dim _foo As String
Public Property Foo as String
Get
Return _foo
End Get
Private Set(ByVal value as String)
_foo = value
End Set
Sub Main()
Console.Write(Foo.Name)'Outputs "Foo"
End Sub
Any ideas how?
...
We have a nightly build process that automatically versions all C++ projecs. Here's how it works. There's a common header file VersionNumber.h that has a specific #define for the version number. The nighly build checks this file out, increments the integer behind that #define and checks it in. All Visual C++ projects #include that header...
Hi boys & girls!
Is it possible to install .NET Framework 4.0 on another drive than C:?
Cheers,
Wilburt
...
I want to know if it is technically possible to capture the position of a mobile phone with GPS from an application in the mobile phone. And send this position to a web service to represent the location from a web page.
Does the phone have to have a special feature or a brand / model specific?
Can you write the trace information in a fi...
I have a ViewModel which encapsulates a datasource which is a domain object. The domain has validation rules which are defined in the domain, but reused by the ViewModel to provide information to the user.
The viewmodel:
internal class RatedValuesViewModel : FluentDataErrorInfo
{
public RatedValuesViewModel()
: base(new Rat...
We have installed VS 2010 64 bit version on a 64 bit operating system but in the the Task Manager the image name for vs2010 display as *32. On searching in google it seems that the display indicates the VS 2010 is running on 32 bit version and we have the same issue we have in SQL2005. 64 bit version of .Net Framework is installed. Pleas...
One of my fellow developer has a code similar to the following snippet
class Data
{
public string Prop1
{
get
{
// return the value stored in the database via a query
}
set
{
// Save the data to local variable
}
}
publ...
Hi,
ReSharper suggests we change:
System.Net.ServicePointManager.ServerCertificateValidationCallback +=
delegate(object sender, X509Certificate certificate, X509Chain chain,
SslPolicyErrors sslPolicyErrors)
{
return true;
};
Into:
System.Net.ServicePointManager.ServerCertificateValidationCallback +=
(sender, cert...
Background - If I am building a WPF desktop application (VS2010 & .NET 4) and would like a lightweight database to use but without having to have a separate installation. SQLite would be OK from what I read however I was thinking it would be good to stick with the Microsoft bits and try to use SQL Server CE.
Question - Does SQL Server ...
I'm currently doing some maintenance on some existing .net 1.1 VB code that creates HTLM from code.
It mainly consists of a bunch of stringbuilder.Append("<table>").
Isn't there a cleaner way to create HTML tags?
...