MVC

The located assembly’s manifest definition does not match the assembly reference

Looking for the solution. Yes you are at the right place. Once I also faced the same issue when I was working on a MVC project, I got the error states that “The located assembly’s manifest definition does not match the assembly reference” . When I ran the solution I saw the YSD (yellow screen of …

The located assembly’s manifest definition does not match the assembly reference Read More »

MVC HTML Helpers Methods

In this article we will learn what are HTML helper Methods that comes within MVC framework!!!!… So What are HTML Helper Methods ??? Html Helpers methods are equivalent to ASP.Net web form controls, enables you to render HTML content, modify the HTML output . HTML Helpers are more light  weight. It does not have event model and …

MVC HTML Helpers Methods Read More »

Data Entry Form using Simple HTML Helper In MVC

HTML Helper in MVC In this article we will learn how to code for entering data form using simple HTML Helpers. Create New ASP.NET MVC4 Web Application. Select Razor As View Engine. Right click on Model ->Add new Class ->Customer Class. Right click on controller and -> Add new item-> CustomerController

Render Pdf bytes array within browser in MVC

Render Pdf within browser There are different ways to render Pdf in a browser. In this I’m explaining to render Pdf by fileContent/byte array. In a below example I’m using Index Action which returns the FileContentResult. public ActionResult Index() { Response.Clear(); Response.AddHeader(“Content-Disposition”,“inline; filename=sample.pdf”); Response.AddHeader(“Content-Type”,“application/pdf”); Response.ClearHeaders(); Response.AddHeader(“Content-Length”, byteArray.Length.ToString()); FileContentResult result = new FileContentResult(byteArray, “application/pdf”); return result; } …

Render Pdf bytes array within browser in MVC Read More »

MVC Simple Model In ASP.NET

In our previous article we have learnt basics of MVC , now in this article we will learn how to make simple model In MVC. Create New ASP.NET MVC 4 Web Application . Select Internet Website as template. Select ASP.NET as  View Engine Right Click on the model -> Add New Item ->Class -> Movies.cs

Avoid multiple call to AuthorizeCore in MVC

AuthorizeCore in MVC In MVC AuthorizeAttribute Class is another cool feature that makes it easy to add authentication at the Controller level. In AuthorizeAttribute class we have AuthorizeCore function, it specifies that access to a controller or action method is restricted to users who meet the authorization requirement. We can override AuthorizeCore  function as per our authorization logic. …

Avoid multiple call to AuthorizeCore in MVC Read More »

Autocomplete Textbox Using Jquery/JSON from Database

In web page designing  autocomplete property of textbox is widely used for making the site user friendly and interactive , so in this article we will understand the simple method for autocompletion of textbox using Jquery. First we will see a simple example for this then in next step I will show you how you can fetch …

Autocomplete Textbox Using Jquery/JSON from Database Read More »

Export to excel table without hitting server using Jquery

Want to export the data to excel, but don’t  want to hit server again and again ?? So here is the simple way out for you. In the following steps you will understand how simply we can export the data to excel sheet by using jquery.

MVC Basics for Beginners

MVC Basics In this article you will learn some basic concepts of  MVC Architecture. So what is MVC ? An Architectural design principle that separates the components of a Web Application. This separation gives you more control over the individual parts of the application , which lets you more easily develop , modify and test …

MVC Basics for Beginners Read More »

%d bloggers like this: