Tag archives for MVC
How to configure C# WebApi2 to display data in JSON format directly in browser?[Solved]
Recently I was asked a question "How to configure C# WebApi2 to display data in JSON format directly in browser?" by one of my colleague. This is a simple solution…
Downloading PDF File from Server to Client using ASP.NET & MVC C#
Problem Statement This is a very regular requirement especially for online education or E-commerce applications, a user will be given an option to download the payment receipts or certificates on demand. Solution In this article…
How to secure your entire MVC application with “Authorize” attribute ?
Scenario: If you would like to secure your admin pages, you would add “Authorize” attribute for all your admin controllers. However, you might get a situation like; you need to…
Routing in ASP.NET MVC
Routing is a pattern matching system that monitor the incoming request and figure out what to do with that request. At run time, Routing engine use the Route table for…
ASP.Net MVC Entity Framework
Entity Framework is an Object/Relational Mapping (ORM) framework that enables developers to work with various relational databases like SQL Server, Oracle, DB2, MYSQL etc. It enables developers to deal with…