Hello,
I started using Sandcastle some time ago to generate a Documentation Website for one of our projects. It's working quite well but we've always only written documentation for classes, methods, properties (...) in our project and had completely separate documentation for the overall project and project parts/modules/namespaces. It ...
I've seen a few examples on how to do build deployment, however I have something unique that I'd like to do:
Deploy the build to a folder that has the build number (eg. Project\Builds\8423)
Alter the version number in the .NET AssmblyInfo.cs to match the build number
Has anyone done this before with .NET projects using NAnt + CruiseC...
Smart interviewers for positions that require programming ability actually get applicants to write a short program, equipping them with PC etc.
However what should the test program do as a reasonable test with a time limit of about 30 minutes. [Answers should be the required program specification.]
If you are an interviewer, what do yo...
I'm planning to write a web service aka api for my application which was developed with .Net and SQLServer. .Net provides a simple way to create webservices by creating asmx files. But i need to know how best it can be designed or what are the best practices in creating a web service in .net or some pointers to good articles as this is m...
I just need a file (picture, pdf or other type file for printing) of the framework structure.
It is very usefull while learning .Net framework.
...
I'm attempting to check for the existence of a node using the following .NET code:
xmlDocument.SelectSingleNode(String.Format("//ErrorTable/ProjectName/text()='{0}'", projectName));
This always raises XPathException: Expression must evaluate to a node-set. Why am I getting this error and how can I resolve it? Thank you.
...
People have been developing own solutions to the following problems:
Consistent messaging frameworks for remote information exchange (webservices,rpc,...)
SDK's for state managements for things such as Finite State Machines and Workflows
Authentication Frameworks
And much more.
For over two years now, Microsoft offers .NET 3.0 whic...
Hello,
As far as i know it is not possible to do the following in C# 2.0
public class Father
{
public virtual Father SomePropertyName
{
get
{
return this;
}
}
}
public class Child : Father
{
public override Child SomePropertyName
{
get
{
return this;...
Hello everybody!
For a project I built a custom DataGridView column which contains NumericUpDown controls. It is implemented similar to the suggestion from Microsoft
The column works fine under Windows XP. It accepts the entered digits and decimal separator.
Under Windows Vista I have the odd problem that the control only accepts the d...
I have wrapped Log4net in a static wrapper and want to log
loggingEvent.LocationInformation.MethodName
loggingEvent.LocationInformation.ClassName
However all I get is the name of my wrapper.
How can I log that info using a forwardingappender and a static wrapper class like
Logger.Debug("Logging to Debug");
Logger.Info("Logging ...
I'm writing a Winforms application and I've been writing these awful HTML reports where I have templates set up and use String.Replace to get my variables into the templates, then output the results to a WebBrowser control. I really don't like this set up.
I'd love to be able to use ASP.NET for my reports, but my clients don't want t...
I've read that plug-ins aren't support for SQL Server Management Studio 2005. But it can be done though. Anyone have any ideas how to do thist?
Here is a company that does it now:
http://www.red-gate.com/products/SQL_Refactor/index.htm
...
In VB.Net, I can declare a variable in a function as Static, like this:
Function EncodeForXml(ByVal data As String) As String
Static badAmpersand As Regex = new Regex("&(?![a-zA-Z]{2,6};|#[0-9]{2,4};)")
data = badAmpersand.Replace(data, "&")
''// more processing
return data
End Function
Note that I need to use t...
I understand access modifiers at the class level and below, but why would an entire assembly be private? I assume by default, assemblies are public?
...
I was looking for a generic method in .Net to encode a string for use in an Xml element or attribute, and was surprised when I didn't immediately find one. So, before I go too much further, could I just be missing the built-in function?
Assuming for a moment that it really doesn't exist, I'm putting together my own generic EncodeForX...
Starting with the error:
Error 81 The OutputPath property is
not set for this project. Please
check to make sure that you have
specified a valid
Configuration/Platform combination.
Configuration='Staging'
Platform='AnyCPU' C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets 490 9 crm_deploy
We have...
For a university project I programmed a Internet Explorer Browser Helper Object to process web document information while browsing. It were running successful on Windows XP with IE6 and IE7.
Now I have the issue that under Windows Vista the same BHO needs administrator rights to run. Browser and BHO running if you start the IE as admin...
In a C# Web app, VS 2005 (I am avoiding 2008 because I find the IDE to be hard to deal with), I am getting into a layout stew.
I am moving from absolute positioning toward CSS relative positioning.
I'd like to divide the screen into four blocks: top (header band), middle left (a stacked menu), middle right (content - here the AJAX tab ...
I am trying to add an unhandled exception handler in .net (c#) that should be as helpfull for the 'user' as possible. The end users are mostly programers so they just need a hint of what object are they manipulating wrong.
I'm developing a windows similar to the windows XP error report when an application crashes but that gives as much ...
I was able to implement a thread-safe Dictionary in C# by deriving from IDictionary and defining a private SyncRoot object:
public class SafeDictionary<TKey, TValue>: IDictionary<TKey, TValue>
{
private readonly object syncRoot = new object();
private Dictionary<TKey, TValue> d = new Dictionary<TKey, TValue>();
public objec...