Home / ASP.NET Weblogs

April 2011 - Posts

Posted to:
by: 
04-26-2011, 12:49 PM

Using AgFx with OAuth

New Release First, if you wander on over to the AgFx CodePlex site, you'll see that there is a new release up. There's some new things in this new release such as some statistics about the performance of your application, the ability to specify exact cache expiration, and some bug fixes. The majority of feedback that I have gotten has been feature requests or "how do I?", and few in the way of bug reports. So it's working well for most people, hopefully that continues. Please file bugs if you find them! All of the below references the code sample that you can find in the CodePlex source tree at AgFx\Samples\Facebook.Auth.Sample . OAuth with Facebook and AgFx on Windows Phone 7 Something applications commonly want to do...
Filed under: ,
Posted to:

ASP.NET How-Do-I Video Archive

I’ve been seeing a rise in inbound searches from Google and Bing of people looking for “Joe Stagner Videos”. The ASP.NET web site team has been doing a lot of reorganizing on the www.asp.net web site and some of the older videos, while still there, are not as easy to find. (They need to make [...] Read More...
Filed under:
Posted to:
by: 
04-26-2011, 4:00 AM

Hacking Education: A Contest for Developers and Data Crunchers

The folks over at DonorsChoose.org are running an "open data" context in April that I thought you all might be interested in! DonorsChoose is an online charity that makes it easy for anyone to help students in need. The difference is that the Donor can target a project directly...you can choose where your $1 goes. So far, more than 165,000 teachers at 43,000 public schools have posted over 300,000 classroom projects supported by 409,000 citizen philanthropists who have made >900,000 project donations at DonorsChoose.org to date. That makes for a whole lot of data that is publicly accessible for a contest, after of course scrubbing identifying information about teachers and donors. The resulting info will include everything from...
Posted to:

Beginning the Contoso Karate WebMatrix Sample App

Today I began work on a new Sample Application called Contoso Karate My proposed “design” is as follows: The idea will be to create a production ready web site that represents your kids Karate School. So, not a big production B2B or B2C Ecommerce site but still something with nice features, community and social functionality. [...] Read More...
Filed under: ,
Posted to:

Developers ! Join the UN-Contest and Win, well, nothing !

This spring I wanted to run a contest for ASP.NET developers to drive contributions to Open Source projects. I found a couple of xBox 360s, Kinects, and a bunch of software to give away to the winners. Because there are lots of laws around how contests need to be run in order make sure everything [...] Read More...
Filed under:
Posted to:

Conditional Filters in ASP.NET MVC 3

Say you want to apply an action filter to very action except one. How would you go about it? For example, suppose you want to apply an authorization filter to every action except the action that lets the user login. Seems like a pretty good idea, right? Currently, it takes a bit of work to do this. If you add a filter to the GlobalFilters.Filters collection, it applies to every action, which in the previous scenario would mean you already need to be authorized to login. Now that is security you can trust! You can also manually add the filter attribute to every controller and/or action method except one. This solution is a potential bug magnet since you would you need to remember to apply this attribute every time you add a new controller. Update...
Posted to:

Working with SSL at Development Time is easier with IISExpress

One of the demos in my Mix 11 talk " An Overview of the MS Web Stack of Love " was showing how IIS Express and Visual Studio SP1 (as well as WebMatrix) can make working with SSL (Secure Sockets Layer) a heck of a lot easier. If you've used Cassini before (that's the little built in Visual Web Developer Server) you've likely noticed that I doesn't support SSL. This makes working with real world sites a little challenging. If you want your Login pages and Account Management pages to use secure sockets, you'd typically have to do all your work with the full version of IIS, either installed on your own machine or using a shared server. Here's a few ways to enable SSL. The first is new in Visual Studio 2010 SP1 and...
Filed under: , , ,
Posted to:

Hanselminutes Podcast 261 - ASP.NET MVC 3 Tools Update with Phil Haack

Scott and Phil sit down to talk about the new ASP.NET MVC 3 Tools Update. Have you updated? That button up there will automatically check your system for SP1, as well as get you IIS Express, SQL Compact and basically the whole "Web Stack of Love." That's the official "install it all" button. It's a great way to get a fresh machine ready to develop with. Don't worry, it won't install VS Express if you have VS already. That said, if you're paranoid, you can just download the MVC 3 installer . Download: MP3 Full Show Links: http://www.asp.net/mvc - All new MVC site with Pluralsight videos for free and new Learning Resources http://www.asp.net/mvc/mvc3 - Release notes and info on the MVC 3 release NOTE: If...
Filed under: , ,
Posted to:

Release Early, Release Often

Eric S. Raymond in the famous essay, The Cathedral and the Bazaar , states, Release early. Release often. And listen to your customers. This advice came from Eric’s experience of managing an open source project as well as his observations of how the Linux kernel was developed. But why? Why release often? Do I really have to listen to my customers? They whine all the time! To question this advice is sacrilege to those who have this philosophy so deeply ingrained. It’s obvious! Or is it? When I was asked this in earnest, it took me a moment to answer. It’s one of those aphorisms you know is true, but perhaps you’ve never had to explain it before. It’s hard to answer not because there isn’t a good answer, but because it’s difficult to know where...
Posted to:

Orchard 1.1: what's in it for developers?

My previous post focused on the most visible changes in Orchard 1.1 but we also made a few changes to the platform that open up new developer scenarios. Suppressing Dependencies Orchard is essentially built around the idea of dependency injection, but for those services that need to have a unique implementation, it was almost impossible to swap the default implementation with your own without hacking into our Autofac code. With Orchard 1.1, you may now suppress a core dependency in order to substitute your own. Here is some code from Piotr's excellent Advanced Menu that uses that new feature: namespace Szmyd.Orchard.Modules.Menu.Filters { [OrchardSuppressDependency( "Orchard.UI.Navigation.MenuFilter" )] public class MenuFilter...
Filed under: ,

< Previous 1 2 3 4 Next >

Archives