Posted by jpluimers on 2012/08/16
The .NET 4.5 beta has a bug that manifests itself as an AV or an FatalExecutionEngineError in certain circumstances of String.Empty handling, which is fixed by the .NET 4.5 RTM that shipped earlier this month followed by Visual Studio 2010 RTM today.
Eric Lippert on this:
Thanks both to the original poster for reporting it here, and to Michael for his excellent analysis.
My counterparts on the CLR tried to reproduce the bug here and discovered that it reproduces on the “Release Candidate” version of the 64 bit CLR, but not on the final “Released To Manufacturing” version, which had a number of bug fixes post-RC. (The RTM version will be available to the public on August 15th, 2012.)
They therefore believe this to be the same issue as the one that was reported here:
http://connect.microsoft.com/VisualStudio/feedback/details/737108/accessviolationexception-bug-in-net-4-5-beta
Many apologies for the error.
–jeroen
via: c# – What’s the cause of this strange bug? – Stack Overflow.
Posted in .NET, .NET 4.5, C#, C# 4.0, C# 5.0, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2012/08/15
A few weeks ago, Bill Karwin did a must watch webinar on the prevention SQL Injection titled “SQL Injection Myths and Fallacies“.
Bill Karwin (twitter, new blog, old blog, Amazon) is famous for much work in the SQL database community, including InterBase/Firebird, mySQL, Oracle and many more.
He also:
Anyway, his webinar is awesome. Be sure to get the slides, watch the replay, and read the questions follow up.
Watching it you’ll get a better understanding of defending against SQL injection.
A few very valuable points he made: Read the rest of this entry »
Posted in .NET, .NET 3.5, .NET 4.5, .NET ORM, ASP.NET, Batch-Files, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C++, Cloud Development, COBOL, CommandLine, Database Development, Delphi, Delphi for PHP, Delphi x64, Delphi XE2, Development, EF Entity Framework, F#, Firebird, FireMonkey, History, InterBase, iSeries, Java, JavaScript/ECMAScript, Jet OLE DB, LINQ, LLBLGen, MEF, Microsoft Surface, Mobile Development, PHP, PowerShell, Prism, Scripting, SharePoint, SilverLight, Software Development, SQL, SQL Server, SQL Server 2000, SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 7, VB.NET, VBS, Visual Studio 11, Visual Studio 2002, Visual Studio 2003, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools, Web Development, Windows Azure, WinForms, WPF, XAML, xCode/Mac/iPad/iPhone/iOS/cocoa | 1 Comment »
Posted by jpluimers on 2012/06/20
Somehow many software vendors seem to make it a sport to make it hard to get download URLs.
So here is a bunch of direct download URLs for the (almost new <g>) Visual Studio 2012 RC (formerly and internally known as Visual Studio 11).
There are both ISO files (big, but convenient for offline installation).
Web installers (depending on the choose install options, the total download can be a lot less than the complete ISO, but your system needs to be online during the full installation process).
You can find similar Windows 8 Release Preview download links here (they were distilled from the official download page, which now gives a 404 because of the atdmt link redirect is broken).
I use the x64 and x86 shortcuts for the x64 and x86 ISO links.
The Windows 8 Release Preview Upgrade Assistant also comes in handy.
The above links give a sustained transfer rate here of at least 3 megabit/second.
–jeroen
Posted in .NET, .NET 4.5, C#, C# 5.0, Development, Power User, Software Development, Visual Studio 11, Visual Studio and tools, Windows, Windows 8 | Leave a Comment »
Posted by jpluimers on 2012/06/06
Basically there are many ways to read/write Excel workbooks and worksheets:
- Use the open source EPPlus .NET assembly (which is based on ExcelPackage)
- Use the open source ExcelLibrary which seems to be derived from PHP ExcelWriter
- Use OleDB to read/write Excel with either the JET (Office <= 2003) or ACE (Office +> 2007) drivers
- Use COM/OleAutomation/Interop/VSTO
The latter is used by many many people, and has two big drawbacks:
- it requires Excel to be installed
- it is painfully slow
The others can run server side as they do not require Excel to be installed. They are also much faster.
I’ve used OleDB, and it is sort of OK, but hard work.
EPPlus is much faster and versatile and seems to be the most active open source project.
–jeroen
Posted in .NET, .NET 4.5, ASP.NET, C#, Development, Excel, Office, Software Development | 2 Comments »
Posted by jpluimers on 2012/02/14
I love the “Async ja Await equal to C#” in the picture and the copy-paste re-use in this blog entry from msguy.
Jouni Heikniemi originally posted “What’s new in .NET Framework 4.5 [poster]” on 20111029, then updated the poster on 20111116.
His original poster is Finnish, and his English poster contains a small translation glitch “Async ja Await equal to C#” (“ja” is Finnish for “and”).
Both posters are PNG filess, so msguy Anil made it into a textual document, including the translation glitch.
I love that, as it shows we are all humans :)
–jeroen
via: Bruno Leonardo Michels – Google+.
Posted in .NET, .NET 4.5, C# 2.0, C# 5.0, Software Development | 4 Comments »
Posted by jpluimers on 2011/02/17
While it is still free…
The current version: http://reflector.red-gate.com/Reflector.zip
The “Check for Updates” entry in the “Help” menu checks this URL: http://reflector.red-gate.com/Reflector.version
Which currently returns:
6.6.0.30
6.1.0.0
http://reflector.red-gate.com/Download.aspx?File=Reflector&Client={Client}&Version={Version}
When Reflector detects there is a new version, you get a dialog like this:
—————————
.NET Reflector
—————————
A new version of .NET Reflector is available. Do you want to install automatically?
—————————
Yes No
—————————
When you press [Yes], it starts downloading from a URL that depends on the current version: http://reflector.red-gate.com/Download.aspx?File=Reflector&Client=Reflector&Version=6.5.0.135
{Client} was replaced by Reflector, and {Version} was replaced by 6.5.0.135 (the version of the currently running Reflector).
–jeroen
Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, .NET CF, Development, Software Development | 1 Comment »