Browse by Tags
All Tags »
CodePlex (
RSS)
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...
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...
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...
It was only three months ago that we shipped Orchard 1.0 and 1.1 is already here with some substantial improvements and many bug fixes. Let me walk you through the most important ones… Admin Redesign Here is our old Orchard 1.0 dashboard next to the new one: We've flattened the menu and tried to have a more rational grouping of items. Several things that used to be sub-menu items have been moved to be tabs on the right panel: Widget Management Managing the widgets on a site in a way that scales from the simplest blogs to large sites is tricky. We implemented that with a system of programmable layers, and the UI we had to control that in 1.0 wasn't very friendly. We improved that in 1.1: Now you can filter out inactive zones, you can...
Last Sunday, I published version 1.0 of my little FluentPath library . This library, which is a fluent wrapper around System.IO, started as a little experiment / code sample and has been met with some enthusiasm from some of you so I spent quite a bit of time over the last few months polishing it and trying to raise it to a level of quality where it can safely be used in real applications (although my lawyer is telling me that it’s still at your own risk, as specified in the license ). I’ve started using it myself on a few projects and it’s now my default way of accessing the file system. So what’s in there and why should you use it? It’s small! 36kB dll, no dependencies. It’s a NuGet! You can now install FluentPath with NuGet: It’s robust!...
In the previous post , I installed Orchard onto my hosted IIS7 instance and created the “about” page. This time, I’m going to show how I imported existing contents into Orchard. For my new blog, I didn’t want to start with a completely empty site and a lame “first post” entry. I did already have quite a few posts here and on Facebook that fit the spirit I wanted for the new blog so I decided to use that to seed it. The science and opinion posts on Tales of the Evil Empire always seemed a little out of place (which some of my readers told me quite plainly), and the Facebook posts were blocked behind Facebook’s silo walls even though they were public. You still need a Facebook account to read those posts and search engine can’t go there as far...
Several people have asked me if I would move my blog to Orchard . There are actually several challenges with this that have nothing to do with Orchard itself, but suffice it to say that right now I’m not really considering it. On the other hand, for a long time I’ve been wanting to create a second, more personal blog about movies, books, video games and opinions to clearly separate the software stuff from the rest. I’ve been posting several times on science , games and even on politics here but it always felt a little wrong and I felt obligated to tone it down seeing that this blog has a clear association with my employer, Microsoft. Anyway, the release of Orchard 0.5 looks like the perfect opportunity to create that new blog. I have big plans...
Before I joined Microsoft seven years ago, I had spent a couple of years building a Web CMS. It wasn’t open-source unfortunately but the experience convinced me that most public-facing web sites would shortly use some form of CMS. I also forged strong opinions about the right level of component granularity that a CMS must implement. For the last year and a half, I have been fortunate enough to work with a talented small team within ASP.NET and with a growing community from all around the world on building a new Web CMS on top of ASP.NET MVC. Today I am very happy to invite my readers to check out some of the results of that work: earlier this week, we released version 0.5 of Orchard . We are far from being done, but this is an important milestone...
Writing the tests for FluentPath is a challenge. The library is a wrapper around a legacy API (System.IO) that wasn’t designed to be easily testable. If it were more testable, the sensible testing methodology would be to tell System.IO to act against a mock file system, which would enable me to verify that my code is doing the expected file system operations without having to manipulate the actual, physical file system: what we are testing here is FluentPath, not System.IO. Unfortunately, that is not an option as nothing in System.IO enables us to plug a mock file system in. As a consequence, we are left with few options. A few people have suggested me to abstract my calls to System.IO away so that I could tell FluentPath – not System.IO – to...
My FluentPath library is now available on CodePlex. I’ve also modified the code so that it can now be compiled against .NET 3.5SP1 and not just .NET 4.0. http://fluentpath.codeplex.com/ Read More...
More Posts
Next page »