Login or Sign Up to become a member!
LessThanDot Site Logo

LessThanDot

A Technical Community for IT Professionals

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 "ASP.NET"

6

ASP.Net – Single-sign on against Office365 with OAuth2

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) […]

Read More...
4

ASP.Net – Ensure your Actions aren’t missing Authorization with Unit Tests

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 […]

Read More...
0

Web API 2 – don’t get caught with your parameters down

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 […]

Read More...
3

SquishIt and Nancy – Part Deux

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 […]

Read More...
0

Using IIS Rewrite Rules With SquishIt Cache Invalidation

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…

Read More...
3

Upgrading from MVC3 to MVC4 and MVC4 Async

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).

Read More...
2

SquishIt and Nancy

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…

Read More...
0

Preprocessor Extensibility in SquishIt 0.9

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…

Read More...
6

SquishIt Integration with Amazon S3 / Cloudfront

For the unfortunate souls not in the know (or is it the fortunate souls using one of the myriad alternatives?), SquishIt is a library used to optimize content delivery at runtime in ASP.net applications. It combines and minifies javascript files, and a…

Read More...
6

Copying Buckets With The Amazon S3 API

One of the projects I have been working on is a system for managing content on our network of websites. One of our requirements is that changes don’t take effect immediately, but on a separate preview network where our customer can look to see that her…

Read More...
Next Page »