Archive

Archive for November, 2014

ASP.NET 5 Preview runtime

November 27, 2014 Leave a comment

ASP.NET 5 includes the following features:

1) New flexible and cross-platform runtime
2) New modular HTTP request pipeline
3) Cloud-ready environment configuration
4) Unified programming model that combines MVC, Web API, and Web Pages
5) Ability to see changes without re-building the project
6) Side-by-side versioning of the .NET Framework
7) Ability to self-host or host on IIS
8) New tools in Visual Studio 2015
9) Open source in GitHub

 

Here are some helpful links to get you started with ASP.NET 5 Preview:

 

For more information ASP.NET 5 Overview

Advertisements
Categories: Uncategorized

Cross-Origin Request Blocked: ASP.NET MVC

November 25, 2014 Leave a comment

Problem:

While i try to call the Web-Api service through JQuery, i am unable to receive the complex type collection in my client side, it throws error message in my console table of my browser as below.

Cross-Domain-Policy

Fix:

Add the below code in WEB-API project web.config file

<system.webServer>
    <httpProtocol>
        <customHeaders>
            <!-- Adding the following custom HttpHeader will help prevent CORS from stopping the Request-->
            <add name="Access-Control-Allow-Origin" value="*" />
        </customHeaders>
    </httpProtocol>
</system.webServer>

 

For source and more detail click here

Getting Started – Git

November 6, 2014 Leave a comment

Categories: Uncategorized
%d bloggers like this: