Home / ASP.NET Weblogs

April 2012 - Posts

Posted to:
by: 
04-29-2012, 2:25 PM

Using Nightly ASP.NET Web Stack NuGet Packages

We are very excited about the recent announcement of nightly NuGet packages being available on MyGet . This blog will show using these packages with Visual Studio 2010 but first you should be aware of the disclaimers . In short, these packages come with no guarantees and they do not substitute for the official installers which contain the official MSI with NuGet packages. And of course, don’t use your dev machine for anything important. Prerequisites: Visual Studio 2010 and GacUtil In contrast to compiling the code yourself , it is possible to use the nightly NuGets with ASP.NET MVC 4 Beta for Visual Studio 2010 installed so that you can use the project templates. The instructions here are for .NET 4.0 and Visual Studio 2010 only – it won’t...
Posted to:
by: 
04-27-2012, 12:11 AM

ASP.NET Web API Updates – April 27

Here’s a few more updates coming your way in ASP.NET Web API. As in the previous update the code has been checked into our CodePlex source code repository but haven’t yet been released as part of our official installer . Think of this as a sneak-peak for you to try out and comment on as part of our source code repository (see Getting Started With ASP.NET Web Stack Source on CodePlex for details). Helper for Wiring up Message Handlers HttpMessageHandlers are pluggable “filters” that sit between HttpClient and the network and allow you to modify the request and/or response as they travel from a HttpClient to the network and back. HttpMessageHandlers are plugged together in a “Russian doll” model where each handler delegates to the inner handler...
Posted to:

Create a great mobile experience for your website today. Please.

People are fascinating with making mobile web sites. It's amazing that we're not impressed with the fact we carry tiny supercomputers in our pockets but we're amazed when a website looks decent on our phones. There's a few directions you can go when going mobile for your site, and the key is finding balance. You can: Do nothing. Your site will probably work on a mobile device but each day it will look worse and worse to a discerning public with increasing expectations. Use Adaptive/Responsive Design. This is my favorite option. If your site is read-mostly (rather than a data-entry application) you can get a great experience on all devices by adaptively rendering your site based on screen-size. If you're focused on performance...
Filed under: , ,
Posted to:
by: 
04-23-2012, 3:58 PM

Recent ASP.NET Web API Updates – April 24

Here’s a few updates coming your way in ASP.NET Web API. The code has been checked into our CodePlex source code repository but haven’t yet been released as part of our official installer . Think of this as a sneak-peak for you to try out and comment on as part of our source code repository (see Getting Started With ASP.NET Web Stack Source on CodePlex for details). Cookie Support Until now the HTTP Cookie and Set-Cookie headers were only exposed as raw strings and not structured classes in the HttpRequestMessage and HttpResponseMessage classes. This made it cumbersome and error prone to work with cookies in ASP.NET Web API. To fix this we introduced two new classes called CookieHeaderValue and CookieState that follow the RFC 6265 HTTP State...
Posted to:
by: 
04-22-2012, 3:46 PM

ASP.NET Web API Content Negotiation and Accept-Charset

There are several good blogs on content negotiation in ASP.NET Web API (see for example ASP.NET Web API: How content negotiation works? ) describing how to get JSON, XML, and other response formats depending on what you ask for in a request using the Accept HTTP request header field . However, recently we added support for the header Accept-Charset which can be used by the client to indicate which character encoding it prefers the response to be encoded with. Typical encodings are UTF-8 and UTF-16 (and our built-in formatters support those) but the set is extensible to other encodings as well. Note: This is the first in a series of blogs on upcoming features that have been checked into our CodePlex source code repository but haven’t yet been...
Posted to:

Electronics for developers with Netduino Go

Wouldn’t it be great if you could build your own stuff? Microcontrollers let you do that, but they usually require dealing with a lot of complexity and unknowns. If you’re a software developer, chances are you don’t really know how to use a capacitor, or how a transistor works, even though it is at the heart of all computers. Well there is a way now to develop awesome hardware projects without knowledge of electronics, just by connecting modules together. Netduino Go is a platform that allows for that without constraining the types of projects you can build. Today the number of available modules is still limited (the platform was released only last Wednesday), but it is expected to grow fast. In this post, I’ll introduce you to the platform...
Posted to:
by: 
04-20-2012, 1:55 AM

Great Free Course on Building ASP.NET MVC Apps With EF Code First, HTML5 and jQuery

Pluralsight has developed a great training course on Building ASP.NET MVC Apps with EF Code First, HTML5 and jQuery .  It is presented by the most excellent Dan Wahlin , and is really comprehensive.  Details of the course outline can be found here . Free 1-Month Subscription to the Course Pluralsight is offering a special promotion that allows you to get a free 1-month subscription to watch the above course as many time as you want at no cost.  There is no obligation to buy anything at the end of the offer and you don’t need to supply a credit card in order to take part in it. To get access to the course you simply follow @pluralsight on Twitter and then visit this page and enter your Twitter name using the form on it.  Pluralsight...
Filed under: , , ,
Posted to:
by: 
04-19-2012, 2:44 PM

Single Page Application and why is it becoming more and more popular

One of the key trends becoming more and more popular is the Single Page Application Framework and building applications that behave as native applications running on the machine. SPA’s have been tried and tested for a while now and with libraries like Knockout.js, Backbone.js becoming more and more capable, it becomes feasible to create SPA’s. What is an SPA? I can describe in length but falling in line with DRY principle, here is the Wiki Link http://en.wikipedia.org/wiki/Single-page_application But in short, it is a framework that builds highly responsive web applications that don’t infuse post backs and page reload. I can almost hear you say. “Wait!! Isn’t that what AJAX and XMLHttpRequest promised?” “Can’t I do it with Iframe?” Hence this...
Posted to:
by: 
04-16-2012, 10:26 AM

Announcing Windows Azure Media Services

I'm excited to share news about a great new cloud capability we are announcing today - Windows Azure Media Services. Windows Azure Media Services Windows Azure Media Services is a cloud-based PaaS solution that enables you to efficiently build and deliver media solutions to customers. It offers a bunch of ready-to-use services that enable the fast ingestion, encoding, format-conversion, storage, content protection, and streaming (both live and on-demand) of video. It also integrates and exposes services provided by industry leading partners – enabling an incredibly deep media stack of functionality that you can leverage. You can use Windows Azure Media Services to deliver solutions to any device or client - including HTML5, Silverlight,...
Filed under: , ,
Posted to:
by: 
04-14-2012, 10:19 PM

April 14th Links: ASP.NET, ASP.NET MVC, ASP.NET Web API and Visual Studio

Here is the latest in my link-listing blog series: ASP.NET Easily overlooked features in VS 11 Express for Web : Good post by Scott Hanselman that highlights a bunch of easily overlooked improvements that are coming to VS 11 (and specifically the free express editions) for web development: unit testing, browser chooser/launcher, IIS Express, CSS Color Picker, Image Preview in Solution Explorer and more. Get Started with ASP.NET 4.5 Web Forms : Good 5-part tutorial that walks-through building an application using ASP.NET Web Forms and highlights some of the nice improvements coming with ASP.NET 4.5. What is New in Razor V2 and What Else is New in Razor V2 : Great posts by Andrew Nurse, a dev on the ASP.NET team, about some of the new improvements...

1 2 Next >

Archives