-
- .NET Runtime Optimization Service causes slow machine
by KevinBurton
- 4 Replies
- Last post
by BillWert - MSFT
- For some reason (that would be one question) my event log is filling up with messages from ".NET Runtime Optimization Service". It seems that this "service" makes event log entries almost every second and sometimes more than one a second. I think this is causing my machine to be extremely slow. Can I stop it How long does it take and should I just wait it out
Thank you.
-
- Spoofing an Ip address Strictly for testing of sites
by Scott_wb
- 4 Replies
- Last post
by Scott_wb
- I am programming many different websites that I have come up with some security features for but only way to do a good test with it is load them down with large amounts of requests from different ip addresses and a few of the same ip. Along with that I know that there is some testing software out that but so far for what I am needing I cannot find any cheap or free ones that can do what I need and
-
- .NET Framework2.0 API problem!
by otm2000_zhang
- 5 Replies
- Last post
by Martin Xie - MSFT
- I found List<T>(equals ArrayList<T>) implement IList<T>, but LinkedList<T> doesn't!Although they both implement ICollection<T>,but I also think LinkedList<T> should implement IList<T>. Is there anybody could tell me why LinkedList<T> doesn't implement IList<T>
-
- PermissionSet builder for AppDomain creation
by Boise83716
- 3 Replies
- Last post
by Boise83716
- If this is the wrong forum please let me know which I should post to. I'm trying to create an app to allow users to create a PermissionSet to be used with an AppDomain that will execute an assembly of their choice. This tool would allow users to create PermissionSets that are more granular then what the different SecurityZones are. It seems like a tool like this would/should already exist. I real
-
- Createing Events Uisng Windows Vista
by kered pople
- 5 Replies
- Last post
by kered pople
- Hi, All
I am having a problem createing events using windows vista, i am using the same code as i used in windows xp pro. I just wondered if there are any changes which i need to make with the two different operating systems.
Many Thanks
Kered
-
- Use one strong name key file for all assemblies or...
by Dane R. Vinson
- 2 Replies
- Last post
by Dane R. Vinson
- Are there problems associated with using a single strong name key file (.snk or .pfx) for signing all the assemblies in a solution, i.e. is it better to use a seperate key file for each assembly in the solution and if so why
Thanks for any input,
Dane R. Vinson
-
- Class serialization sending over a socket, good idea??
by Wiggly
- 7 Replies
- Last post
by sureshsundar007
- Hi Guys, Ok so I have set up a basic socket communication going using networkstream and then streamreader / writer. This is all dandy if i want to send text. I would like to send a small class across instead. I think a little background will probably help. I am going to be making a client server environment that will have a lot of messages going back and forth. None of these will be huge, i.e. can
-
- System.Convert ToString(Object) returning null?
by TanTS
- 3 Replies
- Last post
by Frank Boyne
- Hi all, I am have this XML exporter program that exports some objects to a XML file and during exporting, the following exception was thrown: Exception Source: System.Xml Exception Type: System.NullReferenceException Exception Message: Object reference not set to an instance of an object. Exception Target Site: WriteString --- Stack Trace --- at System.Xml.XmlUtf8RawTextWriter.WriteString(String
-
- Signing XML with existing RSA Keys and Certificate
by MishaSoft
- 2 Replies
- Last post
by MishaSoft
- Hi all,
I hope it's correct place to post my question. Let me know if it isn't
So,
I want to sign XML with XMLDSig. I've found a lot of samples that shows how
I can create new RSA keys pair and then to sign XML using this pair.
(e.g. http://msdn2.microsoft.com/en-us/library/ms229745.aspx )
I my case, I have RSA keys pair and X509 cert on SmartCard device that is
-
- Web Service Proxy Ignoring HTTP Proxy Configuration
by rjperes
- 3 Replies
- Last post
by John Lambert - MSFT
- Hi,
I have this web service proxy to a web service I defined in Visual Studio 2005. The proxy was generated by the add web reference functionality. Everything works as expected.
Whenever I try to configure access through an HTTP proxy, the web service proxy apparently silently ignores the request and accesses the web service directly. I have tried:
WebProxy proxy = new WebProx
-
- immortal singleton class
by vipasane
- 6 Replies
- Last post
by TheCPUWizard-2007
- This is Com+ component in framework 1.1 which is used throug application proxy in wondows clients.
I have BL object that stores complicated datastructure which takes about 5 minutes to be ready to use when you create it and this struncture is used frequently in windows clients.
So I was thinking that what if I made it singleton class so that It would be in use all the time.
Manage
-
- find index position of character in string
by PeteDemotedIn6Months
- 1 Replies
- Last post
by OmegaMan
- does anyone know how I find the index position of a character within a string ....
Thanks,
Pete
-
- Assembly.GetTypes() does not work
by C&#35;Geek
- 6 Replies
- Last post
by C&#35;Geek
- Hi,
I am using reflection to load a dll and I am getting the following exception when I try to get the Assembly types using .GetTypes(). Please advice!
System.Reflection.ReflectionTypeLoadException was unhandled Message="Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." Source="mscorlib"
-
- Convert a date to Japanese Standard Time Format
by Am X
- 1 Replies
- Last post
by nobugz
- Hi,
I have a datetime variable dt
Console.WriteLine(dt.ToUniversalTime());
How do i convert the date time value to JST standard so that the date shows exactly the +GMT 9 difference
-
- Can we run an application which was developed on Framework1.1 On Vista
by iluom2
- 2 Replies
- Last post
by Aaron Stebner
- Hi All:
I have a standalone application which was developed on .NET Framework1.1.
and is being used by another (main)application .Now the main application is ported to Vista.So i need to run the standalone application on Vista. My doubt is does it work on Vista or should i migrate the application to .NET Framework 3.0.
Is Vista is backword comapatible with Framework1.1.
Thanks
-
- SELECT returns nothing
by Angusl
- 5 Replies
- Last post
by William Vaughn
- What condition should I test for when the following does not return any data
Dim cmdSprings As New System.Data.OleDb.OleDbCommand
Dim cnSprings As New System.Data.OleDb.OleDbConnection
Dim daSprings As New System.Data.OleDb.OleDbDataAdapter(cmdSprings)
Dim dsSprings As New DataSet
With cnSprings
.ConnectionString = "Provider=Microsoft.jet
-
- Possible bug in System.Net.HttpListenerRequest
by
- 3 Replies
- Last post
by Uniqueid
- Hi Everyone,
First time poster here. Basically I think I've discovered a bug or limitation of the HttpListenerRequest that I can't find documented anywhere and am unsure how to proceed.
Basically, I've been trying to write a function to strip any uploaded files out of the InputStream of the HttpListenerRequest. The function works fine until the files are over 128kb (ish).
-
- XPathDocument and IDisposable
by Le Moustique
- 1 Replies
- Last post
by Sergey Dubinets - MSFT
- Hello, I Have a large XML file where i use Xpath for retrieve some data. Now that works just fine. But my memory is increasing each time i open a new XML file. Is it possible to dispose the XPathDocument It is NOT possible to somthing like this: XPathDocument XDoc = new XPathDocument([Location]); ........ Searching in document .... ((IDisposable)XDoc).Dispose(); Is there a way to decrease my
-
- how can i open a file or an executable...
by JohnDan
- 3 Replies
- Last post
by JohnDan
- how can i do open a file or call any proces program in c#
any external library to b included
-
- Which module do I install for system.data.sqlclient assembly?
by John CHLee
- 4 Replies
- Last post
by VMazur
- Hello.
I am developing the VB .net program for sql server. I can't find the system.data.sqlclient assembly in C:\windows\Assembly folder.
How can I install it
Best Regards.
-
- DataRow.RowState set to detached instead of deleted
by McGurty
- 2 Replies
- Last post
by McGurty
- hi,
I have a datagridview that is bound to a DataTable within a DataSet. I'm using a TableAdapter to Insert, update and delete any changes that i make. I seem to have a problem when deleting rows. This is my code:
DataTable dtProjects = new DataTable (0);
dtProjects = this .ds.Tables[ 0 ];
DataRow drProj = dtProjects.Rows ;
Console .WriteLine( "Original State: "
-
- searching for a stock symbol
by cheatcountry
- 14 Replies
- Last post
by cheatcountry
- if I wanted to search for a stock symbol would this be the right way to do it [][A-Z]|[A-Z]|[A-Z]|[A-Z]|[A-Z][]
-
- How to call a stored procedure with parameters??
by sergiom88
- 5 Replies
- Last post
by C Johnson
- Hi, I'm trying to call a stored procedure with parameters from my code, I also want to populate a dataset so I'm using the method
dstRes = db.ExecuteDataSet(spName, arrPrms)
but arrPrms is an array of SqlParameter and when the code gets to the line above throws a cast exception (Unable to cast from SqlParameter to Int16)
the problem is that spName can be any stored procedure from my data
-
- FrameWork
by Malleswara Rao
- 3 Replies
- Last post
by Derek Smyth
- What is Difference between .net framework 1.1 and .net framework 2.0 versions.
-
- new TCPChannel() throws SocketException after several calls
by Thibaud
- 2 Replies
- Last post
by criszao
- Hi, in my remoting server app, I have the following code: BinaryServerFormatterSinkProvider provider = new BinaryServerFormatterSinkProvider(); provider.TypeFilterLevel = TypeFilterLevel.Full; IDictionary props = new Hashtable(); try { props["port"] = remotingPort; TcpChannel channel = new TcpChannel(props, null, provider); ChannelServices.RegisterChannel(channel, false); channelN