rplant

Stories submitted by rplant

C# 4.0 Optional Parameters and Named Parameters(blog.johnplant.net)

submitted by rplantrplant(750) 2 years, 1 month ago

I have been resisting the new Optional Parameter feature of C# 4.0 due to the way I thought it would implement rather then diving into it and finding out. read more...

add a comment |category: |Views: 6

tags: another

Code Isn't Beautiful(codinghorror.com)

submitted by rplantrplant(750) 4 years, 3 months ago

I was thrilled to see the book Beautiful Code: Leading Programmers Explain How They Think show up in my Amazon recommendations. It seems like exactly the type of book I would enjoy. So of course I bought a copy. Unfortunately, Beautiful Code wasn't nearly as enjoyable of a read as I had hoped it would be. It is by no means a bad book, but there's something about it that's not quite right. read more...

add a comment |category: |Views: 1

tags: another

Object Initializers(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 3 months ago

A new feature of Visual Studio 2008 and it's C# 3.0 is Object Initalizers. This compiler feature can be used to set the values of properties without the need to create a special constructors. Even though you must have 2008 to use this feature, you don't have to target the 3.0 or 3.5 framework as it works just fine with the 2.0 framework. read more...

add a comment |category: |Views: 2

tags: another

dnrTV Aggregator Part 2 - LINQ to XML(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 3 months ago

In Part 1 of this series I went over the creation of a Windows Service and it's remote client. For this installment, I will be covering the use of "LINQ to XML" to gather the feed, and the saving and loading of the XML configuration files. I'll also show some code to download and unzip the videos using SharpZipLib from ic#code. read more...

add a comment |category: |Views: 10

tags: another

Outerglow / Outline Text with GDI+ in C#(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 3 months ago

My previous job required a bit of multimedia programming and involved the use of a lot of different graphics techniques. One day we ran across a bit of code to give drawn text either an outerglow or an outline around it. It turns outs to be much simpler to do than I previously thought and only goes to show that you can always learn a new tricks. read more...

add a comment |category: |Views: 317

tags: another

dnrTV Aggregator Part 1 - Windows Services(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 3 months ago

It is time for another personal project for me and this time I thought I would put together a dnrTV feed aggregator. Rather than watch each episode on my home computer, I prefer to watch them on the big screen TV in the living room. They are very viewable and I can sit in my lazy boy with the remote, a beer and maybe the laptop. ( mostly the remote and a beer ) read more...

add a comment |category: |Views: 3

tags: another

.NET Graphical Resources(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 4 months ago

So you just got done prototyping that new Winform or WPF application and the interface is a bit lacking. You are a programmer, not an artist after all. Well, never fear, free icons are here (wow that really rhymed). All kidding aside, most of us are not good at drawing images and icons, so we need some resources for these items. read more...

add a comment |category: |Views: 13

tags: another

LINQ to SQL Part 3(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 4 months ago

We have seen a couple examples of how to use LINQ to SQL in the previous posts LINQ to SQL Part 1, LINQ to SQL Part 2, and how easy it is to use. The next question now becomes, What if your company strictly uses stored procedures for all of its data accessing? Companies today can have stored procedures number from the hundreds to the thousands. With LINQ to SQL, you can still call your stored procedures and even mix and match the type styles. read more...

add a comment |category: |Views: 88

tags: another

LINQ to SQL Part 2(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 4 months ago

In LINQ to SQL Part 1 I used a very simple query, almost too simple. This time I want to take it a step up and add a few joins into the mix, and show how to handle them. Below is a standard TSQL query that will to pull the employee name and his/her territory and region from the Northwind database. read more...

add a comment |category: |Views: 7

tags: another

LINQ to SQL Part 1(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 4 months ago

I'm sure everyone so far has at least heard of LINQ. If you haven't, it is Microsoft's new technology for Language Integrated Querying. LINQ is part of the upcoming 3.5 .Net Framework which will be part of Visual Studio 2008 ( codename Orcas ). read more...

4 comments |category: |Views: 12

tags: another

Microsoft Launch Event 2008(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 4 months ago

It is launch time again for Microsoft, and this time it is for Windows Server 2008, Visual Studio 2008 and SQL Server 2008. The one here in Tampa is not until May 8, but as soon as I can register for it I will. You can get more information and register on their launch web site, Heroes happen {here}. read more...

add a comment |category: |Views: 0

tags: another

Free Ebooks from MsPress(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 4 months ago

Last week a co-worker let me know about these free E-books from Microsoft Press. It looks as if the LINQ book is in fact the full book while the other two on ASP.NET and SilverLight 1.0 are excerpts. More information can be found at the Microsoft Learning Portal. read more...

add a comment |category: |Views: 25

tags: another

Dual Monitors for Developers(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 4 months ago

Let's face it, a multiple monitor setup is the only way to go for a software developer, or any other computer professional these days. If you are still using only a single monitor, you are not working at your full potential. read more...

8 comments |category: |Views: 38

tags: another

Create an Access Database in C#(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 4 months ago

I wrote some code last year to create an Microsoft Access Database, fill in some data and email it out. It never made it out to production so I thought I would share part of it here. read more...

add a comment |category: |Views: 195

tags: another

Extension Methods in C# 3.0(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 4 months ago

Have you ever wanted to be able to extend a sealed class like string? read more...

add a comment |category: |Views: 1

tags: another

Organize Usings(blog.jrpsoftware.com)

submitted by rplantrplant(750) 4 years, 4 months ago

New Visual Studio menu option "Organize Usings" read more...

add a comment |category: |Views: 0

tags: another