Edentity Web Systems
You solve creative. We crack code.
/Header/WhoWeAre.jpg
 

Joel Varty's Blog

02/09/2010 Amazon S3 – Now with Versioning!

Now, Amazon has added Versioning as an out of the box feature that you can simply enable!

| Comments (0) | More »
12/21/2009 Agility Tip: Handling Agility Save Events in Client Mode

One of the features we added this year was the ability to write Input Forms for Content Definitions and Module Definitions that are for "client side save", which means that the values of the content item are saved using Javascript instead of a postback.

| Comments (0) | More »
12/04/2009 The jTemplates plugin for jQuery – Keep inline templates from being misinterpreted

I love the jTemplates plugin for jQuery. 

| Comments (0) | More »
11/12/2009 Configuration, System.Diagnostics and Medium Trust

So how did we get around this problem?

| Comments (0) | More »
11/05/2009 Shrinking your SQL Server 2005 Transaction Log

Shrinking your SQL Server 2005 Transaction Log

 

| Comments (0) | More »
10/22/2009 CNET News: Visual Studio 2010 to launch in March

According to an article from CNET News on October 19th, Visual Studio 2010 will launch in March, 2010. 

| Comments (0) | More »
10/13/2009 More URL Routing in Asp.Net 4.0…

We do our own routing with Agility CMS, however we are looking at switching to the more standardized routing built into Asp.Net (as of 3.5sp1).

| Comments (0) | More »
09/14/2009 Always check for null on Request.UserAgent

Personally, I love the “Browser Capabilities” project on codeplex that does a nice job of extracting the actual things that a browser can do, saving you from doing things the following:

| Comments (1) | More »
09/08/2009 How JSONP works

There are a plethora of explanations for JSONP (JSON with Padding, I think it stands for) out there – just search for “how JSONP works” and you’ll get a ton of descriptions.  Here's my take.

| Comments (0) | More »
08/18/2009 Team Foundation Server: Who edited this text? – Annotations in source control

If you were ever looking at some code and wondered who actually changed the line of text you were currently looking at, there is a way to do just that!

| Comments (2) | More »
08/04/2009 Run threads and async handlers under the same impersonated identity as the website

When you run a background thread or async handler in asp.net, the thread will not run with the same identity specified in the impersonate tag of the web.config.  Read on for how to get around it.

| Comments (4) | More »
07/17/2009 ResolveUrl in Javascript

This is something that is super easy, yet I get asked about it quite often.

| Comments (0) | More »
06/26/2009 Adding HttpModules to Agility Websites? Extend the ExtensibleAgilityHTTPModule

If you want to do Friendly Urls or other things in an Agility website that requires you to add an Http Module, you should do it by extending Agility.Web.HttpModules.ExtensibleAgilityHTTPModule.

| Comments (0) | More »
06/22/2009 IIS 7 - WCF Services Won't Run by Default (.svc returns 404)

If you get a 404 on a WCF web service (SVC) in IIS7, you may need to re-register WCF on the machine.

| Comments (0) | More »
06/22/2009 CSS: Get Rid of Dashed Border on Focused Elements

Do you want to get rid of the dashed border that appears when you click on links, flash controls, etc? Try this!

| Comments (0) | More »
06/02/2009 Visual Studio Team System 2008 Database Edition GDR R2

This is the update to the VS 2008 Database Edition and adds support for SQL Server 2008 and no longer requires a local database server to operate.  It was released back in April, but I just realized I needed it when I installed SQL Server 2008 on my local development machine, and found out that the base install does NOT support SQL Server 2008.

| Comments (0) | More »
06/01/2009 Minify your Javascripts!

This is a process that is becoming more and more important as we offload a ton of our page processing to .js files as opposed to HTML files processed by the server.  This is because we are doing more client templating and logical processing on the client and not on the server.

| Comments (1) | More »
05/21/2009 Amazon Web Services Import/Export – fill your S3 Buckets Without Killing Your Bandwidth

One of the things about online file storage is getting the first massive data dump onto the server.  If you have a lot of data to store, it would be more prudent to simply take an external drive to the physical data center and do a transfer that way.

| Comments (0) | More »
05/12/2009 Remember to Check-in When You re-format Your Machine!!!

Besides losing any code you may have written that you’ll never get back, those pending changes or locks will be stored on the server until someone does an “undo” or a workspace delete.

| Comments (3) | More »
05/07/2009 Amazon CloudFront Adds Access Logging Capability

Amazon CloudFront announced today that they have added support for access logs.  This means that any of the objects being access from your S3 Account via Cloudfront can be tracked and reported on without any additional work.

| Comments (0) | More »
05/07/2009 TFS Work Item Changed Notification: Customizing the URL for Team System Web Access

This has been explained a bunch of times – most notably here – I just thought I would capture here what I did to update our TFS instance to solve this issue.

| Comments (0) | More »
05/07/2009 Load jQuery Dynamically

Sometimes you have to load jQuery, but you don’t know if it has already been referenced somewhere else in the website.

| Comments (0) | More »
04/28/2009 Using the Generic Dictionary with JSON Web Services…

If you want to pass a name/value collection of untyped data to a webservice with JSON, do it like this guys, Joost van Schaik, says:

| Comments (0) | More »
04/28/2009 Detect a Security Exception When Using FormsAuthentication

If you are using the web.config to determine security for aspx pages, you may have noticed that you don’t get the chance to determine whether a security exception has been thrown.  The user will simply be return to the login page with a ReturnUrl query string pointing back to the url they were trying to access.

| Comments (0) | More »
04/08/2009 Team System Quick Tip: Use HTML in the History Field for Work Items

I have just been editing the project templates to enable HTML in the description field.  As it turns out, the description field is locked down as plain text.

| Comments (0) | More »
04/06/2009 LINQ-SQL: Why I Love it and Why I Hate it

Love it:

  • Generate a class structure based on database tables.
  • Makes coding transactions really easy and seamless.
  • Makes working with store procedures more like methods.
  • Makes it easier to validate database field names at compile-time.

| Comments (0) | More »
03/23/2009 Force IE7 Compatibility Mode in IE8 with IIS settings

There is a ton of examples on the web of how you can force IE8 into IE7 compatibility mode using a meta tag in the header.

| Comments (0) | More »
03/13/2009 Don’t use Alert() on AJAX Webservice Errors!

Even if you want the user to be notified of the fact that an AJAX web service call has errored out, don’t use an alert() to do it.

| Comments (0) | More »
03/06/2009 LINQ-SQL – Incorrect Results from Count() from Lambda Expressions

Check out the following C# code:

| Comments (0) | More »
02/20/2009 Lock Your Web App to 1 Outgoing Web Service Call Across All Threads

One of the things we see a lot of these days are web apps that call other web apps via web services, RSS, or REST APIs.

| Comments (0) | More »
02/09/2009 Put Code in Your Blog With Windows Live Writer

This plugin for windows live writer called "Insert Code", lets you do this:

| Comments (0) | More »
02/09/2009 VS Docs for jQuery 1.3.1

I am using jQuery for everything these days - it really is an awesome add-on to any web application, and what is even better that you can get intellisense on it for the latest version.

| Comments (0) | More »
02/09/2009 JQuery - Get a Handle On a Server Element in Javascript

This is how you get a handle on a server elemment in Javascript without using <%= elem.ClientID %>.

| Comments (0) | More »
02/04/2009 VS 2010 and Deployments Through IIS - MSDeploy Here We Come

I saw this posting on the webdevtools blog and was intrigued by its promise.

| Comments (0) | More »
01/22/2009 IIS 7, Dynamic Compression and AJAX Web Services Means Massive Performance Increases

I work on a product called Agility CMS.  Agility CMS is a hosted web content management system - including a web application dedicated to actually editing website content, pages, sitemaps and other good stuff.

| Comments (0) | More »
01/20/2009 BLOCKED SCRIPTvoid() Javascript Error

This is one of those javascript errors that makes me shake my head a bit, but with more and more Ajax style apps being built in Asp.Net, I have started seeing this quite a bit.

| Comments (0) | More »
01/20/2009 BLOCKED SCRIPTvoid() Javascript Error

This is one of those javascript errors that makes me shake my head a bit, but with more and more Ajax style apps being built in Asp.Net, I have started seeing this quite a bit.

| Comments (0) | More »
01/12/2009 TSQL - Distance in kilometers between 2 points, given the latitude and longitude

It's always good to know the distance between 2 points.

| Comments (0) | More »
01/09/2009 Control Output Caching and RegisterClientScriptInclude

Always remember that if you are using Control output caching, RegisterClientScriptInclude will NOT run if the used control is returning a cached version.

| Comments (4) | More »
01/07/2009 Binding an RSS Feed with an XmlDataSource

I'm sure this has been blogged on a zillion times before, but this is super easy.  Look!

| Comments (0) | More »
01/06/2009 For WCF Services hosted in non IIS apps - add permissions for a user to change the IIS namespace reservations

If you are hosting a WCF services in a console app, windows service or any other non-IIS application, you need to listen on a particular url address.  A normal user running an app or service doesn't have permission to do this unless that user is an admin (not a good thing for a wcf service).  So in order to grant permission to reserve the namespace, you need to run a little command.

| Comments (0) | More »
12/29/2008 Why are scripts slow to load in Firefox when using Visual Studio’s built-in development Web server (a.k.a. Cassini)?

This is because of the Scripts on the page, and is not related to Agility per-se.

| Comments (2) | More »
12/12/2008 Agility Tip: Timed Release - Explained!

Timed release in Agility happens in 2 ways:

| Comments (0) | More »
12/03/2008 Yahoo Query Language (YQL): Location ID vs WOEID for International Weather

OK - so I just started messing about with YQL on the Yahoo developer site, using the YQL console which is pretty awesome - it allows you to use a SQL variant to query the vast XML data sources.

| Comments (0) | More »
11/26/2008 Microsoft Chart Controls

Here's something I wasn't expecting: Microsoft has released its own chart control.

| Comments (0) | More »
11/26/2008 Use Build Events to rebuild a Windows Service without having to manually stop/start it

When you are working on a Windows Service and you have it running locally from the build folder, you need to stop it before you can build it.

| Comments (0) | More »
11/24/2008 Steps to Enable jQuery Intellisense in VS 2008

Scott Guthrie has a blog post on this.

| Comments (0) | More »
11/20/2008 Response.Redirect Without the Exceptions

I was doing some load testing the other year and noticed one of the counters was going off the charts - ASP.Net exceptions.  I couldn't understand why my application, which was behaving fine in every other way, was throwing exceptions.

| Comments (0) | More »
11/19/2008 Javascript IntelliSense FAQ

One of the biggest pain points that I find with Visual Studio 2008 is its inconsistency with IntelliSense (arguably, and ironically, its best feature).

| Comments (0) | More »
11/19/2008 Journalists Posting About Agility

There's nothing more gratifying than seeing someone else say something about a product you build...

| Comments (0) | More »
11/17/2008 Silverlight Databinding – The Observable Collection

If you’re coming from the ASP.Net world and you want to start building silverlight controls, databinding is one those things that works somewhat the same, yet somewhat differently from the standard DataSource, DataBind() world that you may be used to.

| Comments (0) | More »
10/25/2008 A post on the Agility CMS blog...

I thought you might be interested in a post I have on another blog - this one for the Agility CMS that I work on with Edentity.

| Comments (0) | More »
10/15/2008 Silverlight 2 - Finally a version that can change the world!

Yes, folks - that title is not a joke.  Silverlight can completely change how we think about the web.  We're not writing activeX controls anymore, we're not coding "ActionScript" on a "Timeline" - we're talking about something revolutionary here.

| Comments (0) | More »
10/01/2008 The Evolution of Client Side Data Binding in ASP.NET

Client side data binding, where we call a web service method via JavaScript and attach the resulting data to visual elements, is beginning to get a real foothold in this industry.

| Comments (0) | More »
09/30/2008 JavaScript in 'A' tags: # vs javascript:void(0)

Often times when we get a set of html templates from a designer, we tend to see a lot of this:

| Comments (1) | More »
09/30/2008 Start using jQuery in your Asp.Net apps!

If you were waiting for this to be incorporated into Asp.Net AJAX, you have no more excuses.  Scott Guthrie today announced in his blog that Microsoft will ship jQuery support with Visual Studio, and they will provide a vanilla and "intellisense-annotated versions,"  allowing for complete cooperation with the usage of the package.

| Comments (0) | More »
09/22/2008 LINQ Architectures in 3 Layer, 3 Tier Applications

Before I get into the great features and great dangers of LINQ, lets get a couple thing out of the way:

| Comments (0) | More »
09/18/2008 Storing Contextual Data in Web and non-Web applications

In Asp.Net apps, we are used to storing data in the current context.  Objects that are specific to the currently executing Request, like a User object retrieved a database, or another object that you want to make globally available without requiring multiple database trips, can benefit from this.

| Comments (0) | More »
07/16/2008 The Ubiquitous, Mobile Web: The Final Frontier

The web works better when web sites are tailored to the capabilities of the platform.

| Comments (0) | More »
03/25/2008 Find/Replace in Visual Studio with Regular Expressions and Variables

This can be a major time saver when you want to find some text and perhaps duplicate it or manipulate it throughout a bunch of files in your project.

| Comments (0) | More »
01/31/2008 The Server/Client Balance of Power Continues (Part 1)

I have had the unique pleasure of dealing with this conundrum countless times of the past eight years while architecting applications that operate in various web server and browser environments.

| Comments (0) | More »
01/23/2008 New Blog on Asp.Net

I will try not to double-post too much, instead I will keep my Edentity specific stuff in here, and simply link from here to any tech related stuff that might be of interest on this site.

| Comments (0) | More »
11/08/2007 What is beauty? (In HTML, that is...)

This appeared on digg.com not too long ago, and I though the comments were almost as interesting as the article.

| Comments (0) | More »
10/29/2007 Hosting your website in a facility where "medium trust" is enforced

We recently rolled out a website using a hosting provider that enforces Medium Trust in all asp.net web applications.  Fine - we've done this many times before.  Except for one thing: we were using a custom configuration section, and our assembly wasn't allowed to go into the GAC.  What do we do now?

| Comments (0) | More »
10/05/2007 .Net Framework 3.5: Open Source

Scott Guthrie is reporting on his blog that the Framework will be available with source code as of version 3.5 under the Microsoft Reference License.  In my mind this makes up for a lot of the flack that has been doled out towards Microsoft in terms of the closed nature of their products and platforms.

| Comments (0) | More »
09/21/2007 Code: Clicking buttons in FireFox using javascript

Sometimes you need to call the "click" event of a button using javascript.  Well, in FireFox, this doesn't always work if the button is <input type="button">.

| Comments (0) | More »
08/26/2007 The Everything Web

I used to ask myself what I wanted my computer to do, but since I am no longer tied to a single computer so much as I am linked to the internet via a plethora of devices, I figure “What do you want from the web?” is a more apt question.

| Comments (0) | More »
07/20/2007 In the Land of AJAX

I have been living in Ajax (the actual city, that is) for almost 10 years. Incidentally, I have been doing AJAX related web development for nearly all of that time. Although it wasn’t called AJAX at the time, I am glad they decided to name it for my hometown ;)

| Comments (0) | More »
06/21/2007 What do You Expect from the Web?

It used to be when we designed applications for the web, my boss at the time would nearly always look at the architecture and say “but where is this feature, can’t we do this on the web yet?” or “why can’t I do this like a normal application?” My answer was usually something along the lines of “what do you expect from the web?” That was how I thought about the web 10 years ago, when every new challenge was an attempt to bring more richness and responsiveness to the user interface.

| Comments (0) | More »
Resizing images from the server using WPF/WIC instead of GDI+

Bertrand Le Roy has this on his blog today: http://weblogs.asp.net/bleroy/archive/2009/12/10/resizing-images-from-the-server-using-wpf-wic-instead-of-gdi.aspx

| Comments (0) | More »
 
Edentity Web Systems Inc.
Suite 201
40 Spadina Ave.
Toronto ON
M5V 2H8
Tel:
416.591.2500
Fax:
416.352.5270

From Our Blog

02/09/2010
Amazon S3 – Now with Versioning! Posted by Joel Varty
02/02/2010
01/19/2010
411 Length Required in Firefox 3 Posted by Andre Small
Home | Who We Are | What We Do | Clients & Brands | Careers | Contact

Copyright © 2010 Edentity Web Systems Inc. Privacy Policy