Browse by Tags

All Tags » ASP.NET (RSS)

Certificate error with Web Platform Installer by findleyd

A friend of mine was having an issue getting the Web Platform Installer to work on his Windows Server 2008 R2 box. He said there was some sort of cert error and asked me to try https://go.microsoft.com/fwlink/?LinkId=158722 on my local machine to see...

ASP.NET MVC – Multiple buttons in the same form by findleyd

I keep seeing this question in forums and on twitter so I thought I’d post all the various ways you can handle this and what the pros and cons are. The Scenario Imagine you have a user signup form. There are several textbox fields for entering the new...
Filed under: ,

ASP.NET MVC ModelState should work like TempData by findleyd

I prefer to have the actions that forms post to just process the posted data and then redirect to a different action for viewing the results. So in order to pass validation errors back to the form action I need ModelState to work like TempData does. In...
Filed under: ,

A Quick Fix for the Validator SetFocusOnError Bug by findleyd

The ASP.NET validators have this nice property called "SetFocusOnError" that is supposed to set the focus to the first control that failed validation. This all works great until your validator control is inside a naming container. I ran into this recently...
Filed under: ,

Fix ReturnUrl When Sharing Forms Authentication with Multiple Web Applications by findleyd

Scenario: You have two web applications www.mydomain.com and login.mydomain.com. The login site provides a centralized login application and www contains any number of web applications that should use the auth ticket issued by the login site. The auth...
Filed under:

A VS.NET Macro to Generate Machine Keys. by findleyd

I needed to create a new machine key for an asp.net site. I found a couple of command line utils out on the web that would create a new key but I thought it would be easier to just have it avail in VS.NET. So, I threw together this little macro that will...
Filed under: , ,

LearnExpression.com is live. by findleyd

We recently launched our video tutorial site for Expression Web Designer . Dustin, our resident graphic artist is pumping out the video tutorials as well as designing the site using the tool. It's good to have some how to vids from a designers point of...
Filed under:

Scott Guthrie presents at NDDNUG by findleyd

Scott gave a whirlwind presentation to a standing room only crowd at the North Dallas Dot Net User Group tonight. A wide range of topics were covered from IDE tips and tricks to ASP.NET tips to MS AJAX to LINQ and DLINQ (I still like to call it DLINQ...

ASP.NET AJAX 1.0 (excitement builds) by findleyd

I just downloaded beta 1 of ASP.NET AJAX today. Wow! Lots and lots of changes. The type system has been greatly simplified. I like this. The move to prototypes over closures was a good decision. The core scripts are much easier to read and comprehend...
Filed under: , , , ,

Problems with RewritePath and Search Engines. by findleyd

We just recently launched the new version of LearnVisualStudio.NET. The implementation uses the RewritePath method to serve up dynamic pages based on templates. All of our pre deployment testing showed that this was all working without a hitch. Once we...
Filed under: , , , ,
More Posts Next page »