Using excel calculation capabilities in server applications
I want to try MS Excel calculation/formula capabilities in server applications like MVC , Windows service. As I understand this is not a recommended practice.I think we can still do this with...
View Articlehow can use identity for login and register in multi tier programming
hi i want to use multi tier programming. DataLayer,ServiceLayer,DomainClass and MainProject. and i use structureMap Library. in the past,i did not use tier programming. so i had IdentityConfig.cs and...
View ArticleC# and Agent Based Model
Is there any possibility in .Net framework to write agent based models with C#? Most agent based platforms are based on java..
View ArticleCallContext data slots and garbage collection
Hi all, we seem to have problems with memory leaks in an ASP.NET application and I am wondering if it may have anything to do with our use of the System.Runtime.Remoting.Messaging.CallContext class....
View ArticleGet the Processor / Bios MAC using C#
Hi,I would like to get a unique ID from my computer but I am not sure if the network MAC is a good idea because many people change network cards, similarly with he hard disk so I thought if possible to...
View ArticleAttachConsole() - Console.WriteLine() doesn't work sometimes
I know, that this question has been stated before - but I didn't find any answer.Let's take this simple example: static class Program { [DllImport("kernel32.dll")] [return:...
View ArticleDelete RSA key from machine key store from Web Forms
Hi,I have some keys I am storing in the machine key store. Occasionally there is a need to dump the old key and create a new one. I have provided a web form for that purpose, however when I set the...
View ArticleInconsistency issue when writing to the registry using C#
Hello,My question is regarding best practices for writing to the registry from C# and to investigate whether there is an issue with the consistency of the windows registry following windows updates.I...
View Articlec# Wpf - Keyword not supported: "version"..
Hey.Everytime we try to run our code we get the error'Keyword not supported: "version"'We tried to change the version number many times but it keep sending us the same error message. Our code is...
View ArticleCan You Give Steps to how to integrate google maps in windows forms c#
// need step by step process
View ArticleDatetime.Now is throwing a System.ArgumentOutOfRangeException
Hi, We have recently migrated our solution from Framework 3.5 to 4.5. After this change, we have detected that the application throws an unexpected exception. The StackTrace is the following:...
View Articlecrystaldecision could not found assembly or reference
Hi,I have installed sap crystal report.I am trying to build a project which consists of class libraries,application,setup.I m facing crystaldecision could not found.so i checked each of the projects...
View ArticleWebRequest with TLS1 and AES 3DES. How to set, or will it autoselect?
Hello,I would like to send a WebRequest to Server that only TLSv1, v1.1, v1.2 with only AES and / or 3DES support.I modified my Code as at 2. String:HttpWebRequest HttpWReq =...
View ArticleClearing memory
I'm seeking advice on ensuring I've cleared memory that previously contained sensitive data.My application (c# .net 4.5, WPF) handles sensitive information. The data comes in as clear text and I...
View ArticleC# Console application - Change Font dynamically.
i want to change the console application Font dynamically. I googled and tired several options, but didn't work.Any suggestion please.
View ArticleNot able to expand Admin Console in Biztalk server 2010
TITLE: BizTalk Server Administration ------------------------------ Failed to load Group [xxxxxxxx-server\INS01:BizTalkMgmtDb] data providers. (Microsoft.BizTalk.Administration.SnapIn) For help, click:...
View Articleconvert any string to 24 hexadecimal digits
Hi, I would like to ask, in C#, how can I convert any string to a 24 hexadecimal digits like this:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX if the string was 1 character length or more or even more than 24...
View ArticleWhat is AJAX Role in ASP.NET Webform?
Hi...What is ajax role in asp.net webform?and How can we use ajax in our webform?Thanks in advance.
View ArticleDoes the Transaction roll back if it timed out before exiting the...
Hi All,I have written code within transaction scope to insert values into 2 tables. If timeout exception occurs before transaction completes, will the transaction be rolled back?Thanks
View Article