Tag: 'asp.net'

Coding Shorts: ASP.NET Core Middleware Explained
Coding Shorts: ASP.NET Core Middleware Explained
July 17, 2022

As I continue to make my Coding Shorts videos, I decided to dedicate the next few episodes to ASP.NET Core middleware. I'm going to show off some common middleware that more projects should be using. But before I dive into that, I wanted to make sure everyone understood how middleware actually works.

Forcing ASP.NET WebForms Designer Files to Regenerate
Forcing ASP.NET WebForms Designer Files to Regenerate
January 17, 2021

This is going to be a relatively short post. I've been working with a company on merging their ASP.NET WebForms project with their MVC project. It's been an experience.

Using FluentValidation in ASP.NET Core
Using FluentValidation in ASP.NET Core
November 18, 2019

I'm working on an example to explore some more complex modeling in EF (for SQL and NoSQL) but that's not ready so I thought I'd use it as a bed for some Validation testing I'm doing. The result is some exploration of the FluentValidation project that I haven't had time to dig into until now.

What's New in ASP.NET Core 3 Preview 6
What's New in ASP.NET Core 3 Preview 6
June 16, 2019

ASP.NET Core 3 seems to be taking a similar tact to version 1 as it is adding a lot of functionality and phasing it in with different previews. While a lot of the articles seem to be focusing on the non-ASP.NET features (e.g. WPF, WinForms, etc.), I thought it would be nice to let those of you who are ASP.NET devs know what is in Preview 6 just for you.

Avoid Lazy Loading in ASP.NET
Avoid Lazy Loading in ASP.NET
July 28, 2018

I know I am not going to make everyone happy with this post. I've been hoping to not have to make this post, but Entity Framework Core has finally added support for Lazy Loading, so it's time.

ASP.NET Core 1.0 Released!
ASP.NET Core 1.0 Released!
June 27, 2016

This day has been a long time coming but I want to congratulate the team at Microsoft for delivering the first version of ASP.NET Core! I’m very excited to start working with the bits on real projects.

Converting ASP.NET Core 1.0 RC2 to RTM Bits
Converting ASP.NET Core 1.0 RC2 to RTM Bits
June 27, 2016

If you’re like me, you’ve changed your projects from RC1 to RC2 only to find out that the RTM was coming quickly. Well we are here so we need some steps to convert projects.

ASP.NET 5 Webinar
ASP.NET 5 Webinar
November 20, 2015

I had a great time today talking about ASP.NET 5 on a Pluralsight webinar. Over 1,000 people were able to attend. Thank you all for tuning in!

Upgrading ASP.NET 5 Beta 8 to RC1
Upgrading ASP.NET 5 Beta 8 to RC1
November 18, 2015

UPDATED: Missed fixes.

ASP.NET 5 and Bower
ASP.NET 5 and Bower
November 10, 2015

As most of you already know, I have a new course on ASP.NET 5. I’ve just released a teaser video that shows how the Bower.json editor in Visual Studio works.

The Week at DEVIntersection
The Week at DEVIntersection
October 29, 2015

I want to thank all the great attendees I met at this week’s DEVIntersection (Fall 2015) conference in Vegas! Richard Campbell and company put on a great show!

Upgrading from ASP.NET 5 Beta 7 to Beta 8
Upgrading from ASP.NET 5 Beta 7 to Beta 8
October 20, 2015

If you’ve been following along, you know by now that I’m investing my time into learning ASP.NET 5. Now that the ASP.NET team have released a new version, let me help you move your code to the new version.

A Look at ASP.NET 5: Part 5 - The API
A Look at ASP.NET 5: Part 5 - The API
September 27, 2015

A Look at ASP.NET 5: Part 4 - MVC 6
A Look at ASP.NET 5: Part 4 - MVC 6
September 14, 2015

I had planned on finishing these a long time ago, but working on my Pluralsight course about ASP.NET 5 distracted me. Sorry about that.

ASP.NET 5 Identity and REST APIs
ASP.NET 5 Identity and REST APIs
September 10, 2015

As I’ve been digging into building apps with ASP.NET 5, I’ve had to get used to some of the new metaphors. Some of these make sense (especially if you’ve used Node before), but some are brand new to me. One of these metaphors I ran into was the idea of Identity notifications. 

New ASPNET5 Course Coming
New ASPNET5 Course Coming
August 25, 2015

I’m diligently working towards my new Pluralsight course and I am very excited about it. The new course is an end-to-end building of a web app using ASP.NET 5, MVC6, Entity Framework 7, Angular 1.4, and Bootstrap 3.x.

Mapping Between Entities and View Models
Mapping Between Entities and View Models
July 22, 2015

As many of you know, my recent course on Pluralsight dealt with Best Practices in ASP.NET: Entities, Validation and View Models. As I’ve worked with clients, there seem to be a non-ending list of ways to deal with data in ASP.NET.

Upgrading ASP.NET 5 Beta4 to Beta5
Upgrading ASP.NET 5 Beta4 to Beta5
July 22, 2015

For my upcoming course, I have a decent sized example that I’ll be teaching from. In the process of watching ASP.NET 5 go through the sprints, I have to upgrade the project at every step. I feel at some point I should be getting better at dealing with the sprints, but not yet ; )

My Entities, Validation and View Models Course
My Entities, Validation and View Models Course
June 26, 2015

A few weeks back, I released a new course on Pluralsight. This new course talks through what I consider “Best Practices” (though there are no absolutes) for ASP.NET Entities, View Models, and Validation.

A Look at ASP.NET 5: Part 3 - EF7
A Look at ASP.NET 5: Part 3 - EF7
March 17, 2015

NOTE: This post has been updated for changes in Beta 7 and later.

A Look at ASP.NET 5: Part 2 - Startup
A Look at ASP.NET 5: Part 2 - Startup
March 2, 2015

In this second post in my six-part series on ASP.NET 5, we’ll take a look at how your ASP.NET 5 applications will be configured upon startup. The startup in this new version of ASP.NET 5 is very different, but hopefully is clearer and easier to debug. At least that’s my impression so far.

ASP.NET 5: First Impressions
ASP.NET 5: First Impressions
February 4, 2015

I’ve been working on a new web site wholly using the ASP.NET 5 (e.g. vNext, MVC6, etc.) for the past couple of weeks. This means using Visual Studio 2015 Preview and the new project types in ASP.NET 5.

Time Zones and Servers
Time Zones and Servers
May 8, 2014

I am getting married and that means I get a bunch of development tasks to do for the wedding planning. I guess it’s my own fault, I did propose with an app.

Phil Haack and a Bad Joke on This Week's Podcast
Phil Haack and a Bad Joke on This Week's Podcast
May 5, 2014

As a fan of the direction of ASP.NET, I’ve been an avid fan of Phil Haack’s for some time now. His clarity of communicating why the web should work definitely helped ASP.NET become the great framework it is today. He’s now doing the same thing at GitHub!

New Course on .NET Code Reviews
New Course on .NET Code Reviews
May 1, 2014

One of the things that I help companies with are code reviews. I love doing code reviews. It let’s me look at a large codebase with fresh eyes and help a company out with a set of recommendations for improving their process, teams and code.

Web API 2's Attribute Routing: Looking Deeper
Web API 2's Attribute Routing: Looking Deeper
November 12, 2013

I recently recorded a new module for ASP.NET  Web API course (on Pluralsight) to cover the new features of Web API 2 (it’s not out yet, soon…I promise).

My New Web Development Course is Live
My New Web Development Course is Live
August 5, 2013

Are you getting ready to build a new website? Are you interested in shortening your development by using Bootstrap, AngularJS, Azure and ASP.NET? If so, my new course might be just for you.

ASP.NET MVP
ASP.NET MVP
October 1, 2012

Announcing: GiveAQuiz.com!
Announcing: GiveAQuiz.com!
June 4, 2010

Url: http://giveaquiz.com

Building AgiliTrain: Part 1 - Why ASP.NET MVC
Building AgiliTrain: Part 1 - Why ASP.NET MVC
January 28, 2009

Url: https://AgiliTrain.com

When is a ASP.NET Project Not an MVC Project?
When is a ASP.NET Project Not an MVC Project?
December 27, 2008

I am working on a hybrid ASP.NET MVC and MVC Dynamic Data project. To work on it I started with the MVC Dynamic Data project assuming this would be a Dynamic Data Project and an MVC project. As Scott Hanselman recently posted, you can mix and match pretty easily so the code was working but I was missing an important piece of functionality in Visual Studio:

Wildermuth.com By Example - Part 1
Wildermuth.com By Example - Part 1
July 7, 2008

In response to some requests that I have received, I decided to write a several part blog on some of the techniques I used in developing Wildermuth.com. In this first example, I am going to discuss the use of LINQ and data in my site. 

Links and New Site Technology
Links and New Site Technology
July 2, 2008

Now that the change to Wildermuth.com is complete I've gotten questions about broken links and such. I am keeping adoguy.com around and redirecting (permanent) the links so that old links aren't going to break. I don't plan on keeping it forever but for several years you can be sure. Its worth keeping them around. 

Silverlight and Line of Business Applications
Silverlight and Line of Business Applications
June 26, 2008

Url: https://www.livemeeting.com/cc/mseventsbmo/view...

Converting ASP.NET 2.0 to 3.5 for sites that use Silverlight 1.0
Converting ASP.NET 2.0 to 3.5 for sites that use Silverlight 1.0
March 22, 2008

Quick fix for a problem that was haunting me today:

Behind the Scenes at ADOGuy.com - Part 1
Behind the Scenes at ADOGuy.com - Part 1
July 28, 2007

I recently was talking with a prominent developer in the Microsoft community as they were creating a new version of their website. They had used a code generator to create most of the code on the new site which I thought was cool, but I immediately wanted to know how much functionality was included. As I talk with other MVP's as well as Regional Directors, it seems that I am in the distinct minority.  wildermuth.com is written almsot completely as custom ASP.NET code. Sure I used some components and started with someone else's HTML template, but most of the code is still C# to do much of the heavy lifting. Most of the people I talk with use community use pre-packaged systems to host their sites (including Community Server, DASBlog, etc.). 

Cookies Ruined the Breadcrumbs...
Cookies Ruined the Breadcrumbs...
July 26, 2007

Trish and I are moving soon.  She's been sending me links to rugs for our new living room floor. She found an interesting one today:

New Website Look
New Website Look
March 4, 2007

I've reworked my web site. It was looking a bit more like the uniform of a NASCAR driver than a web site, so I reworked the layout to make it cleaner. I admittedly stole many of my ideas from other web sites and templates I saw.

ASP.NET AJAX RTM and WCF Do Not Play Well Together...
ASP.NET AJAX RTM and WCF Do Not Play Well Together...
December 29, 2006

Url: http://ajax.asp.net/files/AspNet_AJAX_CTP_to_RC...

Sample Code for Custom ASP.NET Profile Provider
Sample Code for Custom ASP.NET Profile Provider
November 30, 2006

Url: http://wilderminds.blob.core.windows.net/downloads/adoguy.profile.zip

SqlDataSource Issues...
SqlDataSource Issues...
August 25, 2006

Url: http://wilderminds.blob.core.windows.net/downloads/datasourcesgone...

ASP.NET Web Application...Wahoo!
ASP.NET Web Application...Wahoo!
August 11, 2006

Url: http://webproject.scottgu.com/Default.aspx

Fritz Onion says Essential ASP.NET 2.0 Is Almost Done!
Fritz Onion says Essential ASP.NET 2.0 Is Almost Done!
July 8, 2006

Url: http://pluralsight.com/blogs/fritz/archive/2006...

ASP.NET 2.0 TreeView without Postback?  Solved!
ASP.NET 2.0 TreeView without Postback? Solved!
May 19, 2006

I've been scratching my head at the ASP.NET 2.0 TreeView control.  This control is meant to show a tree of items and each item can have a link to it.  For example, this is what I use for my menu on the left of the page. 

GridView, HyperLinkFIeld and FILE:// URLs
GridView, HyperLinkFIeld and FILE:// URLs
February 4, 2006

Url: http://lab.msdn.microsoft.com/productfeedback/v...

Lesson for the Day: Don't use XP Home for Development
Lesson for the Day: Don't use XP Home for Development
January 18, 2006

As some of you know I lost the screen on my main laptop (HP ZD8000, a lovely machine at 13 lbs) so I sent it into support where they are going to fix it but take 2 weeks to do it. I took over my old laptop from my dear Tricia to try and make it work for a while.

Web Application Project Preview from Scott Guthrie!  (This is HUGE)
Web Application Project Preview from Scott Guthrie! (This is HUGE)
December 22, 2005

Url: http://webproject.scottgu.com/

New ASP.NET 2.0 Web Projects Beta
New ASP.NET 2.0 Web Projects Beta
November 10, 2005

Url: http://www.cerkit.com/cerkitBlog/PermaLink,guid...

ObjectDataSources Don't Work with Typed DataSets
ObjectDataSources Don't Work with Typed DataSets
November 10, 2005

Url: http://msdn.microsoft.com/newsgroups/default.as...

SqlDataSources Unusable if Tables Allow NULL's
SqlDataSources Unusable if Tables Allow NULL's
November 10, 2005

I've been working on a problem for a client's project.  We are doing pretty raw RAD design for a small intranet project so I thought, hey let's just do SqlDataSources to get the pages up and running fast.  This works fine *if* we don't want any concurrency.

New Features Implemented
New Features Implemented
November 9, 2005

Url: http://wildermuth.com

New ASP.NET 2.0 Version of The ADO Guy
New ASP.NET 2.0 Version of The ADO Guy
November 7, 2005

Welcome to the new version of The ADO Guy.  Most of the changes are under the covers, but there are a few things to note:

Custom Profile Provider Code Up at TheServerSide.NET
Custom Profile Provider Code Up at TheServerSide.NET
November 2, 2005

Url: http://www.theserverside.net/articles/showartic...

How to share Forms Authentication between a 1.x Site and a 2.0 Site in the Same Domain
How to share Forms Authentication between a 1.x Site and a 2.0 Site in the Same Domain
October 12, 2005

There are several blogs that have discussed how to share an auth cookie between sites in a farm and how to do a true single-signon for a domain. Mark Brooks pointed me to these that help a lot:

New Article: "Creating a Custom ASP.NET Profile Provider"
New Article: "Creating a Custom ASP.NET Profile Provider"
September 27, 2005

Url: http://www.theserverside.net/articles/showartic...

Compile ASP.NET 2.0 Site to One Assembly!
Compile ASP.NET 2.0 Site to One Assembly!
September 26, 2005

Url: http://forums.asp.net/1039804/ShowPost.aspx

Nasty ASP.NET 2.0 Bug...Postponed?
Nasty ASP.NET 2.0 Bug...Postponed?
September 23, 2005

Url: http://lab.msdn.microsoft.com/productfeedback/v...

Problems Creating Custom DataSource Enabled Controls in ASP.NET 2.0
Problems Creating Custom DataSource Enabled Controls in ASP.NET 2.0
August 27, 2005

Url: http://lab.msdn.microsoft.com/productfeedback/v...

Re-writing ADOGuy.com for ASP.NET 2.0
Re-writing ADOGuy.com for ASP.NET 2.0
August 9, 2005

Back in the day when ASP.NET shipped, I converted this site from the existing ASP based site.  As an exercise to really bring in some new features I've wanted and to lose the ASP legacy (I actually still have a page or two that uses string concatenation to put together HTML Tables), I want to do a full re-write of the site. 

Rewriting ADOGuy.com: Part 1 - Requirements
Rewriting ADOGuy.com: Part 1 - Requirements
August 9, 2005

For the new wildermuth.com, I have the following requirements:

Master-Detail in ASP.NET 2.0 is Pretty Cool
Master-Detail in ASP.NET 2.0 is Pretty Cool
July 26, 2005

Button.OnClientClick() in ASP.NET 2.0 Rocks...
Button.OnClientClick() in ASP.NET 2.0 Rocks...
July 3, 2005

This new property (*not* event), allows you to wire up clientside code to be executed before the server-side onclick is handled.  In the old days we had to do this manually.  For example, this is how you would hook up a simple confirmation dialog:

ASP.NET 2.0: How SqlProfileProvider Stores its Data...
ASP.NET 2.0: How SqlProfileProvider Stores its Data...
July 1, 2005

This probably isn't entirely correct since I am just looking at the output (e.g. the database rows) to determine this.  For each object in profile (i.e. Users), there is a single row in the aspnet_Profile table.  This table is made up like so:

Why are ASP.NET 2.0 Projects so different from regular projects...
Why are ASP.NET 2.0 Projects so different from regular projects...
July 1, 2005

I am working on a portal project with ASP.NET 2.0 and I am loving it.  Lots of stuff is in the box that I need.  The project is using VB.NET so I wanted to make sure that everything was Option Explcit On and Option Strict On...but since it is a Web Application, the normal property pages are nowhere to be found (unless I am missing it).  If I create any other project type (I think), I can look at the project property pages and see the Compile tab:

New ASP.NET 2.0 Things I love!
New ASP.NET 2.0 Things I love!
June 17, 2005

I've been digging deep in to ASP.NET 2.0 the last couple weeks and I have been pleasantly surprised by a number of nice changes that probably didn't make the new features lists:

Postposed Features of ASP.NET 2.0
Postposed Features of ASP.NET 2.0
June 14, 2005

Url: http://msdn.microsoft.com/asp.net/whidbey/beta2...

Community Server 1.0 Released!
Community Server 1.0 Released!
February 19, 2005

Url: http://www.communityserver.org/

MetaBuilders ASP.NET Controls
MetaBuilders ASP.NET Controls
June 17, 2004

Url: http://www.metabuilders.com

Top 10 Web Application Security Problems
Top 10 Web Application Security Problems
February 3, 2004

Url: http://prdownloads.sourceforge.net/owasp/OWASPT...

Three Tier ASP.NET Apps
Three Tier ASP.NET Apps
August 12, 2003

I hear from a lot of readers that they are creating 3-tier ASP.NET apps and I always wonder if they know where the middle tier is.