Posted on November 13th, 2008 by Patrick Stuart
I tried installing Wordpress 2.6.3 on my dev Windows 2008 server running IIS 7 and .Net 3.5sp1 and could not get it working.
I went back to 2.6.0 of wordpress which installed just fine and then did the upgrade to 2.6.3 which worked. No idea why it didn’t install, but something clearly changed between 2.6.0 [...]
Filed under: Coding, Software | No Comments »
Posted on November 7th, 2008 by Patrick Stuart
So today’s challenge was to display the Title, Meta description and meta tags on a site I am currently working on for troubleshooting and SEO reasons.
The solution I came up with was to place the following code in the code behind of the masterpage.
protected void Page_Load(object sender, EventArgs e)
[...]
Filed under: ASP.NET, C#, Coding | No Comments »
Posted on November 4th, 2008 by Patrick Stuart
Today’s challenge was fun.
I had added a bunch of textboxes and labels to a Grid with 2 StackPanel in my code behind.
StackPanel sp1 = new StackPanel();
StackPanel sp2 = new StackPanel();
Grid g = new Grid();
ColumnDefinition colDef1 = new ColumnDefinition {Width [...]
Filed under: C#, Coding, WPF | No Comments »
Posted on November 1st, 2008 by Patrick Stuart
This may sound stupid, but I wanted to store some text parsing I was doing for some VDP projects in LINQ to XML XDocuments.
So, I created the following:
XDocument recs = new XDocument();
XElement records1 = new XElement(”Records”);
XElement record1 = new XElement(”Record”);
record1.Add(new XElement(”id”, “1″),
new XElement(”Name”,”Test”),
new XElement(”Address”,”123 Anywhere”)
);
records1.Add(record1);
recs.Add(records1);
which should create an xml document looking like this:
<Records>
<Record>
[...]
Filed under: C#, CSV, Coding, LINQ, XML | No Comments »
Posted on November 1st, 2008 by Patrick Stuart
Ok,
My rant for the day is about trying to use Microsoft C# and LINQ and XML and WPF. I spend more time trying to figure out simple stuff, because nothing exists as solid examples of how to do what I need to do.
I spend so much of my time trying to find decent examples [...]
Filed under: News | 1 Comment »