Showing results for February 2013 - .NET Blog

Feb 25, 2013
0
0

Translating OData queries to HQL

raghuramn
raghuramn

AspNet Web API OData makes it really simple to expose your IQueryable backend to be queried using the OData query syntax. Check out some samples here. If you are building using Entity Framework as your ORM (object-relational mapping) to talk to your database or just store all your data in-memory(Linq2Objects), you are in a good shape as you have an...

ASP.NET
Feb 21, 2013
0
0

MVC Single Page Application Template for ASP.NET and Web Tools 2012.2

Xinyang Qiu
Xinyang Qiu

With the final release of ASP.NET and Web Tools 2012.2, we refreshed single page application page on asp.net .  It talks about KnockoutJS Template and introduced 4 community created SPA templates that you can install as MVC templates. There are four improvements for the MVC SPA template RTM release over the RC release that worth a note. Anti...

ASP.NET
Feb 20, 2013
0
0

Pre-release of ASP.NET Scaffolding with a Web Forms scaffold generator

Anton Babadjanov
Anton Babadjanov

Today we are sharing a pre-release build of a new code generation framework known as ASP.NET Scaffolding, as well as a scaffold generator (code generator) for Web Forms. The Web Forms scaffold generator can automatically build Create-Read-Update-Delete (CRUD) views based on a model. Introduction Many programming tasks involve writing standard “bo...

ASP.NET
Feb 19, 2013
0
0

A Message Flow in ASP.NET Web API OData

Hongmei Ge
Hongmei Ge

One of the biggest benefits that you have with ASP.NET Web API is that it gives 100% transparency of the source code because it is open source. You can easily enlist in the code repository and add the symbol path based on instructions at the CodePlex site, then off you go, you can debug the Web API code as if you were the original code author. Now...

ASP.NET
Feb 19, 2013
0
0

.NET Framework Documentation Improvements

Brandon Bray
Brandon Bray

The CLR documentation team has been busy responding to feedback and making updates and changes to the .NET Framework documentation in the MSDN Library. We would like to tell you about the most recent set of document updates, which were published earlier in February. Performance content We have received extensive customer feedback regarding the im...

.NET
Feb 14, 2013
0
0

Getting a MIME type from a file extension in ASP.NET 4.5

Jim Wang (WEB)
Jim Wang (WEB)

If you've ever implemented a file upload or download scenario in ASP.NET, you've likely come across the situation of having to provide a MIME type based off of a file extension. IIS does this automatically when it serves files, but it seems like in ASP.NET there isn't a good way to provide this functionality. Searches on the web might point you to ...

ASP.NET
Feb 6, 2013
0
0

Protect your Queryable API with the validation feature in ASP.NET Web API OData

Hongmei Ge
Hongmei Ge

In the previous blog post, you can see how easy it is to enable OData query syntax for a particular action using Web API OData. Simply add a Queryable attribute to your action as follows, and you are done. It not only works for those actions using OData format, but also applies to any vanilla web api actions using other formats...

ASP.NET