Home / ASP.NET Weblogs

June 2009 - Posts

Posted to:
by: 
06-24-2009, 10:25 AM

.NETOOP high level configuration storage decision.

In designing .NETOOP we have this issue: Since .NETOOP will be an adaptable application designed to meet the needs of many users, some of the things that one might hard code in an application like “Web Site Name” will need to be set at installation time. For “system”  configuration settings we have the web.config file. For language and culture variations we have resource files. But this type of site configuration doesn’t really  fit nicely into either of these categories. We could use……. web.config .res files .xml files a table in the database. There are a number of considerations. Since these are not really the same kind of configurations issues that we normally put in the web.config file (like a connection string) it would seem that...
Posted to:

Patterns and Practices of Lean Software Development

J. D. Meier emailed me this week to ask my opinion on “Lean” and referred me to [ THIS POST ] For almost 30 years (yes, I wrote my first program for money in the 70’s as a teenager) I’ve been a “practical” geek. I don’t invest much in methodologies, or teh business / development fad of the era. I’ve seen dozen of Silver Bullets come, and go. Only to be replaced by the newest “holy grail” of software development, Here is a quote from the blog post …… A central concept in Lean is that planning, executing, and delivering work in small batches minimizes waste. The ideal limit of working in small batches is the single unit. Creating one piece at a time with zero waste is the ideal of one-piece flow . Though I haven’t seen the process articulated...
Posted to:

After almost five years, my blog has a name!

So I have had this blog since October 2005 , and the entire time it has been named “ David Ebbo’s blog ”.  There were a number of solid reasons that had led me to choose this catchy name: It’s a blog It’s mine My name is David Ebbo Last December, I blogged with great excitement that I had picked not a new title, but a new subtitle for it: “ The Ebb and Flow of ASP.NET ”.  It was a week before xmas, there was almost no one at work and I might have had a drink or two, but for whatever reason, I came up with that brilliant name.  But that was just the subtitle, which is displayed in a small font that no one reads, so it went quietly unnoticed. Today, I am taking a much bigger step in my blogging career as I’m actually changing the...
Posted to:

Tip #83: Did you know... You can get the name of the calling method from the stack using reflection?

Nearly every program needs a logger to log events, errors and exceptions. Sometimes it is also useful to log the name of the method that logged the event. The easiest way to do that is to make the log method take both the calling method name and event...
Posted to:

ASP.NET Ajax - Script Combining and moving ScriptResource.axd's to Static Scripts

I've got a little something I'm doing and I wanted to take control over some scripts that were being added by ASP.NET WebForms. Remember that ASP.NET WebForms is designed around a control/component model, so you don't get 100% control over your markup. When you drag a control onto the page in WebForms, you expect it to work. ScriptManager Basics For example, if I'm going to do so stuff with GridView and an UpdatePanel, I might do this: <body> <form id="form1" runat="server"> <asp:ScriptManager runat="server"> </asp:ScriptManager> <div> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:GridView ID="GridView1" runat...
Posted to:

These are the little bugs that lead to madness

I received an interesting email today where a fellow was trying to make sure that all browsers could successfully download his company's MSI installer. He had found a blog post that I wrote SIX YEARS AGO on the Content-Disposition header and some trouble I'd had with Check Images. Just in case you're not clear, 6 years is like a century years on the internet. Here's a little snippet from my incredibly old blog post: HTTP Headers are name values pairs, so they are easily added with the Response object in ASP or ASP.NET You use it like this (the HTTP Headers): HTTP/1.1 200 OK <snip> Content-Disposition: filename=checkimage.jpg Content-Length: 76127 Content-Type: image/JPEG Or, if you want to immediately prompt the user with...
Filed under: , ,
Posted to:

Back to Basics - Trust Nothing as User Input Comes from All Over

There was an interesting bug recently that was initially blamed on Bing . Basically someone searched for something, clicked the first result and got a YSOD (Yellow Screen of Death.) They were searching Bing.com for this term: "Eugene Myers's O(ND) Diff algorithm" When they clicked on a link that looked like a good result, they got a scary YSOD like this: Server Error in '/' Application. '/t:tracking/t:referrer[@url='http://www.bing.com/search?q=eugene myers's o(nd) diff algorithm&form=qblh']' has an invalid token. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated...
Filed under: ,
Posted to:

Visual Web Developer - Designer Survey

The VWD team is always looking for ways to improve our product for our customers. To help us better achieve this goal we have created a survey that we hope you will take a few moments to fill out. Click Here to take survey This survey centers around the VWD designer which provides a WYSIWYG editor for creating and editing Web pages. All feedback will be carefully considered in our planning. Thank you for your time, Mike Snow SDET Lead  Visual Studio Web Tools Read More...
Posted to:

Yellowstone National Park Photo Trip

Photos from a photo trip to Yellowstone and Grand Tetons National Park... [ Full post continued here... ] Read More...
Filed under:
Posted to:
by: 
06-19-2009, 10:04 AM

Misfit Geek Podcast - Episode #2 Does VB have a Future ?

function onSilverlightError(sender, args) { var appSource = ""; if (sender != null && sender != 0) { appSource = sender.getHost().Source; } var errorType = args.ErrorType; var iErrorCode = args.ErrorCode; var errMsg = "Unhandled Error in Silverlight 2 Application " + appSource + "\n" ; errMsg += "Code: "+ iErrorCode + " \n"; errMsg += "Category: " + errorType + " \n"; errMsg += "Message: " + args.ErrorMessage + " \n"; if (errorType == "ParserError") { errMsg += "File: " + args.xamlFile + " \n"; errMsg += "Line: " + args.lineNumber + " \n"; errMsg += "Position: " + args.charPosition + "...
Filed under:

< Previous 1 2 3 4 5 Next > ... Last »

Archives