Click here to Skip to main content

Articles by Gil Fink (Articles: 14, Technical Blogs: 83, Tip/Tricks: 2)

Articles: 14, Technical Blogs: 83, Tip/Tricks: 2

RSS Feed

Average article rating: 4.65

ASP.NET

Building a Simple Logging HTTP Module with Logging Application Block
Posted: 20 Jul 2010   Updated: 21 Jul 2010   Views: 10,274   Rating: 4.20/5    Votes: 3   Popularity: 2.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
The article deals with an HTTP module for logging using the Logging Application Block and Enterprise Library 5 fluent configuration API.
How To Use Unity Container In ASP.NET MVC Framework
Posted: 4 Aug 2010   Updated: 4 Aug 2010   Views: 30,276   Rating: 4.45/5    Votes: 8   Popularity: 3.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
The article explains how to use Unity IoC container in ASP.NET MVC Framework.

ASP.NET Controls

Building a Custom Site Map Provider
Posted: 24 Jul 2010   Updated: 31 Jul 2010   Views: 27,431   Rating: 4.58/5    Votes: 9   Popularity: 4.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
The article explains how to build a simple custom site map provider.

Caching

How to Create a Simple Enterprise Library Cache Manager Provider for Velocity
Posted: 20 Jul 2010   Updated: 31 Jul 2010   Views: 20,596   Rating: 4.40/5    Votes: 3   Popularity: 2.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
The article shows how to create a simple Velocity cache manager provider using the Application Block Software Factory.

Client side scripting

Working with Inline Web Workers
Posted: 30 Jan 2012   Updated: 27 Apr 2012   Views: 9,920   Rating: 4.86/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
This post is going to explain what are inline Web Workers and how to create them.

HTML / CSS

Building a Signature Control Using Canvas
Posted: 1 Aug 2012   Updated: 2 Aug 2012   Views: 8,897   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 613
The article explains how to write a signature control using the canvas element and mouse events.
Getting Started with IndexedDB
Posted: 5 Feb 2012   Updated: 2 Aug 2012   Views: 48,532   Rating: 4.98/5    Votes: 20   Popularity: 6.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 34   Downloaded: 849
The article describes the HTML5 IndexedDB API and how to use it.

Validation

Building an ASP.NET Validator Using Data Annotations
Posted: 20 Jul 2010   Updated: 27 Jul 2010   Views: 21,374   Rating: 4.57/5    Votes: 5   Popularity: 3.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 0
The article describes an implementation of an ASP.NET validator that uses the new System.ComponentModel.DataAnnotations assembly that came in .NET 3.5 SP1.

Windows Phone 7/8

Using reverse geocoding to find an address
Posted: 20 Jul 2011   Updated: 20 Jul 2011   Views: 13,132   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
The post shows how to use the Geocode API in order to make an address lookup for a given location.

Database

Table Per Hierarchy Inheritance in Entity Framework
Posted: 23 Jul 2010   Updated: 23 Jul 2010   Views: 31,596   Rating: 4.67/5    Votes: 8   Popularity: 4.18
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
The article explains what Table Per Hierarchy Inheritance is and how to apply it in Entity Framework.
Defining Custom Functions in Entity Framework
Posted: 26 Jul 2010   Updated: 26 Jul 2010   Views: 18,833   Rating: 4.29/5    Votes: 5   Popularity: 3.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
The article explains how to define custom functions in Entity Framework
DefiningQuery Element in Entity Framework
Posted: 26 Jul 2010   Updated: 26 Jul 2010   Views: 14,740   Rating: 4.80/5    Votes: 5   Popularity: 3.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
DefiningQueries are a very useful elements that you can use in Entity Framework in order to create views from the model against your database. The article will explain the DefiningQuery element.

Libraries

How to Write a WinJS Custom Control
Posted: 2 Oct 2012   Updated: 3 Oct 2012   Views: 3,377   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 68
The article will teach you how to write a simple WinJS custom control.
Enterprise Library 5 Fluent Configuration API
Posted: 20 Jul 2010   Updated: 21 Jul 2010   Views: 11,230   Rating: 4.33/5    Votes: 5   Popularity: 3.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
How to use the Fluent configuration API with the Data Access Application Block.

Average blogs rating: 4.86

Button Controls

Quick Tip – Disable/Enable Button by Textbox using jQuery [Technical Blog]
Posted: 16 Sep 2010   Updated: 16 Sep 2010   Views: 24,391   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Quick Tip – Disable/Enable Button by Textbox using jQuery I find myself often with a need to disable/enable a button according to client events that occur on web pages. Today I helped to implement this behavior again so I thought it will be nice to share the code I used. In this example I’m disabli

Dialogs and Windows

jQuery Alert Dialogs Plug-in [Technical Blog]
Posted: 2 Oct 2010   Updated: 2 Oct 2010   Views: 28,835   Rating: 4.50/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
jQuery Alert Dialogs Plug-in

Grid & Data Controls

Exposing a Stored Procedure in WCF Data Service [Technical Blog]
Posted: 25 Oct 2010   Updated: 25 Oct 2010   Views: 16,636   Rating: 4.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Exposing a Stored Procedure in WCF Data Service Today I answered a question in the data platform development forums. The question was simple – how to expose a stored procedure which is mapped to an Entity Framework model through a WCF Data Service. This post will show you exactly how to do this. T
Using EF DbContext with WCF Data Services [Technical Blog]
Posted: 11 Dec 2010   Updated: 11 Dec 2010   Views: 12,150   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Using EF DbContext with WCF Data Services
Adding Metadata to Entities in The Data Model [Technical Blog]
Posted: 20 Jan 2011   Updated: 20 Jan 2011   Views: 9,153   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Adding Metadata to Entities in The Data Model

Smart Client

Using Overlay Icon API to Make Client Notifications in IE9 [Technical Blog]
Posted: 10 Oct 2010   Updated: 10 Oct 2010   Views: 5,907   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Using Overlay Icon API to Make Client Notifications in IE9 Ever wanted to notify your site clients/users while they are surfing in your site. In one of the applications that I helped to build this was a customer requirement. So in the past you could have implemented a blinking behavior that will ma

Tree Controls

Spreading Inheritance Tree Mapping Across Assemblies in Code First [Technical Blog]
Posted: 17 Apr 2011   Updated: 17 Apr 2011   Views: 5,298   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Spreading Inheritance Tree Mapping Across Assemblies in Code First Today I helped a client to solve a problem regarding EF4.1 Code First. The issue that they banged their heads with was an inheritance tree mapping in their model which is spread across two different assemblies. When they run the app

Applications & Tools

Web Platform Installer – Web Installation on Steroids [Technical Blog]
Posted: 7 Aug 2010   Updated: 12 Aug 2010   Views: 9,678   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
The post describes what the Web Platform Installer is and shows a scenario of installation.

ASP.NET

ASP.NET MVC Model Binders [Technical Blog]
Posted: 20 Jul 2011   Updated: 20 Jul 2011   Views: 7,887   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
What Model Binders are in ASP.NET MVC and how you can use them in your MVC applications.
ASP.NET Output Cache Provider [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 6,902   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
One of the new features that were shipped with ASP.NET 4 was new providers for caching purpose. In this post I’ll explain one of them – the OutputCacheProvider.
Changing the OutputCache Provider during Runtime [Technical Blog]
Posted: 7 Aug 2010   Updated: 8 Aug 2010   Views: 6,754   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
How to Change the OutputCache Provider during Runtime
Back to Basics – Get Client Computer Name in ASP.NET [Technical Blog]
Posted: 1 Sep 2010   Updated: 1 Sep 2010   Views: 26,983   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
How to get the client's computer name using ASP.NET
Back to Basic – ASP.NET Runtime Impersonation [Technical Blog]
Posted: 7 Sep 2010   Updated: 7 Sep 2010   Views: 23,188   Rating: 4.75/5    Votes: 7   Popularity: 3.98
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
In this post I’ll explain how you can make ASP.NET impersonation and in more details how to make runtime impersonation.
How to Enable Client Side Validation in ASP.NET MVC 2 [Technical Blog]
Posted: 14 Sep 2010   Updated: 14 Sep 2010   Views: 10,023   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
A post that explains how to enable client side validation in ASP.NET MVC 2.
Creating a Code First Database Initializer Strategy [Technical Blog]
Posted: 30 May 2011   Updated: 30 May 2011   Views: 22,443   Rating: 4.86/5    Votes: 6   Popularity: 3.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
In this post, I’ll show an example of how to create your own database initializer.

Client side scripting

Web Workers in HTML5 [Technical Blog]
Posted: 8 Apr 2011   Updated: 8 Apr 2011   Views: 7,143   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
In this post, I’m going to explain the Web Workers API and show you how you can use it today with most of the major browsers (not including IE9).
Working with Client-Side Storage Using datajs Store API [Technical Blog]
Posted: 1 May 2011   Updated: 1 May 2011   Views: 4,637   Rating: 3.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
The store API can be used to have a storage layer in your client-side and therefore reduce calls to the server.
Geolocation API and Client-Side Maps Frameworks [Technical Blog]
Posted: 2 May 2011   Updated: 2 May 2011   Views: 8,422   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Geolocation API and Client-Side Maps Frameworks During the wrap up of the HTML5 course that I’m currently co-authoring, I’ve created two examples of using Geolocation API with Google Maps and with Bing Maps (I didn’t want to deprive any of them ). This post won’t introduce the frameworks or the API
Picking a Web Client Side Persistence Mechanism [Technical Blog]
Posted: 15 Aug 2011   Updated: 15 Aug 2011   Views: 8,797   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Picking a Web Client Side Persistence Mechanism Yesterday’s evening I got a phone call from a client that wanted to discuss an interesting dilemma – How to pick a web client side persistence mechanism for an offline web application? This is a very important question with all the hype around HTML5 a
Profiling JavaScript 101 Using IE9 Developer Tools [Technical Blog]
Posted: 15 Aug 2011   Updated: 15 Aug 2011   Views: 11,344   Rating: 4.58/5    Votes: 5   Popularity: 3.18
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Profiling JavaScript 101: Using IE9 Developer Tools.
Video Manipulation with the Canvas Element [Technical Blog]
Posted: 17 Aug 2011   Updated: 17 Aug 2011   Views: 9,975   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
This post will explain how to combine the video and canvas elements in order to create transparency inside a video during runtime using JavaScript.
Back to Basics – JavaScript onerror Event [Technical Blog]
Posted: 30 Nov 2011   Updated: 30 Nov 2011   Views: 6,216   Rating: 4.83/5    Votes: 3   Popularity: 2.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
The window.onerror is an event handler for error events that are sent to the window.
Updating an Existing IndexedDB objectStore [Technical Blog]
Posted: 24 Feb 2012   Updated: 24 Feb 2012   Views: 3,445   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
How to update an existing IndexedDB objectStore.

HTML / CSS

MIX11 Third Day Sessions Summary [Technical Blog]
Posted: 14 Apr 2011   Updated: 14 Apr 2011   Views: 3,229   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Here is a summary of the sessions I attended in the third day of MIX11: The Future of HTML5 In the session Giorgio Sardo talked about What is HTML5? – HTML’s new specifications which are getting specified by W3C, IETF and ECMA in working groups for each speci
HTML5 Web Notifications [Technical Blog]
Posted: 29 Jul 2011   Updated: 29 Jul 2011   Views: 13,621   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Implement notifications like "Mail message arrived", "Printer out of paper" in web applications using the Web Notifications API

Web Services

Using Javascript to Measure Web Page Performance with IE9 [Technical Blog]
Posted: 6 Oct 2010   Updated: 6 Oct 2010   Views: 5,402   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
In this post I’ll explain what is msPerformance and how you can use it to measure web page performance.
Feature Detection for Better Compatibility in Web Development [Technical Blog]
Posted: 5 Nov 2010   Updated: 5 Nov 2010   Views: 5,510   Rating: 4.67/5    Votes: 2   Popularity: 1.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Feature Detection for Better Compatibility in Web Development One of the things I talked about in the session I had about what’s new in IE9 for web developers was how to make your web site/application more compatible. In this post I’ll try to give the highlights from the session. Same Markup When
Using Web Storage in Web Applications [Technical Blog]
Posted: 11 Jan 2011   Updated: 24 Feb 2012   Views: 13,244   Rating: 4.71/5    Votes: 4   Popularity: 2.84
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 0
Using Web Storage in Web Applications

Mobile Development

Using the Viewport Meta Tag [Technical Blog]
Posted: 24 Jul 2011   Updated: 24 Jul 2011   Views: 9,699   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
The viewport meta tag enables web developers to indicate that the web page they built is optimized for mobile devices.

Windows Phone 7/8

MIX11 Second Day Sessions Summary [Technical Blog]
Posted: 14 Apr 2011   Updated: 14 Apr 2011   Views: 5,924   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Here is a summary of the sessions I attended in the second day of MIX11: An Overview of the MS Web Stack of Love In the session Scott Hanselman showed a lot of demos in the Microsoft web platform. The things that Scott showed: ASP.NET MVC 3 + new tools

Database

Mixing Table Per Hierarchy and Entity Splitting [Technical Blog]
Posted: 7 Aug 2010   Updated: 8 Aug 2010   Views: 10,608   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
The post shows how to combine Table Per Hierarchy and Entity Splitting methods
EFProf – Profiler Tool for Entity Framework [Technical Blog]
Posted: 11 Aug 2010   Updated: 11 Aug 2010   Views: 14,095   Rating: 4.67/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
One of the important tools in your tool arsenal when you develop with an ORM tool is a profiler. This is a review of EFProf.
Select N+1 Problem – How to Decrease Your ORM Performance [Technical Blog]
Posted: 18 Aug 2010   Updated: 18 Aug 2010   Views: 12,618   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
This post will introduce the select N+1 pitfall and explain how to avoid it in Entity Framework.

SQL Reporting Services

EF Feature CTP5: Raw SQL Query/Command Support [Technical Blog]
Posted: 8 Dec 2010   Updated: 8 Dec 2010   Views: 7,378   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
EF Feature CTP5: Raw SQL Query/Command Support One of the new features that EF feature CTP5 supplies is the support for raw SQL Query/Command through the DbContext. In this post I’m going to show you examples for how you can use this feature. Pay attention that the details I provide might change in

Audio and Video

Adding Video Element on the Fly and Drawing it to a Canvas Element [Technical Blog]
Posted: 30 Nov 2011   Updated: 30 Nov 2011   Views: 6,048   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Adding Video Element on the Fly and Drawing it to a Canvas Element

General Graphics

Visual Studio 2010 Image Optimizer Extension [Technical Blog]
Posted: 16 May 2011   Updated: 16 May 2011   Views: 6,664   Rating: 4.20/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
The Image Optimizer extension is a promising extension if you are looking to optimize your application.

Other .NET Languages

Installing a Production Server for ASP.NET MVC 2 [Technical Blog]
Posted: 18 Dec 2010   Updated: 18 Dec 2010   Views: 6,019   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Installing a Production Server for ASP.NET MVC 2

XML

Revisiting XML Configurations In Unity [Technical Blog]
Posted: 6 Jan 2011   Updated: 6 Jan 2011   Views: 10,905   Rating: 4.50/5    Votes: 2   Popularity: 1.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Revisiting XML Configurations In Unity In the past I wrote a few tutorials about Unity application block. One of the things I wrote about was how to configure a Unity container using design time configuration. In this post I’m going to revisit that post and show you how the configurations changed (

.NET Framework

Eager Loading with Repository Pattern and Entity Framework [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 9,998   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
One question that I received yesterday after I published the Revisiting the Repository  and Unit of Work Patterns with Entity Framework post was how to include the eager loading ability of Entity Framework. This post is offering a solution.R
Using Conditional Mapping in Entity Framework [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 13,042   Rating: 4.50/5    Votes: 2   Popularity: 1.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Using Conditional Mapping in Entity Framework when we want to retrieve only a portion of data from a table in the database permanently by some filter.
Adding a Javascript Block Into a Form Hosted by WebBrowser Control [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 7,263   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
How to add a JavaScript block into a WebBrowser control
Installing a Production Server for ASP.NET MVC 2 – Part 2 [Technical Blog]
Posted: 28 Feb 2011   Updated: 28 Feb 2011   Views: 5,013   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Installing a Production Server for ASP.NET MVC 2 – Part 2 A few days ago I helped a client to solve a problem they had when they deployed an ASP.NET MVC 2 application. In a previous post I wrote about how you can install a production server in order to run ASP.NET MVC 2 application. The client team
Repository and Unit of Work T4 Template for Entity Framework [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 11,531   Rating: 4.00/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Repository and Unit of Work T4 Template for Entity Framework

Windows API

Update Configurations Without Replace With Enterprise Library 5 Fluent Configuration API [Technical Blog]
Posted: 28 Oct 2010   Updated: 28 Oct 2010   Views: 6,086   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Update Configurations Without Replace With Enterprise Library 5 Fluent Configuration API I got a question today in an article I published about the fluent configuration API in Enterprise Library 5. The question was how to add a database connection string to an existing configuration during runtime.
EF Feature CTP5 – Code First Fluent API [Technical Blog]
Posted: 8 Dec 2010   Updated: 8 Dec 2010   Views: 10,755   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
EF Feature CTP5 – Code First Fluent API One of Code First main features is the Fluent API. This API can help you to configure the model in order to shape it (and the database) better. In this post I’m going to show a simple example for how to use the Fluent API. Pay attention that the details I pro
EF Feature CTP5: Inheritance Scenarios with Code First Fluent API [Technical Blog]
Posted: 12 Dec 2010   Updated: 12 Dec 2010   Views: 7,320   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
EF Feature CTP5: Inheritance Scenarios with Code First Fluent API
HTML5 – Selectors API Level 1 [Technical Blog]
Posted: 22 Jul 2011   Updated: 22 Jul 2011   Views: 3,185   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
HTML5 – Selectors API Level 1Lately, I’m dealing a lot with HTML5. I co-authored a three days course in that topic for Sela, the company I work for. During the process of creating the course I got to learn a lot about HTML5 and what to expect from the new specifications so expect more posts about th

Windows Communication Foundation

Calling a WCF Data Service From jQuery [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 14,008   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
I want to show is how easy and simple it is to consume a WCF Data Service (OData feed) with the jQuery library.
Using Paging in WCF Data Services [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 10,501   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
In the new release of WCF Data Services, we get server side paging and this will be addressed in this post.
Loading WCF Data Services Ajax Script Library [Technical Blog]
Posted: 18 Jul 2010   Updated: 19 Jul 2010   Views: 6,190   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
In this post, I’ll explain how to load the WCF Data Services scripts automatically or manually.
Combining WCF Data Services, JSONP, and jQuery [Technical Blog]
Posted: 25 Apr 2011   Updated: 25 Apr 2011   Views: 11,632   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
A simple example of making a JSONP call to a WCF Data Service using jQuery.
Making a JSONP Call to a WCF Data Service using datajs [Technical Blog]
Posted: 25 Apr 2011   Updated: 25 Apr 2011   Views: 6,400   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
How to use the datajs library in order to make a JSONP call to a JSONP enabled WCF Data Service.
Configuring WCF Data Services Using Lambda Expressions [Technical Blog]
Posted: 25 Apr 2011   Updated: 25 Apr 2011   Views: 4,572   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
A simple solution for using lambda extensions instead of strings while configuring a WCF Data Service
WCF Data Services Processing Pipeline [Technical Blog]
Posted: 2 May 2011   Updated: 2 May 2011   Views: 6,477   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
A new feature inside WCF Data Services that enables to wire up events into the service’s processing pipeline.

Date and Time

Quick Tip – Converting JSON Serialized .NET DateTime to JavaScript Date [Technical Blog]
Posted: 1 Dec 2011   Updated: 1 Dec 2011   Views: 12,823   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Converting JSON serialized .NET DateTime to JavaScript Date.

Uncategorised Quick Answers

Quick Tip – JavaScript Namespaces [Technical Blog]
Posted: 27 Jan 2012   Updated: 27 Jan 2012   Views: 14,013   Rating: 4.88/5    Votes: 5   Popularity: 3.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Quick Tip – JavaScript Namespaces Namespaces (or named scopes) are widely used in many programming languages. Namespaces help to group a set of identifiers into a logical group. An identifier can be a named class, named interface or any other language element that is contained inside the namespace.

Code Generation

Using the Code First Model Configuration Classes [Technical Blog]
Posted: 7 Mar 2011   Updated: 7 Mar 2011   Views: 20,197   Rating: 4.83/5    Votes: 5   Popularity: 3.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Aother model configuration option which is built inside Code First.
How to Configure a Self Referencing Entity in Code First [Technical Blog]
Posted: 4 Jun 2011   Updated: 4 Jun 2011   Views: 11,368   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
A running example of how to configure a self reference entity with Code First.
Creating a Many To Many Mapping Using Code First [Technical Blog]
Posted: 1 Aug 2011   Updated: 1 Aug 2011   Views: 31,764   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
How to create a many to many mapping using Entity Framework Code First for an existing database.

Design and Architecture

Too Many Abstractions? Follow up [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 3,267   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
I asked a question about how to know when you have too many abstractions in your code? And do more abstractions imply better design? I promised to do a follow up post and give my humble opinion. So here it goes...
Revisiting the Repository and Unit of Work Patterns with Entity Framework [Technical Blog]
Posted: 18 Jul 2010   Updated: 18 Jul 2010   Views: 22,180   Rating: 4.00/5    Votes: 4   Popularity: 2.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
In the past I wrote two posts about the Repository and the Unit of Work patterns (here and here). Today I want to show a better and less naive solution for imposing the Unit of Work and the Repository patterns with Entity Frame

Book Chapters

Book Review – Entity Framework 4 In Action [Technical Blog]
Posted: 26 Jan 2011   Updated: 26 Jan 2011   Views: 7,589   Rating: 4.67/5    Votes: 2   Popularity: 1.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
The book is all about Entity Framework 4.
Book Review – HTML5: Up and Running [Technical Blog]
Posted: 14 Jan 2011   Updated: 14 Jan 2011   Views: 5,314   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Book Review – HTML5: Up and Running

Interviews

My SDP Lecture Interview [Technical Blog]
Posted: 27 Feb 2011   Updated: 27 Feb 2011   Views: 3,648   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
My SDP Lecture Interview

Uncategorised Technical Blogs

Adding Tasks and Jumplists to Pinned Sites in IE9 [Technical Blog]
Posted: 22 Sep 2010   Updated: 22 Sep 2010   Views: 12,426   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Adding Tasks and Jumplists to Pinned Sites in IE9
Back to Basics – OnBeforeUnload Event [Technical Blog]
Posted: 12 Oct 2010   Updated: 12 Oct 2010   Views: 6,561   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Back to Basics – OnBeforeUnload Event There are times when you need to warn your users about unsaved changes before they leave the web page that they are working on. In these times the simple solution is to use the OnBeforeUnload javascript event. In this post I will explain what is this event and
Using the ControllerActivator in MVC 3 [Technical Blog]
Posted: 18 Oct 2010   Updated: 18 Oct 2010   Views: 6,553   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Using the ControllerActivator in MVC 3 In the previous post I showed how to use the DependencyResolver in order to bring Dependency Injection behavior to a MVC 3 application. In this post I’ll show you how you can use the ControllerActivator in order to activate controllers using your own behavior.
Dependency Injection in MVC 3 Was Made Easier [Technical Blog]
Posted: 18 Oct 2010   Updated: 18 Oct 2010   Views: 16,009   Rating: 4.33/5    Votes: 5   Popularity: 2.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Dependency Injection in MVC 3 Was Made Easier In the past I wrote a post that showed how to implement Dependency Injection using Unity in ASP.NET MVC framework. This post revisits that post and shows how you can do the same thing easily in MVC 3. Pay attention that the supplied code is based on MVC
Back to Basics – Null-Coalescing Operator [Technical Blog]
Posted: 18 Nov 2010   Updated: 18 Nov 2010   Views: 3,640   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Back to Basics – Null-Coalescing Operator Yesterday during an EF4 course that I’m giving at a customer I showed an example for a property that is set using the null-coalescing operator. Since some of the students asked me what is this operator, I gave a small explanation and thought that it’s somet
How to Separate Self-Tracking Entities to Their Own Class Library [Technical Blog]
Posted: 5 Dec 2010   Updated: 5 Dec 2010   Views: 11,447   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
How to Separate Self-Tracking Entities to Their Own Class Library
EF Feature CTP5 – Walkthrough For The New DbContext T4 Template [Technical Blog]
Posted: 8 Dec 2010   Updated: 8 Dec 2010   Views: 8,271   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
EF Feature CTP5 – Walkthrough For The New DbContext T4 Template One of the new features in the EF Feature CTP5 that was released yesterday was a new T4 template for generating DbContext instead of ObjectContext. In this post I’m going to explain what is the new DbContext and then show how to use th
Detecting HTML5 Features Using Modernizr [Technical Blog]
Posted: 10 Jan 2011   Updated: 10 Jan 2011   Views: 5,694   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Detecting HTML5 Features Using Modernizr In the past I wrote a post about using feature detection instead of browser detection when writing web applications/sites. There are frameworks like jQuery that do that for you and all you have to do is to use them. There are other frameworks like Modernizr
MIX11 Open Call Voting Started [Technical Blog]
Posted: 24 Jan 2011   Updated: 24 Jan 2011   Views: 2,688   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
MIX11 Open Call Voting Started
Back to Basics – Reading a File into Memory Stream [Technical Blog]
Posted: 3 Mar 2011   Updated: 3 Mar 2011   Views: 33,288   Rating: 4.67/5    Votes: 7   Popularity: 3.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Back to Basics – Reading a File into Memory Stream Today I was asked to help a developer with a simple task she had. That task included reading an image file into a memory stream in order to send the image through an e-mail attachment. This post will show you how to do exactly that. Reading a File
What to Look for in an ORM Solution? [Technical Blog]
Posted: 14 Mar 2011   Updated: 14 Mar 2011   Views: 4,484   Rating: 4.67/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
What to Look for in an ORM Solution?
MIX11 First Day Sessions Summary [Technical Blog]
Posted: 13 Apr 2011   Updated: 13 Apr 2011   Views: 4,466   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
MIX11 First Day Sessions Summary In the first day at MIX11 conference I attended the following sessions: Hot from the Labs – HTML5 WebSockets The first session after the keynotes was about HTML5 Web Sockets which has a Microsoft first draft implementation on HTML5 Labs. The concept of “Real Time
Razor Helpers Syntax [Technical Blog]
Posted: 22 Jul 2011   Updated: 22 Jul 2011   Views: 7,597   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Razor Helpers Syntax One hidden gem of Razor View Engine is the declarative helper syntax. With this syntax we can create helper components that are stored as .cshtml files, and enable reusability of view code. The name of the syntax might sound familiar and it is since it reminds the HtmlHelper cl
HTML5 Adoption Strategies [Technical Blog]
Posted: 4 Sep 2011   Updated: 4 Sep 2011   Views: 10,780   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
HTML5 Adoption Strategies
Avoiding Circular Reference for Entity in JSON Serialization [Technical Blog]
Posted: 1 Dec 2011   Updated: 1 Dec 2011   Views: 6,562   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Avoiding Circular Reference for Entity in JSON Serialization
CSS3 Animations [Technical Blog]
Posted: 16 Dec 2011   Updated: 16 Dec 2011   Views: 5,413   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
CSS3 animations
CSS3 2D and 3D Transform [Technical Blog]
Posted: 23 Dec 2011   Updated: 23 Dec 2011   Views: 8,342   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
CSS3 2D and 3D Transform
The async and defer Script Attributes in HTML5 [Technical Blog]
Posted: 29 Dec 2011   Updated: 29 Dec 2011   Views: 11,550   Rating: 4.86/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
The async and defer Script Attributes in HTML5 One of the rules of thumb that you always hear regarding script elements is to put them very close to the closing tag of the Web page. The main reason for that is that script elements are fetched and executed immediately when the browser encounter the

Reviews on Third Party Products and Tools

A Tough Nugget – NuGet Package Manager [Technical Blog]
Posted: 9 May 2011   Updated: 9 May 2011   Views: 7,144   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
The NuGet Package Manager helps to manage the Open Source component packages and their dependencies and by that decrease the amount of cumbersome work that the developer will need to do.

Average tips rating: 5.00

Caching

How to Enable Local Cache When Using Velocity (Microsoft Distributed Cache) [Tip/Trick]
Posted: 26 Jul 2010   Updated: 26 Jul 2010   Views: 5,116   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
The tip explains how to enable the local cache feature of Velocity (Microsoft Distributed Cache).

C#

Performing Queries Against Active Directory Domain Services [Tip/Trick]
Posted: 26 Jul 2010   Updated: 26 Jul 2010   Views: 4,665   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This tip explains how to perform queries against Active Directory Domain Services

Gil Fink
Architect Sela Group
Israel Israel
Gil Fink is an expert in ASP.NET and Microsoft data platform and serves as a Senior Architect at SELA Group. He is a Microsoft data platform MVP and a certified MCPD Enterprise Application Developer. Gil has worked in the past in variety of positions and projects as a leading developer, team leader, consultant and more. His interests include Entity Framework, Enterprise Library, WCF, LINQ, ADO.NET and many other new technologies from Microsoft.
 

My technical blog: http://www.gilfink.net


Advertise | Privacy | Mobile
Web04 | 2.6.130617.1 | Last Updated 19 Jun 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid