The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘.NET’ Category

If you have an account on SourceForge.net, then you need to reset your password now

Posted by jpluimers on 2011/01/31

If you have an account on SourceForge.net, then now you need to reset your password by visiting https://sourceforge.net/account/registration/recover.php.

SourceForge.net was attacked recently (the whole story is on exploit-DB), so they are requesting everyone to reset their passwords.

I got a mail about it last weekend, and their blog now contains this message: Read the rest of this entry »

Posted in .NET, Delphi, Development, Power User, Software Development, Source Code Management, SourceForge | Leave a Comment »

Formatted sourcecode in WordPress: uses SyntaxHighlighter 3.0; complete list of supported languages

Posted by jpluimers on 2011/01/18

In the past I wrote a few blog posts on posting sourcecode in WordPress.

Nick Hodges‘ last Flotsam and Jetsam blog post pointed me to the SyntaxHighlighter JavaScript that is used by WordPress and many other engines/sites.

Their site contains an even more elaborate list of supported languages.

I had the basic list right in my last post, but was missing all the aliases (which often are easier than the longer proper names).

This is the new table adapted from their list: Read the rest of this entry »

Posted in .NET, Batch-Files, C#, CSS, Database Development, Delphi, Delphi for PHP, Development, HTML, HTML5, Java, PowerShell, RegEx, Scripting, SQL, VBS, Web Development, WordPress, XML, XML/XSD, XSD | 5 Comments »

Generate XSD from XML – XSD.EXE versus on-line tools

Posted by jpluimers on 2010/11/23

Quite a while ago, I wrote about the XSD.EXE tool to generate wrapper classes from an XSD file.

Recently, I had to create an XSD based on some XML.
Actually: a client was implementing a tool, that could export some of the data as XML.
That XML had to go into their database.
But the tool vendor told the client that the underlying XSD was ‘not supported’ (odd: why allow exporting XML and then not provide something supporting as the XSD?).

Anyway, the data was not that difficult, but having an XSD at hand made the import process a lot easier.
So lets see how to get a starting XSD from an of XML files (in practice, you would do this with a couple of XML files, then collect the best pieces into your final XSD). Read the rest of this entry »

Posted in .NET, Delphi, Development, Software Development, XML, XML/XSD, XSD | 11 Comments »

Free ebook: Programming Windows Phone 7, by Charles Petzold – Microsoft Press – Site Home – MSDN Blogs

Posted by jpluimers on 2010/11/10

If you want to do Windows Phone 7 development, then get this book: Programming Windows Phone 7 by Charles Petzod.
The eBook and source code are free:

This book is a gift from the Windows Phone 7 team at Microsoft to the programming community, and I am proud to have been a part of it. Within the pages that follow, I show you the basics of writing applications for Windows Phone 7 using the C# programming language with the Silverlight and XNA 2D frameworks.

Yes, Programming Windows Phone 7 is truly a free download, but for those readers who still love paper—as I certainly do—this book will also be available (for sale)

In addition to C# and VB.NET, you can also do this in Delphi Prism.

Cool times ahead, because now there are 4 major competitors (in no particular order):

  • iPhone
  • Android
  • Windows Phone 7
  • Symbian

I left out the competitors of the past, as they soon will be deprecated.

–jeroen

via Free ebook: Programming Windows Phone 7, by Charles Petzold – Microsoft Press – Site Home – MSDN Blogs.

Posted in .NET, C#, Delphi, Development, Prism, Software Development | 1 Comment »

Some ASX information in order to create a partical XSD schema of it

Posted by jpluimers on 2010/11/03

I tried searching for an XSD or other schema that describes ASX (Advanced Stream Redirector) files, but somehow could not find them.

The ASX files can be used to generate a playlist, but they are a bit richer in content than the WPL (Windows Media Player Playlist) file format.

So here is a post with some references to ASX files, examples, documentation and an XSD you could use for ASX files, and why ASX is not valid XML, it is just well-formed. Read the rest of this entry »

Posted in .NET, C#, Delphi, Development, Software Development, XML, XML/XSD, XSD | 2 Comments »

Twitter / Danny Thorpe: New programmers are drawn …

Posted by jpluimers on 2010/10/21

Brilliant and so true:

New programmers are drawn to multithreading like moths to flame, with similar results.

Edit: And this is just one example on how tiny little details can impact threading so much.

–jeroen

via Twitter / Danny Thorpe: New programmers are drawn ….

Posted in .NET, Agile, CommandLine, Debugging, Delphi, Development, Opinions, Software Development | 10 Comments »

.NET/C#: stupid code of the day – Cosmos.Debug.VSDebugEngine

Posted by jpluimers on 2010/10/13

I wasn’t the first one to notice this one, but is hilereous:

bool enabled = fEnable == 0 ? false : true;

Read the rest of this entry »

Posted in .NET, C#, Debugging, Development, Opinions, Software Development | Leave a Comment »

VS2010: “ASP.NET Web Service Application” (and other) projects gone

Posted by jpluimers on 2010/10/05

In Visual Studio 2010, the empty “ASP.NET Web Service Application” projects are gone.

This is probably because Microsoft rather has you use WCF, so a few of those “older” templates are now gone:

To simplify things a bit in 2010, we’ve removed a few of the older templates.  You can get the same thing by creating an empty website and adding a web service to it.

Funny though, as the “old” templates are still mentioned, of course in their ASP.NET 3.5 web service documentation, but also in their Visual Studio 2010 ASP.NET Web services documentation :-)

–jeroen

via: Visual Web Developer Express 2010 – WebService Template – ASP.NET Forums.

Posted in .NET, ASP.NET, Development, SOAP/WebServices, Software Development | Leave a Comment »

co-worker question: what is better, extension methods or helper classes?

Posted by jpluimers on 2010/09/29

Recently, a co-worker at a client asked me “What is better: extension methods of helper classses?”.

This question is relevant not only in the .NET and Delphi worlds.

My answer was simple, consisting of these 3 points: Read the rest of this entry »

Posted in .NET, C#, C# 4.0, Delphi, Development, Opinions, Software Development | 5 Comments »

Apple on App Store Review Guidelines: relaxing all restrictions on the development tools used to create iOS apps, as long as the resulting apps do not download any code

Posted by jpluimers on 2010/09/10

To quote the Apple statement:

we are relaxing all restrictions on the development tools used to create iOS apps, as long as the resulting apps do not download any code. This should give developers the flexibility they want, while preserving the security we need.

Which seems to mean you can use both Mono (using MonoTouch) and Flex to develop your Apple iPhone and iPad apps.

–jeroen

via Statement by Apple on App Store Review Guidelines.

Posted in .NET, Delphi, Development, Software Development | Leave a Comment »