Finished Writing on ASP.NET 2.0 Instant Results

Posted by: Imar Spaanjaars at Thursday, December 08, 2005 2:58:44 PM in: Imar's Blogs
Today I finished writing on my new book called ASP.NET 2.0 Instant Results. At 2:40 p.m. I sent in my last chapter and other related materials.
Read on ...

How Do I Set the DefaultFocus or DefaultButton in a Page Based on a Master Page in ASP.NET 2.0?

Posted by: Imar Spaanjaars at Thursday, November 03, 2005 8:41:33 PM in: ASP.NET 2.0
You may be aware of the new DefaultButton and DefaultFocus properties that a few ASP.NET 2.0 controls, including the HtmlForm have. These properties allow you to determine which button gets "clicked" when you hit enter on the page, and which form control gets the focus when the page loads. (If you're not familiar with them, check out this MSDN help file) But how do you use this feature in a page based on a Master Page?
Read on ...

RTM Versions of Visual Studio 2005 Available!

Posted by: Imar Spaanjaars at Monday, October 31, 2005 7:03:42 PM in: Imar's Blogs
Yoohoo, just before the weekend, Microsoft released the RTM (final) versions of Visual Studio 2005 and SQL Server 2005.
Read on ...

Long Time Off-Line

Posted by: Imar Spaanjaars at Sunday, September 18, 2005 10:18:15 AM in: Imar's Blogs
Some of you may have noticed that my web site was off-line for a long time. The site went down at the end of August and is only up again for a few days...
Read on ...

Getting a page's URL in code-behind

Posted by: Peter Lanoie at Saturday, August 06, 2005 8:24:37 PM in: ASP.NET 1.x
You may have the need to be able to get the URL to a page in a web application from the server code. This might be because the page could move or because the URL is dynamic in some way. While this would be a nice feature to have in .NET, there are reasons it is not. We'll discuss this and a simple solution for getting a page's URL in server-side code that saves us from hard coding it in the referencing pages.
Read on ...

Why Do I Get Unexpected 404 Errors in Visual Web Developer 2005 Express Edition?

Posted by: Imar Spaanjaars at Saturday, May 14, 2005 3:31:51 PM in: ASP.NET 2.0
Today I was experiencing unexpected 404 "The resource cannot be found" errors when working with Visual Web Developer 2005 Express Edition beta 2 in combination with the ASP.NET Development Server. No matter what I tried, and what file I tried to open, I kept getting the same error.
Read on ...

Binding ObjectDataSource controls to Custom Methods

Posted by: Imar Spaanjaars at Sunday, April 17, 2005 6:39:28 PM in: ASP.NET 2.0
The new ASP.NET 2 data controls, like the SqlDataSource and the AccessDataSource grealty simplify data access in your Web Applications. However, they have one major drawback: they flood your pages with Sql statements. Not so with the ObjectDataSource, that enables you to bind to the results of a standard method in your Business Logic Layer. The ObjectDataSource can in turn be bound to a data aware control, like the new GridView or DetailsView controls
Read on ...

The Microsoft Enterprise Library

Posted by: Imar Spaanjaars at Monday, March 07, 2005 10:12:30 PM in: Imar's Blogs
I recently downloaded and installed the Microsoft Enterprise Library and I must say it's an amazing piece of technology. I've been using several of the separate Application Blocks in the past and they have saved me a lot of development time.
Read on ...

Overriding Individual Application Settings

Posted by: Peter Lanoie at Thursday, March 03, 2005 10:55:01 PM in: .NET General
You may have the situation where you want to be able to override application settings for a .NET application only for your particular instance of the application. This is often the case when you are developing the application, you need to change only the local settings, but you don't want to change the config file that is part of the project and under source control. Here we'll explain the solution that .NET provides but isn't so well known.
Read on ...

How Do I Allow my Visual Studio .NET Projects to Run from a Network Location?

Posted by: Imar Spaanjaars at Saturday, February 26, 2005 4:48:08 PM in: VS.NET 2003

When you try to create a new project in Visual Studio .NET 2003 on a network drive, you might get the following error:

The project location is not fully trusted by the .NET runtime. This is usually because it is either a network share or mapped to a network share not on the local machine. If the output path is under the project location, your code will not execute as fully trusted and you may receive unexpected security exceptions. Click OK to ignore and continue. Click CANCEL to choose a different project location.

You get this error because by default .NET framework does not fully trust network locations. It's easy, however, to grant this trust to your projects, or your entire Visual Studio Projects folder.

Read on ... 12345678910111213141516171819202122232425262728293031