Recently I was experimenting with Office 365 as a single-sign on source for an existing ASP.Net application. Unfortunately, most of the documentation I found focused on the use cases of having Visual Studio automatically add it as part of a new project, multiple versions of a very similar looking OWIN sample using built-in (black box) […]
Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.
Browsing "Server Programming"
Have you ever found yourself working on an ASP.net Action and noticed there isn’t a single Authorization attribute in sight? Or gone to edit an endpoint in WebAPI, only to realize you took a coffee break at exactly the wrong time and forgot to come back and add the authorization attribute…a month ago? Or the […]
Hi, A quick post for anyone else who has been literally dying from a lack of sleep trying to workout something that should be fairly simple. Quick background: I got interested in Web API after I decided to build a friend a simple booking website driven by HTML5, jquery and originally an ASP.NET/c# .NET 4 […]
About a year ago, I wrote about getting SquishIt up and running with the (awesome) Nancy Web Framework. You can read all about that here. Since then, things have changed a bit, as they are wont to do. I had mostly been ignoring this project, until an issue came up on the SquishIt mailing list […]
In version 0.9.2 and earlier, SquishIt had two options for handling browser cache invalidation. The default behavior was to append the hash to the query string, and the other was to include the hash in the combined filename. While both got the job don…
The other day I succumbed to the urge to upgrade my customized version of MVC Music store from ASP.Net MVC3 to MVC4. I had just finished watching Steve Sanderson’s excellent TechDays 2012 session, C#5, ASP.NET MVC 4, and asynchronous Web applications (if you’re doing ASP.Net MVC and haven’t watched it, queue it up, awesome presentation).
Everybody’s favorite LTD blogger / Belgian tweeter Chris asked me last week how he could get SquishIt working with the Nancy web framework. I had to admit, I had no idea. But couldn’t imagine it would be that much more difficult than making it work wi…
Following on from a comment on a previous post, this post will demonstrate how to use XML::Feed and Template::Toolkit to place your recent Stackoverflow activity onto your own web page. Aptly, this was aided by a stackoverflow question!
This time we…
For the past couple years, .net developers have been embracing various content preprocessors as they become more accessible. For the same couple of years, we’ve been trying to keep up. The dotLess port of the popular .less CSS extension has been getti…
This is a remarkably simple trick which I’ve found very handy. With a few lines of Perl you can take any RSS feed and format it to your liking.
Get the Feed
You can do this using LWP::Simple:
my $feed_url = ‘http://feeds.b…