Wallace McClure
Wallace B. McClure graduated from the Georgia Institute of Technology in 1990 with a Bachelor of Science in Electrical Engineering. He continued his education there, receiving a Master's degree in the same field in late 1991. Since that time, McClure has done consulting and development for such companies as Coca-Cola, Bechtel National, Magnatron, and Lucent Technologies, among others. He is the founder and president of McClure Development. [Read More...]
|
More Wally - Wallace B. McClure
Extra whitepsace / line when using the ASP.NET AJAX UpdatePanel
Have you been getting an extra line or added whitepsace when using the ASP.NET AJAX UpdatePanel? I recently was. To me, it wasn't a big deal, but I knew the customer wouldn't like it. I spent some time hunting down this issue. I found some entries in the forums at asp.net. Check out the RenderMode property. I set it from block (default) to inline and that seems to have resolved the issue.
Wally
A New Approach to HttpRuntime.Cache Management by David Penton
For most ASP.NET developers, the Cache (ala System.Web.Caching) offers great promise for scalability and performance, especially in a mostly read-only environment. The hardest part about caching is populating it with data. What are the safest ways to get this data? What are the safest ways to store this data? The author will discuss his framework for accessing and storing data in the ASP.NET cache (with a "Generics" twist). He also shows how to keep your cache fresh with the help of detailed explanation and relevant source codes.
Url: http://aspalliance.com/1705_A_New_Approach_to_HttpRuntimeCache_Management
Marketing payback is a hard thing to calculate. At the the end of the day, its hard to calculate the value of increasing name recognition, having people talk about you, and such. Dropping down to the hard dollar costs and comparing the money that comes in versus the cost of the tshirts, we're looking at a 130x payback on the tshirts and the "More Wally" slogan. I'm thinking this was probably a good investment. Expect to see more variations on the theme.
ASP.NET Podcast Show #121 - Phil Haack with an ASP.NET MVC Demo - Video
Subscribe to M4V for iPod Users.
Subscribe to MP3 (Audio only).
Show Notes:
- Phil Haack comes on the show and gives a simple ASP.NET MVC Demo.
- Source Code is below and downloadable.
Source Code:
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="MvcApplication2.Views.Home.Index" %>
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
<h2><%= Html.Encode(ViewData["Message"]) %></h2>
<p>
To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
</p>
Region 1: <span id="region1"></span>
<hr />
Region 2:<span id="region2"></span>
<p>
<input type="button" onclick="DoSomething()" value="Click Me" />
</p>
<script type="text/javascript">
function DoSomething() {
$.getJSON("/Home/GetJson", null, function(data) {
$("#region1").text(data.Message1);
flash('#region1');
$("#region2").text(data.Message2);
flash('#region2');
});
}
function flash(selector) {
$(selector)
.css('opacity', 0)
.animate({ backgroundColor: 'khaki', opacity: 1.0 }, 800)
.animate({ backgroundColor: '#ffffff' }, 350, function() {
this.style.removeAttribute('filter');
});
}
</script>
ASP.NET Podcast Show #120 - Deploying Web Applications with Vishal Joshi
Show Notes:
- Web Deployment
- WAP vs. Websites
- WAP
- Websites
- Web Setup project produces an MSI file
- WDP Add on
- MSDeploy.exe
- Sql publication wizard
- Rick Rolling
ASP.NET AJAX Futures 4.0 available today
Wow, Bertrand and his team have put together a new download today. Thanks a lot guys. Here's the new library. http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=15511
I'm hearing ScottGu say that there are different users for MVC and its not for everyone. He says that MVC is not for everyone. An excellent viewpoint. over the past couple of months, I've moved away from a view of who needs MVC to a view of a certain class of users do need MVC. I think the users that the developers that need MVC are those developing very high volume web sites and typically public sites. Most public sites and private applications don't have this need. Its like the difference between a car and a sports car. My Toyota is a great vehicle to go to the grocery store. It is great on the road to a customer. Its not a great vehicle to get into a race or to impress people. Understand your intended audience.
A couple of things that I just heard about on .NET 3.5 SP1 that I was not aware of:
Cold startup of .NET applications. It sounds like MS has improved how they are reading data from the filesystem on startup. The feature is meant for windows gui apps. You *might* see some improvements in ASP.NET startup, but who knows.
I'm hearing that the bits should be out in the next few weeks. I've got this in a VPC right now, so it will be good to work with this on my main machine.
I read a Wired magazine article on Julia Allison while on the flight from Atlanta to Seattle. Basically, Julia teaches the art of self promotion. There were several suggestions that she had for people along with explanations as to why to do these things. I found them rather interesting. While I don’t do everything that Julia describes, I do a bunch of her suggestions. Also, I’ve got several things that I do that Julia does not do (Anyone need a tshirt?). In the end, its about doing the right things and then promoting them.
One thing not mentioned in the article is “if you don’t ask your friends for help, don’t expect your enemies to help you.” Trust me, there are *real* enemies out there in the world. Everyone has them!
Wally
Warning, you can lose money when investing
http://news.cnet.com/8301-13577_3-9994087-36.html?tag=nefd.top
I thought this article was interesting. It shows that it is entirely possible to lose money when investing. PodTech took approximately $7 million in capital and turned it into $500k. This is a hard thing to swallow, but its unfortunately the truth. Invests don't always grow, in fact, they typically fail in the technology world. I had lunch a couple of weeks ago with an investor friend. He said that when you invest in a tech company, there are two outcomes:
- A big payout.
- Zero.
His point is that there is no inbetween. These things happen.
Wally
Displaying Version information in C# ASP.NET 2.0 and 3.5.
I needed to display the application version in a file based ASP.NET 3.5 application written in Visual Basic. I wrote the following methods in my AssemblyInfo.vb file in the App_Code directory and it worked! Out popped the Version Number of 0.0.5.0 instead of that annoying 0.0.0.0.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
[assembly: AssemblyTitle("blah")]
[assembly: AssemblyCopyright("blah")]
[assembly: AssemblyVersion("0.0.5.0")]
[assembly: AssemblyFileVersion("0.0.5.0")]
/// <summary>
/// Summary description for AssemblyInfo
/// </summary>
public class AssemblyInfo
{
public AssemblyInfo()
{
//
// TODO: Add constructor logic here
//
}
public static string GetVersionNumber()
{
return (System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString());
}
}
Displaying Version information in Visual Basic ASP.NET 2.0 and 3.5.
I needed to display the application version in a file based ASP.NET 3.5 application written in Visual Basic. I wrote the following methods in my AssemblyInfo.vb file in the App_Code directory and it worked! Out popped the Version Number of 1.0.0.10 instead of that annoying 0.0.0.0.
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' General Information about an assembly is controlled through the following
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.
' Review the values of the assembly attributes
<Assembly: AssemblyTitle("blah")>
<Assembly: AssemblyDescription("blah")>
<Assembly: AssemblyCompany("blah")>
<Assembly: AssemblyProduct("blah")>
<Assembly: AssemblyCopyright("2005, 2006, 2007, 2008")>
<Assembly: AssemblyTrademark("")>
<Assembly: CLSCompliant(True)>
'The following GUID is for the ID of the typelib if this project is exposed to COM
<Assembly: Guid("BCB55B59-EA39-4C62-BFFE-DE7800B420C8")>
' Version information for an assembly consists of the following four values:
'
' Major Version
' Minor Version
' Build Number
' Revision
'
' You can specify all the values or you can default the Build and Revision Numbers
' by using the '*' as shown below:
<Assembly: AssemblyVersion("1.0.0.10")>
Public Class AssemblyInfo
Public Shared Function GetVersionNumber() As String
Return (System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString())
End Function
End Class
Nathan Blevins wrapup on Knoxville Satelite GiveCamp
Nathan just posted a roundup of the Knoxville Satelite GiveCamp. Way to go Nathan!
Knoxville GiveCamp organized by Nathan Blevins in concert with Ann Arbor, MI
By Nathan Blevins:
The participants were: Ben Farmer, Dylan Wolf, Jenny Farmer, Joe Simpson, and I (Nathan Blevins). Basically, we took on two projects. Our main project was
WonderPuzzle.com. This site is dedicated to those individuals who have
children with disabilities that cannot be diagnosed by doctors. It gives
them a site to discuss, become more informed, and to share their own stories.
Our main job was revamping the site's look as well as porting the current site
from dot Net Nuke to Sitefinity CMS. The new site has yet to be pushed
live but you can find the current one at the .com address. Also, we
assisted the Ann Arbor Hands On Museum Project by acting as a reference for PHP
issues. Dylan worked very diligently with them and did an excellent
job. Finally, although Mike was unable to participate, he dropped by long
enough to give everyone a Best Buy gift card and to thank them for helping out.
Although everything started off pretty rocky, I think everything worked out to
a good end.
Pics from the event on Saturday.
Nine Questions with Wally McClure
http://www.blogusmaximus.net/archive/2008/07/08/123658.aspx
Recently, Chris Williams sent me a questionaire for his blog. I had some time on my wya beack from NM and sent it back to him. Here are the answers, for better or worse.
