• Posts Tagged ‘.net’

    Why you should reconsider using the wget alias in Powershell scripts if you’re running them on auto-provisioned VMs

    by  • November 2, 2014 • .net, powershell • 0 Comments

    The other day I was looking for a Powershell one-liner to get the content of a URL and came across this superuser post, which suggested to take a look into Invoke-WebRequest or wget (an alias of Invoke-WebRequest). My usage was to pull in the content of this text file during a build on a remote […]

    Read more →

    Tracing all SQL generated by Entity Framework

    by  • March 3, 2013 • .net, sql • 1 Comment

    A nice quick one this week. I spent a little bit of time trying to debug some Entity Framework queries, particularly the parameter values used in a SQL INSERT composed when calling AddObject/SaveChanges. There are a few ways to determine the underlying SQL. If you are only interested in LINQ queries, using ToTraceString() on ObjectQuery […]

    Read more →

    Tweaking MSDeploy arguments to keep existing files in folder during deployment to IIS

    by  • January 31, 2012 • .net, tfs, visual studio • 2 Comments

    I recently got into MSDeploy in order to automate the deployment of web application packages to IIS. A great resource that got me most of the way was Web Deployment Painkillers: Microsoft Visual Studio 2010 & MS Deploy, very useful in getting me started via TFS 2010/VS 2010. What this gave me was the following […]

    Read more →

    Creating a MessageBox in Java

    by  • January 5, 2010 • .net, c#, java • 0 Comments

    I wanted to see if there was a Java equivalent of .NET’s MessageBox class. Turns out there is but it’s a little more hidden away as a static method on JOptionPane, so I’ve pasted the code here for referring to it in the future: JOptionPane.showMessageDialog(null,”message”,”title”)); This creates and shows a message dialog with no parent […]

    Read more →

    Creating your own custom Grammar, and filtering recognition based on confidence

    by  • January 8, 2009 • .net, c#, grammar, speech recognition • 1 Comment

    This follows on from an earlier post, Speech Recognition and the System.Speech namespace, where I was trying to find out roughly what the the topic of a given set of unannotated lectures was. As expected, using the DictationGrammar didn’t help too much, in fact some of the results from the recogniser were pretty funny! So […]

    Read more →

    .NET Evolved

    by  • May 18, 2007 • .net, c# • 0 Comments

    This year has been a great year for developers with the general release of the .NET Framework 3.0 that provides a new set of APIs to produce visually stunning client applications with the Windows Presentation Foundation (WPF), create distributed applications with the Windows Communication Foundation (WCF) and design and manage long-running, interconnected processes with the […]

    Read more →