ASP.NET News from Blogger: Steven Smith   Get the feed of: Steven Smith

Total News: 681

Telerik Hudson Office Signs

The new signs went in earlier this week, replacing the NimblePros signage with Telerik in the new Hudson office location.  Youll find our office at the corner of Stoney Hill Drive and Darrow Road...

Common Design Patterns Presentations

This month I presented on Common Design Patterns at two regional events.  Ive given this talk a few times before, and it continues to evolve.  The first one was on 4 May at Stir Trek, as a r...

Principles of Product Development Flow Book Review

One of the more advanced books Ive read relating to the subjects of Software Development and Lean is The Principles of Product Development Flow: Second Generation Lean Product Development by Donald G....

Beyond Role Based Authorization in ASPNET MVC

A fairly frequent requirement in applications is to check for authorization to perform an action.  At the most basic level, this might just involve seeing if the user is authenticated (at all) or...

New is Glue

When youre working in a strongly typed language like C# or Visual Basic, instantiating an object is done with the new keyword.  Its important that we recognize the significance of using this keyw...

Configuring Web Apps To Behave Like Native Apps on iOS

There are a number of things you can do with your web-based application to have it behave like a native iOS application.  One of these I mentioned previously, which is to disable the users abilit...

How Do I Disable Zoom in an iPad iPhone Mobile Web App?

If youre building web-based applications for mobile devices like the iPad/iPhone and you want to mimic native applications look and feel and experience, one thing you may want to do is disable the pin...

Asus Zen Ultrabook Revisited

A couple of months ago I got an Asus Zen ultrabook, which I posted about when I first got it, and a month or so later.  Now that Ive had it a while, I thought Id post one more time with how its c...

How to use System.Web in a Console Application

Ive been bitten by this and have seen others run into it enough times that I thought Id blog about it.  Lets say youre creating a new Console, WPF, or Windows Forms application in .NET 4.  Y...

Kanban Book Review

While researching material for my Kanban Fundamentals video training course on Pluralsight, I read Kanban: Successful Evolutionary Change for Your Technology Business, by David J. Anderson.  Ive ...

Make IIS Express the Default for VS2010 Web Projects

Heres a quick tip that will help you leave Cassini in the past where it belongs.  If youre using VS2010 SP1, you can configure your IDE so that it will automatically choose IIS Express out of the...

Getting Started with Single Page Applications in ASP.NET

One of the new features in ASP.NET MVC 4 (Beta) is a new project template for Single Page Applications (SPA).  You can download the latest version of MVC4 from http://asp.net/mvc/mvc4.  Once...

How to Give Feedback on Microsoft Developer Products

In the last few years, a number of Microsoft dev teams have started using online tools to manage how the community can offer feedback.  If youre a Microsoft developer, and especially if youre a w...

Personal Kanban Book Review

Not long ago, while preparing my Kanban Fundamentals video training class for Pluralsight, I read Personal Kanban, by Jim Benson and Tonianne DeMaria Barry.  If youre new to the concept of kanban...

Sending Email from a Sitefinity Module with Attachments

A fairly common use case in web applications is the need to send an email, and applications built on top of Telerik Sitefinity are no different.  Since modules are simply .NET DLLs, youre free to...

Asus Zen Ultrabook One Month Later

I wrote a few weeks ago about my new Asus Zen Ultrabook computer.  Ive  been using it as my primary laptop computer since then, and thought Id write up a follow-up on how its been.  Ove...

Excel Cumulative Flow Diagram

Im working on a Kanban Fundamentals course that should go live soon on Pluralsight.  One of the topics Im touching on is Cumulative Flow Diagrams, and how these can be used to analyze flow of a p...

Fixing Floating Rectangles in ASP.NET StackedBar Chart

In working on a clients reporting system, I ran across some StackedBar charts that were using the System.Web.DataVisualization.Chart control that were having some problems.  The biggest one was t...

Team Workspace Reflections

Weve been fans of team rooms and collaborative work environments at NimblePros for some time.  In building out our new building, we took care to create several large open spaces to be used as tea...

Code Review Singleton Pattern Issues

One of my applications relies on a singleton pattern to create a single instance of a server which processes requests from many different ASP.NET handlers.  It is created using pretty much standa...

DevReach Online 2010 - Software Fundamentals

  I just finished my DevReach Online presentation, A Whirlwind Tour of Software Development Fundamentals.  In this 45-minute talk, I covered what I consider to be fundamental principles, pat...

Outlook Send Mail Infinite Loop - Message in Outbox

Last week I encountered a problem with Outlook that I’m happy to report I’ve just solved.  I found a bunch of things on the Interwebs that looked like they might be useful, but none o...

Learning To Code with the Azure SDK - Show Me The Code

I’ve been working with Azure off and on since last summer, and like any new API or platform, there are hurdles involved with the learning curve.  This is especially true for pre-release sof...

XBox 360 - Home Media Center

Recently I picked up an HP MediaSmart EX470 Windows Home Server to help consolidate my files at home and to provide a simple backup solution.  It’s been great and it’s an extremely ec...

Stories Too Big - Vertical Slices

I have a client who lists as one of the key challenges with implementing agile practices with their teams as managing to define user stories that are valuable but not too big.  This is actually a...

Laptop Rebuild - Essential Apps

When we last saw our hero, he had fallen victim to an evil plot to disable his computer’s ability to boot up.  After great efforts at recovery, eventually he was forced to concede defeat to...

Reviewing Scrumban the Book

Ive been reading a bunch of kanban and lean books recently as I work on my Pluralsight course on Introducing Kanban (not published yet will link to it when it is).  The most recent one Ive finis...

Updating Blog to Orchard and Switching Domains

So, yesterday I posted a review of the new Asus Ultrabook and, as has become rather predictable lately, the virtual web server hosting my Graffiti-powered blog started having 100% CPU for quite a whil...

About Steve

Hi, I'm Steve Smith.  I go by Ardalis online because, well, you'd understand if your name was Steve Smith. This is now the fifth place I've had a blog, if you don't count my initial home page and...

Run Your Unit Tests in Parallel to Maximize Performance

If youre at all serious about testing, at some point youre going to have a rather large suite of tests that need to run, and youll find that your builds are taking longer than you would like because o...

Unit Test or Integration Test and Why You Should Care

There remains a fair bit of confusion about what constitutes which kind of test.  Many developers are fairly new to testing, and tend to call any tests of their code unit tests even when theyre d...

CodeMash 2012 Sessions

Last week I presented two half-day workshops at CodeMashs PreCompiler on Wednesday (with Brendan Enrick), and a session on ASP.NET MVC 4 on Thursday.  CodeMash 2012 was an amazing conference and ...

Silverlight 5

The reports of my death have been greatly exaggerated. Mark Twain Today, Silverlight 5 is released and available for download!  The Release Candidate has been around for some time, and many...

Handy EnumerableExtensions

Theres a great site for finding extension methods, ExtensionMethod.net.  I dont believe either of these came from there, and Ive not (yet) submitted them there, but here are a couple of extension...

View HTML Source of Email in GMail and Google Apps

If youre working on creating a pleasant-looking HTML email template for your sites newsletter, youll want to test it out on the major email clients, including Outlook and GMail.  For instance, if...

Inner Fields and Lazy Initialization in C#

Using lazy initialization in C#, a classs state is set up such that each propertys get method performs a check to see if the underlying field is null.  If it is, then it calculates or populates t...

RazorEngine Performance and Template Caching

Ive been using RazorEngine on a project and have been impressed with its simplicity and ease-of-use.  However, the performance of the application isnt quite where I need it to be, and I was prett...

Working with Lazy Loading in Entity Framework Code First

Entity Framework 4 has Lazy Loading built-in and enabled by default.  Heres a quick bit of code to show you how to work with this feature.  To get started with this, simply create a new Cons...

Speaking at DevReach 2011

Im very pleased to be speaking again at DevReach in Sofia, Bulgaria next month.  As usual, the conference has an amazing list of speakers (which Im still somewhat amazed includes me), with Scott ...

3 Tips to Improve Your Connection Strings

Due to some database moves, Ive recently been touching a lot of connection strings, which has me thinking about the topic.  In fact, I put together a short survey on twitter, and invited a bunc...

Cleveland 2011 Software Engineering 101

Next Friday, 7 October 2011, Microsoft in Cleveland is hosting a free one-day event focused on the basics of Software Engineering.  There are a handful of seats left before the event sells out.&#...

Wiring up an AutoCompleteBox to a JSON Service in Silverlight

Im currently building an internal application for The Code Project that needs to be able to transfer the contents of some potentially very large files over the wire.  After considering various wa...

Set JsonRequestBehavior to AllowGet

If youre working with ASP.NET MVC and JsonResult, you may encounter this error: This request has been blocked because sensitive information could be disclosed to third party web sites when this is us...

Bidirectional Entity Foreign Key Names in EF Code First

Ran into a small problem today, where I had two classes referring to one another using EF 4.1 Code First.  Lets say I had a class Item and another class ItemHistory.  ItemHistory has a prope...

WinRT and the Paradox of Choice

In my recent analysis of the Windows 8 / WinRT options for building Metro style Apps, I mentioned the many choices Microsoft is offering for building these applications.  While I agree with Micro...

Analyzing Windows 8 and WinRT

Last week at BUILD, Microsoft introduced their vision for the next generation of Windows devices with announcements and previews of Windows 8, Metro style applications, and WinRT.  The BUILD conf...

Moving Beyond Enums

I just published an article on ASPAlliance on Moving Beyond Enums, describing when and how to move from enums to classes in your code when you start demanding more from your enums than they were desig...

Working with SimpleMembership outside of ASP.NET

Im using SimpleMembership, from WebMatrixs distribution(WebMatrix.WebData), with an ASP.NET MVC 3 application.  You can find the NuGet Package for SimpleMembership.Mvc3 here, and installing it is...

Validating Emails for System.Net.Mail

If youve worked with the System.Net.Mail API to send out messages, you may have run into the fact that when you add an email address to a message, it will sometimes throw an exception if the email doe...

Installing Visual Studio Load Test Agents and Controllers

Visual Studio includes support for distributed load testing through the use of Test Agents and Controllers.  For reference, there are a couple of MSDN Walkthroughs on Installing and Configuring V...

View Other bloggers