aspnet

A 9-post collection

Azure Mobile Services .NET Backend Tips

I've been working with Azure Mobile Services since it was released and until recently only the JavaScript backend was available, built using node.js. Although it is very mature with many options, the community was pressuring for a .NET option and now it is available. Modeled much like a standard Web API / MVC project at first glance, there may be a few things that you like to take advantage of in these types of projects that throw you for a loop when using the new .NET option. These include Dependency Injection, Entity Framework (Migrations and Relationships), and the help page. Getting Started You have two options for getting a project started. 1. Go to the Azure Portal and create a...


ASP.NET Presentations at DEVIntersection

Had a great time presenting Async Application Development and the Social Authentication options available in ASP.NET this week at DevIntersection. Building Async Applications in ASP.NET Async has become much easier over time to code and maintain with the async/await keywords and adding the capabilities in WebForms applications can improve overall page response times if done correctly. Here are the additional links and the slides from the session. Presentation Slides Hanselminutes Podcast – Everything .NET programmers know about Asynchronous Programming is wrong. Using Asynchronous Methods in ASP.NET 4.5 Bring Your Own Authentication yo MVC As I mentioned in my session on Social loin integration, adding the capability is very easy through since the addition of OWIN/Katana...


DEVIntersection: 3 Days of ASP.NET, Azure, SQL & More!

Come out to DEVIntersection April 13-16 at the JW Marriott in Orlando to get a chance to interact with a number of community experts such as Scott Guthrie, Scott Hanselman, Douglas Crockford and many more.I'll be giving two talks in the ASP.NET track:AS12: Building Asynchronous ASP.NET ApplicationsLearn how to take advantage of the new async/await operations to keep your applications responsive and avoid the performance bottlenecks. In comparison to how async code has been written with callbacks, the new way allows for cleaner more readable debug-able code. In this presentation topics covered WebForms, MVC, EF6 some tooling.AS11: Bring Your Own Authentication (BYOA) to MVCMost of us are familiar with the the phrase "Bring Your...


Custom Routing with IRouteConstraint for ASP.NET Web API

I will admit that Regex and I do not speak anymore.  In fact, even when we did it was never a really nice conversation and sometimes ended in me cursing and/or leaving the room. If you have had this same experience when creating custom routes in ASP.NET MVC then you know what I'm talking about. IRouteConstraint IRouteConstraint has been around for some time in MVC, but it is also available in Web API too because of course it is based on the same stack for routing. Undoubtedly, the most difficult part of routes is debugging or getting the Regex right. I recently re-lived this experience when having to create a custom API route for a project something...