I have looked that the performance of RSA encryption in .Net is kinda slow. Other native (Win32) apps perform encryption a lot faster. I looked at mscorlib.dll (using Red Gates .Net Reflector) at the System.Security.Cryptography namespace and found that
all the calculations (and even key generations) are done with managed code.
I thought it would be faster with unmanaged code, but I can't find libraries that do so.
My question: My app kinda needs performance with RSA encryption, should I:
View Complete Post
Download Visual Round-trip Analyzer (VRTA) to uncover the root of your Web page loading problems and identify these 12 common ailments.
Jim Pierson
MSDN Magazine November 2008 everyone,
I want to ask which language is faster when deploying the website to the internet. I mwan which is faster for the user to browse to website? C# or VB.NET?
By the way, which one ASP.NET did use?
Regards.
According to the Adam Machanic's link claims go both ways.
I could not confirm any difference. Performance measurement script follows:
USE AdventureWorks2008;
DECLARE @StartTime datetime, @i int = 0
DECLARE @Duration TABLE (Duration int)
WHILE (@i < 100)
BEGIN
DBCC DROPCLEANBUFFERS
SET @StartTime = GETDATE()
SELECT SalesOrderID, OrderDate,
Comment=COALESCE(Comment,'N/A') -- Cost: 0.620299
FROM Sales.SalesOrderHeader
INSERT @Duration
What is faster, querying 1000 records from SQL Server 2005 or Querying 1000 records an XML Document?
Is it faster to use this query with json or is it faster to query in C#/VB.net?
Thanks!
I.
Hi,
Below is my query:
SELECT [FieldValue2] = case isdate(FieldValue2) When '1' then case isdate(FieldValue4) When '0' then dbo.GetCountagingDay(FieldValue2, getdate(), '') -1 else '0' end else '0' endFROM test
I have a stored procedure taking over 2.5 hours (still running) getting a huge table from one sql server to another across a robust network. I don't know why it is taking so long or if there is a better way, like SSIS. I did try SSIS and it would just stop
after bringing over about 2/3 of the records. I have tried this in several scenarios. The huge tables quit with over half the records transferred. Hence I tried this, but it hasn't finished yet. I need a good, reliable way to transfer huge tables. My T-SQL
code is below. If SSIS is the way to go, please try to give me some tips on configuring it. Thank you.
CREATE PROCEDURE [dbo].[Populate_SoftwareInventory_Table] AS
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[staging].[SoftwareInventory]') AND type in (N'U'))
Inside one of my CLR stored procedures I need to call a console application and wait for the program to finish running. I was surprised to learn that if I run the program with xp_cmdshell it seems to complete in 20 seconds. If I call the same program with
the same arguments using System.Diagnostics.Process.Start followed by WaitForExit it takes 80 (!) seconds to complete. It doesn't seem to matter if Process.StartInfo.UseShellExecute is true or false.
This particular server is still running SQL Server 2005 Standard. The console app that I am calling runs under the .Net framework 3.5 (I think) and does a little bit of file I/O and a lot of LINQ to SQL work. Yes the LINQ to SQL does access the same database,
no I'm not likely to get that piece of design ugliness changed in the next couple of days.
No reason I can't just keep using xp_cmdshell, but anyone have any ideas why it would be so much faster?
hi
i'm asking this since there is so many tutorials that recommend "one big background-image" but hey ! isn't that right when we use a background-image there will be one more request for that (url to picture) and if we add repeat attribute it's going to repeat it(loaded from memory stream for every repeat) ? or will the browser send a request for every repeat ?
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend