Подпишись на наш Twitter

Быть в курсе появления новых статей!

.NET

  1. Reactive Framework Building an IObservable Event Generator — In my last post, I mentioned a number of cases where you may want to use the Reactive Framework. For some upcoming presentations, I wanted to focus on a couple of these scenarios, particularly on how you can use the Reactive Framework (rX) to work with events from device sensors. You can often find these kind of sensors in a number of industries, including Robotics, automated manufacturing systems, Medical monitors, Telecom usage, and Live financial feeds. In order to demonstrate using rX in this environment, I needed to build a module that simulated generating a bunch of sample random events. Below is the module that I created...
  2. Reactive Framework Why bother — Now that LINQ has been out for a while, I’m starting to work on a new set of talks that are related to some of the new extensions to LINQ. Although LINQ to databases (SQL, Entity Framework, etc) are interesting, I’ve always been partial to the more generalized abstraction that is found in LINQ to Objects and XML. One of the most compelling expansions on the core LINQ concepts at this point is the Reactive Framework (rX)...
  3. Lambda’s for .NET made easy… — he purpose of my blog is to explain things for a Silverlight developer. One of the best things about Lambda's is that you not only use them in Silverlight but any project targeting .net 3.5 I’ve seen several blog post that use lambda expressions always assuming the audience is familiar with them. The purpose of this post is to make them simple and easily understood. Let’s begin with a definition...
  4. C#: LINQ vs foreach - Round 1. — So I was reading Peter Kellner's blog entry on Resharper 5.0 and its LINQ refactoring and thought that was very cool. But that raised a point I had always been curious about in my head -- which is a better choice: manual foreach loops or LINQ...
  5. Working with Joins in LINQ — While working with data most of the time we have to work with relation between different lists of data. Many a times we want to fetch data from both the list at once. This requires us to make different kind of joins between the lists of data. LINQ support different kinds of join...
  6. Leveraging the Power of Typed DataSets, IEnumerable<>, and LINQ — ...In my previous post, I extolled my love of typed DataSets in .NET because they are not only quick to design and update, but also very easy to understand. Essentially, if you can read an entity-relationship model (a la ERwin or a Visio database diagram) -- which I suspect nearly all developers can -- then you can discern quite a bit of information from a typed DataSet
  7. Using C# 4.0’s DynamicObject as a Stored Procedure Wrapper — Ignoring the fashion, I still make a lot of use of DALs – typically when inheriting a codebase with an established database schema which is full of tried and trusted stored procedures. In the DAL a collection of base classes have all the scaffolding, so the usual pattern is to create a wrapper class for each stored procedure, giving typesafe access to parameter values and output. DAL calls then looks like instantiate wrapper-populate parameters-execute call...
  8. So You'd Like to Send Some Email (Through Code) — Despite my misgivings, email is the cockroach of communication mediums: you just can't kill it. Email is the one method of online contact that almost everyone -- at least for that subset of "everyone" which includes people who can bear to touch a computer at all -- is guaranteed to have, and use. Yes, you can make a fairly compelling case that email is for old stupid people, but let's table that discussion for now...
  9. Every Binary Tree There Is — The other day I wrote a little algorithm that did some operation on binary trees. I wanted to test it. I whipped up a few little test cases and it seemed fine, but I wasn’t quite satisfied. I was pretty confident, but maybe there was some odd binary tree topology that I hadn’t considered which would cause a bug...
  10. C# Extension Methods - To Extend or Not To Extend... — I've been thinking a lot about extension methods lately, and I must admit I both love them and hate them. They are a lot like sugar, they taste so nice and sweet, but they'll rot your teeth if you eat them too much...

Web

  1. 30 Pure CSS Alternatives to JavaScript — With all the cool things that surround Javascript (especially with jQuery) its easy to forget that it’s possible to push pure CSS (with a touch of HTML) into an all singing and all dancing interactive site, with absolutely no scripting at all...
  2. Accessible Showing and Hiding — Collapsible content areas are frequently presented in web sites and applications as a way to let users to control how content is shown or hidden on the page. Also called collapsibles, spin-downs, toggle panels, twisties, and content disclosures, they're ideal for selectively displaying optional information — like instructional text or additional details, for example — so users can focus on the task at hand and view this content only as needed...
  3. Animated Landscape Using CSS and jQuery — After the launch of jQuery many web designer who face problem with javascript now moved to jQuery because of vast range of various effect support from jQuery including its compatibility with different website hosting. Jquery is one of the leading JavaScript framework available now...
  4. jQuery Feature Carousel Plugin — Feature Carousel is jQuery Plugin that is primarily meant to display featured stories with carousel effect on your home page. It provides a unique alternative to commonly used content sliders; displaying three images at a time, with remaining images hidden behind the selected...
  5. 15 CSS Habits to Develop for Frustration-Free Coding — It’s been said that the key to a civilization’s success is mastery of the food system. Unless a group of people can effectively control the basic needs for survival, they will never achieve greatness. Likewise, before CSS skills can be expanded to an advanced level, the basics must become instinct to any CSS coder...
  6. Quick Tip: HTML5 Features you Should be Using Right Now — With all this talk about HTML5 not being complete until 2022, many people disregard it entirely – which is a big mistake. In fact, there are a handful of HTML5 features that we can use in all our projects right now! Simpler, cleaner code is always a good thing. In today’s video quick tip...
  7. Create auto-complete using jquery and css — Today I have tried to make auto-complete using jquery and css inspired by facebook. Auto-complete functionality can be used in filling e-mail ids or maybe story tags...

Visual Studio

  1. Box Selection and Multi-Line Editing with VS 2010 — Box selection is a feature that has been in Visual Studio for awhile (although not many people knew about it). It allows you to select a rectangular region of text within the code editor by holding down the Alt key while selecting the text region with the mouse. With VS 2008 you could then copy or delete the selected text...
  2. ReSharper 5.0’s LINQ Refactoring Continues to be Amazing! — In this post, we’ll take a straight forward procedure based set of code and convert it to LINQ using a ReSharper from JetBrains suggestion. I’ve found that in general, when I do things with foreach syntax, there is often a better way in Linq to do this. The better does not jump out at me sometimes, however with ReSharper, it is often a button click away...
  3. Visual Studio 2010 Zooming – Keyboard Commands, Global Zoom — One of my favorite features in Visual Studio 2010 is zoom. It first caught my attention as a useful tool for screencasts and presentations, but after getting used to it I’m finding that it’s really useful when I’m developing – letting me zoom out to see the big picture, then zoom in to concentrate on a few lines of code...
  4. Visual Studio 2010 and .NET 4 Released
  5. Jinx: Visual Studio plug-in for debugging multi-threaded code — Consider an application that has two threads (“Thread A” and “Thread B”) that share a common stack. Each thread reads (pops) one value off the stack and then writes (pushes) one value back onto the stack; and between pushes and pops these threads do other work. During testing the application almost always works correctly; however occasionally the application crashes. The test team records data inputs, machine configurations...
  6. Enable or Disable All Breakpoints

Development/Miscellaneous

  1. 8 things I wish everyone knew about email — Change your settings so that email from you has a name, your name, not a blank or some unusual characters, in the from field. (ask a geek or IT person for help if you don't know how)...
  2. Hidden Windows 7 Wallpaper
  3. Outlook 2010 Does Not Work with Windows Server 2003 POP3 Service — I've mentioned in the past how I run a Windows Server 2003 mail server in order to use the POP3 service for basic e-mail functionality, and that I didn't have any interest in finding an alternative when I discovered POP3 is no longer available in Windows Server 2008. Well, I guess I need to start investing the effort in finding a new email service to run for demo purposes after all...
  4. Using Windows Explorer & SkyDrive without ANY 3rd party software (not even Office 2010!) — Today a thread has been going around about how to map a drive letter to a SkyDrive folder without any 3rd party software, EXCEPT Microsoft Office 2010...
  5. Syncing iPhone with iTunes via WiFi — I’ve received a number of emails this morning complimenting me on a YouTube video showing a new app that syncs with iTunes via the WiFi connection. The only problem is, I’m not the same Greg Hughes that wrote the app...
  6. Fixing the Desktop Icon Drop Shadow Problem on Windows Server 2008 — I develop on a daily basis on a Windows Server 2008 R2 machine. I do that because that's my target deployment environment and it's really helpful to be able to actually run the full product and debug right there on my "workstation." As such, I have the full "desktop experience" enabled - Aero, themes, the whole bit...
  7. No Crystal Ball Required — One of the most challenge skills to master is long-term planning. This skill is needed for many different tasks at work, especially around project planning, budget planning, and (at a personal level) your career planning. Long-term planning is needed in order to get the most out of these exercises. In order to plan successfully, there are some pitfalls to avoid...
  8. eBooks on iPad vs. Kindle: More Debate than Smackdown — When the iPad was presented at its San Francisco launch event on January 28th, Steve Jobs spent a significant amount of time explaining how well the device would serve as an eBook reader. He showed the iBooks reader application and iBookstore and laid down the gauntlet before Amazon and its beloved Kindle device. Almost immediately afterwards, criticism came rushing forth that the iPad could never beat the Kindle for book reading...
  9. My Favorite iPad Apps….So Far — So I did it. I went out and bought an iPad a week ago after playing around with one at a local Apple store. The guy at the Apple store didn’t help my decision with his “stuffy” attitude but I’m going to give him the benefit of the doubt since there were a ton of people trying to get his attention that day...



Дата публикации: 27.04.2010 19:24

Ярлыки: .NET, Development, Visual Studio, Web