Полезные ссылки (13-12-2009)

Web

  1. Styling HTML Lists with CSS: Techniques and Resources — If you’re new to CSS, this article should provide a good overview of the different types of lists available, as well as some of the browser quirks that occur in relation to HTML lists, with some helpful advice that should prevent those quirks from becoming major road blocks to good design...
  2. Use Less to reduce CSS clutter! — Reading a post by Phil Haack, I learned about a neat technology called LESS that helps reduce the amount of CSS and duplicated code you have to create. It was originally a Ruby Gem but now has a .Net port called .Less which can be found at...

Читать полностью »

13.12.2009

Полезные ссылки (10.12.2009)

.NET

  1. Coming soon: Jeffrey Richter’s CLR via C#, Third Edition
  2. Demystifying LINQ Aggregates — This post aims to dissect the power that exists in the Aggregate LINQ operator. I have realized that most programmers use it sparingly and have decided to put a couple of examples to clarify how you can use the Aggregate operator to perform a few tricks. The screenshot below relates to the small examples that follow...
  3. C# Code to send an email — I’ve been doing some testing of email enabled lists, and I needed to send quite a lot of emails, so I wrote a little console app to do it. Here’s the core of the code I used, in case I need it again, or it’s useful to someone. It uses System.Net.Mail...
  4. LINQ query operators and null lists — One of my pet peeves with the LINQ extension methods is their inability to handle null source lists. For example, this will throw an ArgumentNullException...
  5. Query transformations are syntactic — As you probably know, there are two ways to write a LINQ query in C#. The way I personally prefer is to use the “query comprehension” syntax...
  6. Free (reg-ware) PowerShell v1 eBook (593 pages) – “SAPIEN’s Windows Powershell V1.0: TFM” — With the recent release of Windows PowerShell v.2 and the immanent publication of our well regarded Windows PowerShell v.2 TFM book by Don Jones and Jeff Hicks, SAPIEN is releasing our Windows PowerShell v.1 TFM eBook as a FREE download to the public. Even though this eBook is for version 1 of PowerShell, the book still contains loads of valuable information about PowerShell’s core workings and cmdlets...
  7. More On The Death of If-Else — Following along with Aaron’s post using C#, we’d start with a list of Channel objects...
  8. A LINQ Tutorial: Adding/Updating/Deleting Data — A tutorial that walks through adding/updating/deleting data in your database with LINQ to SQL while keeping your class relationships (M:M, 1:M, and M:1) synchronized...

Читать полностью »

10.12.2009

Полезные ссылки (06.12.2009)

.NET

  1. Differences between using the ‘Convert’ class vs. casting (Part 2 of 2) — In the last post I was puzzled by what I thought were some inconsistencies between using the cast operator and Convert.ToInt32 when trying to convert an object typed as a decimal to an int...
  2. Better than Contains() — Sometimes you wish you could do better than the method you need to use. Case in point: Contains(). It is a fine method and is meant for more than strings. If you need custom logic to decide if two objects are equal or “the same” for the sake of sorting or searching you write your own comparer and pass that in. So, I don’t have anything against the Contains()...

Читать полностью »

06.12.2009

Полезные ссылки (03.12.2009)

.NET

  1. LINQ Part 1 – LINQ for XML — It looked like we should look a bit about LINQ fundamentals before we actually get into the core programming for our Silverlight twitter application. So we’ll look into LINQ for a few more posts, then we will proceed with our usual Silverlight stuff. Line INtegrated Query allows us to use Query language to select data from almost any type of data sources like XML, SQL, Objects, etc.... For more information about LINQ, visit this page, I don’t want to get deep into the details. You can get the sample XML files...

Читать полностью »

03.12.2009

Полезные ссылки (29.11.2009)

.NET

  1. Flexible Enumerations — Sometimes enumerations in .NET just don’t cut it. In the end they’re just a numeric value to which a piece of string metadata is attached to some of the values. Consider the following enumerations...
  2. Sample: Get Calendar Data Using Exchange Web Services (C#) — When someone asked my former manager David Treadwell what he did on a daily basis his answer was “Go to meetings and delete email”. Unfortunately that often describes my life as well. It is always challenging to manage your time. I want to ensure I’m spending enough on technology, people, customers...
  3. Windows 7 Ribbon for WinForms – Yes you can… — Windows Ribbon for WinForms is a .NET wrapper for Windows 7 Ribbon control. It will allow WinForms developers to use Microsoft Windows 7 Ribbon control in their WinForms applications. The project includes the library RibbonLib, which adds support for Windows Ribbon to WinForms application and sample applications that demonstrates the use of the library and the different Ribbon features available...

Читать полностью »

29.11.2009

Полезные ссылки (22.11.2009)

Web

  1. Fiddler – How to mimic a specific browser version request? — Fiddler tool doesn’t need any introduction, it is a great tool to debug a lot of client side issues with Internet Explorer, and other browsers as well . There are a few times when you have a different version of a browser, and you want to know what the server renders for different version of browser...
  2. How to troubleshoot slow Page Rendering in ASP.NET? — Before I answer this question, let us have a quick refresher. Answer this question diligently… Is Page_Render in ASP.NET really an EVENT? A BIG ZERO if you have said YES...
  3. Designing CSS Buttons: Techniques and Resources — Before we explain how to style buttons, let’s clear up a common misconception: buttons are not links. The main purpose of a link is to navigate between pages and views, whereas buttons allow you to perform an action (such as submit a form)...
  4. Create astonishing iCal-like calendars using jQuery — I wanted to create a calendar that would be similar to the iPhone Calendar application (or, if you want, to the little calendar on the left bottom corner in iCal). And I also wanted to keep the code as little and sweet as possible...
  5. Text Effects In jQuery — jQuery is not just about Menus and Animation Effects. With jQuery you can also create attractive text effects and play with the text to communicate well with the users. With this collection, you can create text gradients, text fly effects, text glow...

Читать полностью »

22.11.2009

Полезные ссылки (15.11.2009)

.NET

  1. Useful Query Editor Query - 1 — This is the first of possibly a series of useful queries that can be added to the Query Editor (available in PowerCommands for Reflector addin). I’m hoping that some of the queries that I have created and found useful end up being useful for you too...

Web

  1. 55 Decisive Useful jQuery Tutorials — I would like to present an well-aware language best tutorials, as you know jQuery is a lightweight JavaScript library that accentuate communication between JavaScript and HTML, there is advanced features and strong support are common influence for developers preferring jQuery then JavaScript...
  2. Microsoft Visual Round Trip Analyzer — If you are a web developer, and haven’t heard of VRTA yet, you should try downloading it from here. It is free and it depends on Microsoft Network Monitor. To have the real knowledge about this VRTA, read the following article - 12 Steps To Faster Web Pages With Visual Round Trip Analyzer...

Читать полностью »

15.11.2009

Полезные ссылки (12.11.2009)

.NET

  1. PowerPivot Jump Start! — As you may already know, the new name for Project Gemini is PowerPivot and the official names are PowerPivot for Excel and PowerPivot for SharePoint...
  2. Post #7 – Serializing Dictionary to/from XML — I spent a bit of time searching for the magic of how to use XmlSerialize with the Dictionary type this morning and thought I’d share the easy-to-use result...
  3. The Best Culture Invariant Format for DateTime — If you are looking to display how to display DateTime as text without causing confusion to users in different countries then good choices is either "o" or "r"...

Читать полностью »

12.11.2009

Полезные ссылки (08.11.2009)

.NET

  1. Casting lists using LINQ #2 — In my previous post I showed the LINQ way to cast List<SomeDeriveType> to List<SomeBaseObject>...
  2. C# 4.0 new features: Named and Optional arguments — Optional arguments: This feature allows you to omit arguments when calling methods. This is done by defining a method with assigning default values to parameters. For better understanding, let's take a look at the below example...
  3. Jumping the trampoline in C# – Stack-friendly recursion — Recursion is a widely known technique to decompose a problem in smaller “instances” of the same problem. For example, performing tree operations (e.g. in the context of data structures, user interfaces, hierarchical stores, XML, etc) can be expressed in terms of a navigation strategy over the tree where one performs the same operation to subtrees...

Читать полностью »

08.11.2009