Home / ASP.NET Weblogs

Latest Microsoft Blogs

Browse by Tags

Related Posts

  • An ASP.NET Open Source How-To Decoder Ring

    As you probably know, ASP.NET MVC, Web API, and Web Pages are available as open source on aspnetwebstack.codeplex.com . If you want to go beyond using the official RTM versions and either use the latest nightly drops, compile it yourself, or create pull requests then here’s a decoder ring for how to get started: 1) Using the Nightly NuGet Packages For when you want to try out the latest nightly NuGet packages from our preview feed without having to compile the source. 2) Getting Symbols and Source for Nightly Builds For when you run into trouble using the nightly NuGet packages or want to see what is going on. Makes full source and symbols available directly in the Visual Studio Debugger. 3) Compiling the source For when you want to compile...


  • Getting Symbols and Source with ASP.NET Nightly NuGet Packages

    You can now get full symbols and source along with the nightly NuGet packages making it possible to debug the latest MVC, Web API, and Web Pages bits by tracing directly through the source. This is enabled by SymbolSource , which hosts the symbols and source for the nightly NuGet packages, and MyGet which hosts the nightly NuGet feed. Great services! If you want to use the nightly NuGet packages then please see Using Nightly ASP.NET Web Stack NuGet Packages for getting started. Please remember that the nightly NuGet packages are “raw” and come with no guarantees. Configuring Visual Studio The instructions apply to both Visual Studio 2010 and 2012 and works in both full and express editions. First open the Debug | Options and Settings menu, go...


  • List of ASP.NET Web API and HttpClient Samples

    Here is a list of the Web API and HttpClient samples you can find in our samples repository on aspnet.codeplex.com . They illustrate various features of Web API and HttpClient targeting either Visual Studio 2010 using .NET 4 or Visual Studio 2012 using .NET 4.5 with async/await language support. For details on how get up and running with the samples, please see the ASP.NET Web API Samples on Codeplex blog . If there are samples that you miss or you find issues then please register an issue and let us know what you think! HttpClient Samples Bing Translate Sample | VS 2012 source Sample illustrating using the Bing translator API from HttpClient. The API requires an OAuth token which we obtain by sending a request to the Azure token server each...


  • ASP.NET Web API Released and a Preview of What’s Next

    Today we announced the release of Visual Studio 2012 and .NET 4.5 which of course includes ASP.NET Web API . There is a ton of new features in VS 2012 and I highly recommend checking out the videos by Scott Hanselman demonstrating a broad set of features of VS 2012 and .NET 4.5. In addition to shipping as part of Visual Studio 2012 you can also download Web API for Visual Studio 2010 as a standalone installer and as always, you can find us in our Open Source home on codeplex where you can see the source, contribute pull requests, and log issues. Further, you can find a bunch of ASP.NET Web API and HttpClient samples demonstrating many of the features. The samples also live on codeplex so that you can download them and work with them . Here you...


  • ASP.NET Web API Samples on Codeplex

    If you are interested in samples for ASP.NET Web API and HttpClient then please check out our new git repository on aspnet.codeplex.com . Here you will find an initial set of samples written in C# showing various features of ASP.NET Web API and HttpClient. The set is only the beginning. We are very interested in getting your feedback and suggestions for how to improve the samples and what features you would to see. Should the format be different? Should they be documented in other ways? Please let us know by registering issues ! Prerequisites The samples are split into two parts: those that target .Net 4 and those that target .Net 4.5. The latter use the async/await keywords introduced in Visual Studio 2012 which makes programming with asynchronous...


  • Using Nightly ASP.NET Web Stack NuGet Packages with VS 2012 RC

    In a previous blog we described how to use the nightly ASP.NET Web Stack NuGet packages with VS 2010. This blog describes using these packages with Visual Studio 2012 RC . The same disclaimers apply this time meaning that the packages come with no guarantees and they do not substitute for the official installers which contain the official MSI and NuGet packages. And of course, don’t use your dev machine for anything important. Prerequisites: Visual Studio 2012 RC and GacUtil In contrast to compiling the code yourself , it is possible to use the nightly NuGets with Visual Studio 2012 RC installed so that you can use the project templates. Also, while Web API is not in the GAC anymore, for MVC and Web Pages you still need to work with the Global...


  • ASP.NET Web API Updates – May 14

    We have been on a roll with respect to changes over the last few weeks – here’s some of the highlights. If you want to see the full list then you can either track the commit page or follow the project which will then show you the updates on your codeplex home page . As in the previous update this is a sneak-peak of code checked into our CodePlex source code repository but not yet released as part of our official installer . See Using Nightly ASP.NET Web Stack NuGet Packages for how to try out these features. Per Controller Type Configuration ASP.NET Web API has a HttpConfiguration object that provides configuration for features including routing, dependency resolution, media type formatters, and message handlers. However, while the HttpConfiguration...


  • ASP.NET Web API Updates – May 3

    Some interesting updates were checked in over the last week. As in the previous update this is a sneak-peak of code checked into our CodePlex source code repository but hasn’t yet been released as part of our official installer . See Using Nightly ASP.NET Web Stack NuGet Packages for how to try out these features. Per-Route Message Handlers Support for per-route message handlers has been a popular request on our issues list . The issue is that HttpMessageHandlers is a flexible extensibility point for dealing with HTTP requests and responses but they are configured once per application within the HttpConfiguration . In some scenarios you have different needs for different services so a more flexible registration is needed. Brad Wilson describes...


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


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


Page 1 of 3 (25 items) 1 2 3 Next >

Archives