Quantcast
Channel: Rick Strahl's Web Log
Browsing all 663 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

A free standing ASP.NET Pager Web Control

Paging in ASP.NET has been relatively easy with stock controls supporting basic paging functionality. However, recently I built an MVC application and one of the things I ran into was that I HAD TO...

View Article


Image may be NSFW.
Clik here to view.

SmtpClient and Locked File Attachments

Got a note a couple of days ago from a client using one of my generic routines that wraps SmtpClient. Apparently whenever a file has been attached to a message and emailed with SmtpClient the file...

View Article


Image may be NSFW.
Clik here to view.

Making Sense of ASP.NET Paths

ASP.Net includes quite a plethora of properties to retrieve path information about the current request, control and application. There's a ton of information available about paths on the Request...

View Article

Image may be NSFW.
Clik here to view.

LINQ to SQL and missing Many to Many EntityRefs

Ran into an odd behavior today with a many to many mapping of one of my tables in LINQ to SQL. Many to many mappings aren’t transparent in LINQ to SQL and it maps the link table the same way the SQL...

View Article

Image may be NSFW.
Clik here to view.

Rendering ASP.NET Script References into the Html Header

One thing that I’ve come to appreciate in control development in ASP.NET that use JavaScript is the ability to have more control over script and script include placement than ASP.NET provides natively....

View Article


Image may be NSFW.
Clik here to view.

HttpContext.Items and Server.Transfer/Execute

A few days ago my buddy Ben Jones pointed out that he ran into a bug in the ScriptContainer control in the West Wind Web and Ajax Toolkit. The problem was basically that when a Server.Transfer call was...

View Article

Image may be NSFW.
Clik here to view.

jQuery 1.4 Opacity and IE Filters

Ran into a small problem today with my client side jQuery library after switching to jQuery 1.4. I ran into a problem with a shadow plugin that I use to provide drop shadows for absolute elements – for...

View Article

Image may be NSFW.
Clik here to view.

.NET WebRequest.PreAuthenticate – not quite what it sounds like

I’ve run into the  problem a few times now: How to pre-authenticate .NET WebRequest calls doing an HTTP call to the server – essentially send authentication credentials on the very first request...

View Article


Image may be NSFW.
Clik here to view.

No Preview Images in File Open Dialogs on Windows 7

I’ve been updating some file uploader code in my photoalbum today and while I was working with the uploader I noticed that the File Open dialog using Silverlight that handles the file selections didn’t...

View Article


Image may be NSFW.
Clik here to view.

AspNetCompatibility in WCF Services – easy to trip up

This isn’t the first time I’ve hit this particular wall: I’m creating a WCF REST service for AJAX callbacks and using the WebScriptServiceHostFactory host factory in the service: <%@ ServiceHost...

View Article

Image may be NSFW.
Clik here to view.

DevConnections jQuery Session Slides and Samples posted

I’ve posted all of my slides and samples from the DevConnections VS 2010 Launch event last week in Vegas. All three sessions are contained in a single zip file which contains all slide decks and...

View Article

Image may be NSFW.
Clik here to view.

What’s new in ASP.NET 4.0: Core Features

Microsoft released the .NET Runtime 4.0 and with it comes a brand spanking new version of ASP.NET – version 4.0 – which provides an incremental set of improvements to an already powerful platform. .NET...

View Article

Image may be NSFW.
Clik here to view.

What’s New in ASP.NET 4.0 Part Two: WebForms and Visual Studio...

In the last installment I talked about the core changes in the ASP.NET runtime that I’ve been taking advantage of. In this column, I’ll cover the changes to the Web Forms engine and some of the cool...

View Article


Image may be NSFW.
Clik here to view.

Dynamic Type to do away with Reflection

The dynamic type in C# 4.0 is a welcome addition to the language. One thing I’ve been doing a lot with it is to remove explicit Reflection code that’s often necessary when you ‘dynamically’ need to...

View Article

Image may be NSFW.
Clik here to view.

Non-Dom Element Event Binding with jQuery

Yesterday I had a short discussion with Dave Reed on Twitter regarding setting up fake ‘events’ on objects that are hookable. jQuery makes it real easy to bind events on DOM elements and with a little...

View Article


Image may be NSFW.
Clik here to view.

Debugging .NET 2.0 Assembly from unmanaged Code in VS2010?

I’ve run into a serious snag trying to debug a .NET 2.0 assembly that is called from unmanaged code in Visual Studio 2010. I maintain a host of components that using COM interop and custom .NET runtime...

View Article

Image may be NSFW.
Clik here to view.

Microsoft Introduces WebMatrix

originally published in CoDe Magazine Editorial Microsoft recently released the first CTP of a new development environment called WebMatrix, which along with some of its supporting technologies are...

View Article


Image may be NSFW.
Clik here to view.

RequestValidation Changes in ASP.NET 4.0

There’s been a change in the way the ValidateRequest attribute on WebForms works in ASP.NET 4.0. I noticed this today while updating a post on my WebLog all of which contain raw HTML and so all pretty...

View Article

Image may be NSFW.
Clik here to view.

Posting Form Data to an ASP.NET ASMX AJAX Web Service with jQuery

The other day I got a question about how to call an ASP.NET ASMX Web Service with the POST data from a Web Form (or any HTML form for that matter). The idea is that you should be able to call an...

View Article

Image may be NSFW.
Clik here to view.

The dynamic Type in C# Simplifies COM Calls from Visual FoxPro

I’ve written quite a bit about Visual FoxPro interoperating with .NET in the past both for ASP.NET interacting with Visual FoxPro COM objects as well as Visual FoxPro calling into .NET code via COM...

View Article
Browsing all 663 articles
Browse latest View live