|
|
|
|
| A look a Linq to objects and the "let" keyword | | I've had some time lately to use LINQ a bit more intensively and in particular to use the let keyword. I had to process a lot of XML files placed in multiple folders, and I wanted to filter them using a regex. First, here's how to get all files from a directory tree : var files = from dir in Directory.GetDirectories(rootPath, SearchOption.AllDirectories) from file in Directory.GetFiles("", "*.*") select new { Path = dir, File = Path.GetFileName(file) | | 4/26/2008 5:22:35 AM - http://jaylee.org/post.aspx?id=95c06204-cd48-436e-90b5-879c8070db07 |
|
| A Great XPath Query Tool | | XPath is a language for addressing parts of an XML document, for those who are not familiar with this language - here are the W3C specifications and here is the W3schools tutorial. Now that we know XPath, lets get to the point of that post which is - Visual XPath. This is a free graphical XPath query tool which have many great features, some of those features are: Load a XML file and see it in a form of tree. Generate XPath queries dynamically by selecting XML nodes from the loaded file. G | | 4/23/2008 10:48:30 PM - http://www.dev102.com/2008/04/24/a-great-xpath-query-tool/ |
|
| WordPress Girişlerimi Yükledim | | "Sonunda!" dedirtecek kadar çileli bir "export/import" sürecinden sonra, eski blogumdaki grişileri taşıyabildim. Bu maceranın sonunda XLinq ve dasBlog'a edebileceğim bir(den fazla) çift sözüm var ancak daha sonra diyorum. Arada data migration için yazdığım yarı-işlevsel aracın kaynak kodlarını da yayımlamayı düşünüyorum. İhtiva ettiği XLinq parçacıkları veya ortalıktaki tek WordPress-To-dasBlog aracı olması işinize yarayabilir. Bu işler yüzünden 23 Nisan'da ben hiç neşe dolamadım ne yazık k | | 4/23/2008 7:36:41 AM - http://www.berkesokhan.com/blog/2008/04/23/WordPressGiri%c5%9flerimiY%c3%bckledim.aspx |
|
|
|
|
|
|
|
| Visual Studio 2008 Presentation in Montréal | | This last Monday, there's been a presentation for the GUVSM of Visual Studio 2008 at Microsoft Montréal by Guy Barrette, a Microsoft Regional Directory. The room was a bit crowded but there was a pretty good ambience. This was my first time there and I met a former distant colleague of mine from Winwise, Laurent Duveau. On the menu, an overview of only the tooling that can be found in Visual Studio 2008. Not that C# 3.0 and .NET 3.5 are not interesting, far from it, but this will probably | | 4/13/2008 1:26:15 PM - http://www.jaylee.org/post.aspx?id=628e64d9-3d03-4b51-a983-4e5fe64c08c8 |
|
|
|
| [C#][ASP.NET][Silverlight]Silverlightで作る付箋紙アプリ ラスト | | Silverlightで作る付箋紙アプリ ラスト C#, ASP.NET, Silverlight 長々と続いたけどこれでラスト。付箋紙の編集機能を実装する。 まずは付箋紙の情報を変更するためのサーバーサイドの処理。 付箋紙の情報を変更するためのURLは「~/Item/Set.aspx」にする。付箋紙のidは必須!! では、ItemControllerクラスにSetというメソッドを実装する。 Controllers/ItemController.cs using System; using System.IO; using System.Web; using System.Web.Mvc; using System.Xml.Linq; using System.Linq; using System.Text; using System.Diagnostics; namespace Fusen.Web.Controllers { /// /// 付箋紙アイテムに対するアクセスを提供するコントローラクラス /// | | 4/12/2008 10:30:35 PM - http://d.hatena.ne.jp/coma2n/20080413/1208089835 |
|
| Visual Basic 2008 Programmer’s Reference | | Size: 15 MB | Format: PDF | Publish By: Wrox | Published in: 2008 Book description Visual Basic 2008 Programmer’s Reference is a language tutorial and a reference guide to the upcoming 2008 release of Visual Basic. The tutorial provides basic material suitable for beginners but also includes in-depth content for more advanced developers. The second part of the book is a reference that quickly allows programmers to locate information for specific language features. The entries in these | | 4/11/2008 4:11:44 AM - http://thepdflibrary.com/?p=9 |
|
| Visual Basic 2008 Programmer’s Reference | | eBOOK Details Publisher Wrox Release Date February 5, 2008 ISBN 0470182628 eBOOK Description Visual Basic Orcas Programmer’s Reference is a language tutorial and a reference guide to the upcoming Orcas release of Visual Basic. The tutorial provides basic material suitable for beginners but also includes in-depth content for more advanced developers. The second part of the book is a reference that quickly allows programmers to locate information for specific language features. The entrie | | 4/10/2008 8:14:04 AM - http://www.realebook.net/archives/53 |
|
|
|
|
|
| Twitter Updates for 2008-04-04 | | @lozanotek: Option Explicit = Yes. Option Strict = NO. # @hdiwan: Yeah, kinda - expected you to look older # @hdiwan: Basically, everyone is younger than I thought # @amitgupta: Nope. The fact that my first successful program came after some 3 attempts should tell you something. Those 3 converted to VB9:) # @lozanotek - Perhaps I should That would require annoying casts in VB9, which would be more annoying than C# because of the CTpye stuff:) # @lozanotek: VB9 strikes a nice balance - I hav | | 4/4/2008 9:59:59 AM - http://blog.yuvisense.net/2008/04/04/twitter-updates-for-2008-04-04/ |
|
| Visual Basic 2008 Programmers Reference | | Visual Basic Orcas Programmer's Reference is a language tutorial and a reference guide to the upcoming Orcas release of Visual Basic. The tutorial provides basic material suitable for beginners but also includes in-depth content for more advanced developers. The second part of the book is a reference that quickly allows programmers to locate information for specific language features. The entries in these appendices allow the reader to quickly review the details of important programming, objec | | 4/4/2008 2:21:04 AM - http://knowfree.net/2008/04/04/wrox-visual-basic-2008-programmers-reference.kf |
|
| Generating HTML excerpts | | Here is another interesting problem: how do you generate HTML excerpts preserving HTML structure and style? Say you have long XHTML text: This is a very long text. In browser it looks like this: This is a very long text. The text is 25 characters long. Now you need to generate a short excerpt - cut it down to 15 characters, while preserving HTML structure and style: This is a very ...< | | 3/27/2008 1:07:51 AM - http://www.tkachenko.com/blog/archives/000735.html |
|
|
|
|
|