Quantcast
Channel: This, That & Technology
Browsing latest articles
Browse All 25 View Live

VS 2008 Database Edition GDR R2 Deployment Scenario

I have been using the GDR version for quite a few of my projects to date, and it has saved me so much time and work. It provides great source control of all database artifacts and makes it easy to do...

View Article



Image may be NSFW.
Clik here to view.

Copy full file path to clipboard from Windows Explorer

Update 1/4/2009: In the mean time, I discovered that on Windows 7 you can right click while holding down the shift key and this provides a menu option to copy file as path. Till now, if I wanted to...

View Article

Navigation in a MVVM Silverlight 3 application

I’m currently working on a Silverlight 3 project that uses MVVM. We have been able to isolate most of the code within the view model. We are able to bind our commands to our view models using...

View Article

Find all parents or children for a dependency object in Silverlight

Here are 2 helpful extension methods that can be used to find all parents or children for a dependency object within Silverlight.Parents 1:publicstatic IEnumerable<DependencyObject> Parents(this...

View Article

Extending RIA generated entity classes client side.

When using RIA services with your Silverlight (SL) application, RIA will generate (inject) matching entity class definitions within your SL application based on the types that gets used for method...

View Article


Enable IIS compression on RIA WCF Service

Turns out that RIA by default uses a binary channel on its WCF service. So we already get some if the performance improvement as provided by binary. However, upon doing R&D I came across another...

View Article

Image may be NSFW.
Clik here to view.

Windows Phone 7 Developer Launch

October 12th will be the Windows Phone 7 Developer Launch. Click the image below for more details.

View Article

MVC 3 partial model validation

I recently wanted to partially validate a model in a controller action. There are various reasons why one would want to do this, just as there are reasons why one would not want to do this.I have a...

View Article


Image may be NSFW.
Clik here to view.

SMTP service on Windows 7

I recently installed Windows 7 on my notebook and so far am very impressed. However, as a developer that at times works in an offline mode, one of the features I miss is a local SMTP service. A SMTP...

View Article


LINQ Enabled Paging

One has to love the power that LINQ brings to the table for developers. LINQ makes it very easy to page over an Enumerable using the “Skip” and “Take” commands. For example, consider the following code...

View Article

Five most common regrets

This post is a bit off the technology track, but a good read and some food for thought. My brother in law sent me this email. After reading it, it made me think about my past, where my future is...

View Article

Determine machine FQDN in .Net

Amazing how much functionality the BCL provides. The Environment class provides a lot of very useful information about the current environment the code is running on. However, nothing about the...

View Article

Validate port availability

Ever wanted to validate whether a TCP port was already being listened on by a process. There are various ways that this can be done:Use Telnet. Physically try to connect to the port and handle the...

View Article


Safely build your connection string using managed code

Building up a connection string really is a no-brainer. Probably the most common way of building a connection string dynamically is using the StringBuilder class and concatenating all the required...

View Article

Enumerate all visible SQL Server instances

An easy way to enumerate all visible SQL server instances on the network is to use SqlDataSourceEnumerator class. 1: //build server list 2: SqlDataSourceEnumerator instance =...

View Article


Enumerate all local websites within IIS 7

There are various ways available to enumerate websites configured within IIS. The most common is to use the WMI Management BCL classes. However, if you are able to target IIS7, one is able to enumerate...

View Article

Image may be NSFW.
Clik here to view.

Optimizing JavaScript for cacheability in MVC

When I started  with my current MVC mobile application, I had all my JavaScript embedded within the MVC views. The biggest reason was that there is embedded Razor within the script that got resolved...

View Article


Image may be NSFW.
Clik here to view.

Solving the shortcomings of HTML word-break and ellipsis for fixed size...

Recently I have had to deal with a requirement that required word-break and ellipsis behavior on a multi-lined fixed size element. HTML does provide styling that will do:Word-break for a multi-lined...

View Article

Rounding differences between browser versions

Working on a client mobile site that does dynamic page layout utilizing every pixel in an attempt to maximize real estate usage. I primarily use Chrome as my default browser and then test on IE, Opera...

View Article

Image may be NSFW.
Clik here to view.

Remap your keyboard

I just started a new job and was provided a Dell Latitude E6420 as my work machine. It’s a great machine and the performance is super fast. With quad core dual thread i7, 8 GB memory and a 256 GB SSD,...

View Article

Image may be NSFW.
Clik here to view.

The performance impact of querying IEnumerable

We are constantly reminded in technical articles, presentations and blogs about the performance impact IEnumerable<T> can have if you do not pay close attention to how the underlying type of the...

View Article


Image may be NSFW.
Clik here to view.

Continuous deployment from on-premise Team Build to Azure

The past couple of  days, I have been sifting through various options on how to do continuous deployment from on-premise Team Build to Azure. If I was using TFS Service (formerly TFS Preview), then...

View Article


Simple implementation to signal all threads to execute only once

Signaling within .Net is pretty easy these days using the classes within the System.Threading namespace. I depend a lot on the ManualResetEvent and AutoResetEvent classes depending on the scenario I...

View Article

Image may be NSFW.
Clik here to view.

Linq Query Materialization

It’s important to know when a Linq query gets materialized. The timing of materialization will affect the TSQL that gets generated from the query. This in turn will have an impact on the performance of...

View Article

Beginner Angular & TypeScript - $scope vs. “controller as”

I’ve recently started my “learning” Angular journey and specifically wanted to do it in conjunction with some other technologies like TypeScript, SignalR and known best practices when working with...

View Article

Browsing latest articles
Browse All 25 View Live




Latest Images