• Microsoft ASP.NET MVC

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

    How to print direct report (.rdlc) using Web Client Print in ASP.NET MVC?

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

    WebClientPrint for ASP.NET is a solution for Client-side printing scenarios for Windows, Linux and MAC OS X clients, designed for ASP.NET Web Forms and MVC website projects. We can directly print any file without showing or displaying any print dialog box with WebClientPrint. With the WebClientPrint , you can easily send any data to...

    Read more →

    How to Encrypt and Decrypt URL or Data using C# in ASP.NET MVC?

    by  • November 3, 2015 • Microsoft .NET C# (C-Sharp), Microsoft .NET Framework, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    In any web application there are always security related problem occurs when user change something in URL’s value. When passing any sensitive data from navigation then it may problem occurs when use can change it and hake any of the data. So better option is store this value in session but every time this...

    Read more →

    How to used localStorage and sessionStorage of HTML5 to store data in ASP.NET MVC?

    by  • October 28, 2015 • Microsoft .NET Framework, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    Often, many developers use localStorage and sessionStoarage of HTML5 to store data in ASP.NET. Local Storage improves the performance of our data-driven ASP.NET applications by caching data in the browser persistently. Local Storage saves data for a long time. The localStorage object stores the data with no expiration date. The data will not be...

    Read more →

    How to add Form/Window Authentication and Custom Error in ASP.NET?

    by  • October 27, 2015 • Microsoft .NET Framework, Microsoft ASP.NET, Microsoft ASP.NET MVC • 0 Comments

    Introduction In authentication we check whether the user tying to log in is the correct one or not. Authorization on the other hand is keeping track of what the current user is allowed to see and what should be hidden from him. Type of Authentications There are two main type of authentication in ASP.NET?...

    Read more →

    How to use DataTable and pass it to list using ViewBag in ASP.NET MVC?

    by  • October 23, 2015 • jQuery and Microsoft .NET, Microsoft .NET Framework, Microsoft ASP.NET MVC, Microsoft Visual Studio .NET • 0 Comments

    Introduction: Datatable is used to create to table in the web browser. This plug-in adds much functionality in tables such as filtering, paging, sorting, changing page length, etc. This article shows how DataTable can be integrated and pass it to list using ViewBag into an ASP.NET MVC.  Model.cs: The Model comes to a simple...

    Read more →

    How to use ViewBag, ViewData and TempData  in ASP.NET MVC?

    by  • October 19, 2015 • Microsoft .NET Framework, Microsoft ASP.NET MVC, Microsoft Visual Studio .NET • 0 Comments

    ViewData, ViewBag and TempData are used to pass data from controller to view. ViewBag and ViewData are almost similar but TempData is different from them. Each of them has its own importance. We use the ViewData, ViewBag, and TempData objects for the purposes of transporting small amounts of data. In this articles you will...

    Read more →

    How to use ActionLink, PartialView, RenderAction and Action in ASP.NET MVC?

    by  • October 16, 2015 • Microsoft .NET Framework, Microsoft ASP.NET MVC, Microsoft Visual Studio .NET • 0 Comments

    There are different ways for rendering a partial view in MVC Razor. Many developers got confused whether to use  RenderAction or Partial or Action helper methods for rendering a partial view. But ActionLink is different from them. This article shows how to use Html.ActionLink, Html.RenderAction, Html.Partial  and Html.Action in ASP.NET MVC. View.cshtml: Before wirtes...

    Read more →

    How to post data from view to controller using Ajax in ASP.NET MVC?

    by  • October 7, 2015 • jQuery and Microsoft .NET, Microsoft .NET AJAX, Microsoft ASP.NET MVC • 0 Comments

    Introduction: There are multiple ways to pass data from view to controller in ASP.NET MVC. One way to pass data from view to controller through Ajax. This article will show you how to pass data from view to controller using Ajax. 1) Model.cs: Add a model class and named it ModelClass.cs in Model folder....

    Read more →