Posts
630
Comments
535
Trackbacks
1
ASP.NET
A description of a not entirely ideal software development project

Names and places are changed to protect…well, to protect against any personal liability.  You can guess the rest. The first thing you will note about a project like this is that the actual end user and/or business requirements are not really defined until you are at least 75% through the development of the software that is supposed to support the requirements.  An important thing to highlight here is that the actual end user requirements and the business requirements are not necessarily the same.  No, it would be folly to think that they were. Another fine point is when...

posted @ Friday, June 18, 2010 7:21 PM | Feedback (0)
Windows 7 /Vista – Can’t Edit or Save Files in C:\Inetpub

I rarely ever put any code in C:\Inetpub, but some applications will put their websites there by default. And you may find yourself surprised when, even when using an Administrator account, you don’t have permissions to update files or save files under that location. Turns out it is an UAC issue.  From Thomas Deml, a Program Manager for IIS at Microsoft, in this post: Here is an easy fix. Run the following command from an elevated command prompt (right click the "command prompt" icon and select "Run as Administrator"). icacls %systemdrive%\inetpub /grant  %userdomain%\%username%:(OI)(CI)(F) /grant %userdomain%\%username%:F...

posted @ Sunday, November 22, 2009 7:06 PM | Feedback (5)
The new VisiCalc

Though I sometimes feel like it, I’m not actually old enough to know what VisiCalc was, but Joe Stagner wrote a post in which he made an analogy between the two: VisiCalc was THE spreadsheet of the day !  It might have done 2% of what Excel 2010 does, but when it was released it was an AMAZING innovation…ASP.NET/Web Forms was a perfect match for the skill set of the day (2001/2002) and was exactly what the industry needed at the time. I don’t know that I would say it was a *perfect* match, but I generally agree...

posted @ Tuesday, September 01, 2009 10:21 PM | Feedback (0)
Alt.NET Baby-ism

So, Ayende wrote a post criticizing some API related stuff about the ASP.NET MVC Framework. Phil Haack had a reply that dealt with why the design was done the way it was done, which contained the following funny comment: “We spent a lot of time thinking about these design decisions and trade-offs, but it goes without saying that it will invite blanket criticisms. Fortunately, part of my job description is to have a thick skin. ;) In part, by favoring usability in this case, we’ve added a bit of friction for those who are just starting out...

posted @ Thursday, November 06, 2008 7:31 PM | Feedback (3)
Visual Studio 2008 - Vista SP 1: IIS 7 Debugging No Longer Works After SP Install

Now, to be clear, I believe that I am still working in classic mode and running VS 2008 as Administrator to get around all the issues that came up when Vista came out, so this may not apply to you. But, after installing SP1 for Vista, I could no longer debug my web applications running on IIS7.  I worried about some major problem that would take hours if not days to fix. As it turns out, the WAS service was not set to auto-start, which prevented any of the application pools from starting, which prevented the WWW service...

posted @ Friday, February 22, 2008 8:02 PM | Feedback (0)
ASP.NET, DataContext, and LINQ to SQL: Business Process Model

In my previous post, I pointed out a good article by Rick Strahl on different ways to handle DataContext management and mentioned that I used his 'Business Object' method.  This actually isn't quite accurate, so let me expand on that a little bit. I'll use a standard e-Commerce site as an example.  If you think about most of the data access that is required when creating an eCom site, there is little about the DataContext that you really need to worry about.  Product lists, navigation elements, search results, and other items are essentially read-only, so you can use a...

posted @ Thursday, February 07, 2008 12:07 AM | Feedback (7)
LINQ to SQL DataContext and ASP.NET

I was about to write up a long post about this when I saw this post out today by Rick Strahl.  I'm using what he calls the 'Business Object' option, and I like it so far. His post is better, so read up.   Update: I'm actually using what I would call the Business Process option.  See here.

posted @ Tuesday, February 05, 2008 7:44 PM | Feedback (0)
.NET: Selecting DropDownList Item by Some Text or Value

myDropDown.SelectedIndex = myDropDown.Items.IndexOf(myDropDown.items.FindByText(Text)) myDropDown.SelectedIndex = myDropDown.Items.IndexOf(myDropDown.items.FindByValue(Value))

posted @ Sunday, February 04, 2007 6:17 AM | Feedback (0)
.NET: Currency format for TextBox value

< asp:TextBox runat="server" Text='<%# Bind("Cost", "{0:c}") %>' id="txtAmount" Width="50px"></asp:TextBox>

posted @ Sunday, February 04, 2007 6:08 AM | Feedback (0)
IIS 7, Vista, and Visual Studio 2005

A couple of points: - if you go into IIS 7 Manager, try to make changes like changing the default documents, and it gives you an “Access Denied” message, it means your web.config is read-only.  For some reason, every time you try to make changes, it apparently tries to open the web.config file (even if it doesn't do anything to it), and if it is read-only, it fails.  Even if you are running as administrator. - to debug, you have to run VS 2005 as administrator, you need to enable Windows Authentication, and you sometimes (not clear when exactly) need to run...

posted @ Saturday, February 03, 2007 12:48 PM | Feedback (0)
Full ASP.NET Archive