• Microsoft ASP.NET MVC

    Microsoft ASP.NET MVC articles, samples, code snippets, applications, books, products.

    How to Build HTML Views using Razor View Engine in ASP.NET MVC

    by  • December 31, 2015 • Microsoft .NET C# (C-Sharp), Microsoft ASP.NET MVC • 0 Comments

    View Engine is responsible for rendering the View to the browser in the form of HTML.  By default there are two view engines in ASP.NET MVC4. First is ‘Webform’ and second is ‘Razor’. Razor is a markup syntax that lets u to embed server side code into your HTML Markup code. When a view is...

    Read more →

    How to Access Data Using Entity Framework in MVC

    by  • December 30, 2015 • Microsoft .NET Entity Framework, Microsoft ASP.NET MVC • 0 Comments

    Entity framework is an object relational mapping framework that enables .NET developers to work with the relational Data. By using entity framework, the developer can retrieve and manipulate data as strongly typed objects. Now we have a relational database named as”ElSeif” that has table “Staff” and a developer needs to retrieve staff name in...

    Read more →

    ASP.NET MVC Routing

    by  • December 22, 2015 • Microsoft ASP.NET MVC • 0 Comments

    This article illustrates ; what is MVC Routing ? MVC Routing is responsible for mapping incoming browser requests (Actions) to MVC Controller. Let me explain this with the help of following diagram. When anyone sends request through a website address like www.asifpizza.com/ContactUs or www.TheWorld.com/ AboutUs as shown in the figure 1.1; The Actions ContactUs...

    Read more →

    How to post data using JQuery in ASP.NET Web Api?

    by  • November 19, 2015 • Microsoft .NET AJAX, Microsoft .NET Framework, Microsoft .NET Web Services, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    ASP.NET Web API is a framework for building and consuming HTTP services that can reach a broad range of clients including browsers, phones and tablets. You can use XML or JSON or something else with your API. JSON is nice for mobile apps with slow connections, for example. You can call an API from...

    Read more →

    How to create and use Web Api in ASP.NET MVC?

    by  • November 16, 2015 • Microsoft .NET Framework, Microsoft .NET Web Services, Microsoft ASP.NET MVC • 0 Comments

    ASP.NET Web API is a framework for building and consuming HTTP services that can reach a broad range of clients including browsers, phones and tablets. You can use XML or JSON or something else with your API. JSON is nice for mobile apps with slow connections, for example. You can call an API from...

    Read more →

    How to print directly report using Web Client Print with enables authentication in ASP.NET MVC?

    by  • November 6, 2015 • Microsoft .NET Framework, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    In previous article, you have read how to use Web Client Print in ASP.NET MVC. I also discussed that Web Client Print did not work with enabled window authentication. In this I will explain how Web Client Print works with enable window authentication in ASP.NET MVC. Utils.cs: Add a folder with name App_Code and...

    Read more →