sharepointcafe

  • Areas in ASP.Net MVC

    .

    In the previous blog, I wrote about Filters in MVC. In this blog, we will see What is Area in ASP.Net MVC? What is Area in MVC? The Area in MVC is basically a part of the project. It means…

  • Filters in .NET MVC

    Filters in .NET MVC with Example

    .

    In this article, we will see about Filters in .NET MVC. We will learn what are filters in MVC and where can we use them in our application. So let’s start and learn .NET MVC filters. Previous Chapter: Data Validation…

  • HTML helpers in MVC

    .

    HTML Helper methods are predefined methods in ASP.Net MVC to work with HTML forms.HTML helper methods generate specific HTML tags on browser. In this blog, we will see HTML Helpers in details. For eg – HTML helper @Html.TextBoxFor(model=>model.ProductName) output is…

  • What’s new in ASP.Net Core MVC?

    .

    In this blog, we will see What’s new in ASP.Net Core MVC?. This is my very first blog on ASP.Net Core MVC. After MVC version 5, ASP.Net Core MVC 1.0 and ASP.Net Core MVC 2.0 has been launched in year…

  • ViewBag vs ViewData vs TempData

    .

    In this article, we will learn about the differences between ViewBag vs ViewData vs TempData. In ASP.NET MVC, ViewBag, View Data and TempData are used for passing information from the controller to view and in the next request. ViewBag and…

  • Anti-forgery tokens in MVC

    .

    In this blog, we will see Anti-forgery tokens in MVC. This is a built-in functionality in MVC given by Microsoft. This is a security aspect in ASP.NET MVC.Previous Blog – Data Annotation in ASP.Net MVC Secure MVC form using Anti-Forgery…

  • MVC data annotation for Model Validation

    .

    In this blog, we will see how data annotation work in MVC. We will also see how we can implement form validation using Data Annotation for Model. Data Annotation Form validation is always the primary task for a developer, either…

  • Microsoft acquires GitHub – World’s largest source code platform

    .

    Today, we announced an agreement to acquire GitHub, the world’s leading software development platform. I want to share what this acquisition will mean for our industry and for developers. Microsoft + GitHub = Empowering Developers  Read full blog here –…

  • What is ViewModel? Use more than one model in View using View Model.

    .

    In the previous blog, I wrote about How to Pass data to View? In this blog, we will see What is ViewModel and How to use it? What is ViewModel? In ASP.Net MVC, a view cannot have more than one Model….

  • How to pass data from Controller to Views

    .

    In this blog, we will see how Controller interacts with View in ASP.Net MVC. In another way, we can say – How to pass data from Controller to View? There are multiple ways to pass data from Controller to Views.We…

  • Error- This configuration section cannot be used at this path.This happens when the section is locked at a parent level.

    .

    Recently I installed Windows 10 and started developing application in MVC5. I hosted my application in IIS, but it was throwing below error while accessing URL. Error – This configuration section cannot be used at this path. This happens when…

  • Attribute Routing in ASP.NET MVC 5

    .

    As you know, Routing is the important building block in ASP.NET MVC application.Apart from convention-based routing, MVC 5 supports attribute routing.In this blog, we will see attribute routing in MVC 5. What is Routing? Routing is the way to map…

  • How to add constraints in MVC Route

    .

    In my earlier blogs, I wrote about Routing in MVC and ActionResult in MVC In this blog, I will write about – How to add constraints in MVC routing? For those who are new to MVC or MVC routing, please…

  • ActionResult in MVC

    .

    Controllers executes all incoming requests using Action method. An ActionMethod may return different type of result. In this blog, we will see about ActionResult of an ActionMethod in details. What is ActionResult? ActionResult is the base class for all action…

  • Differences between RenderBody and RenderSection in ASP.NET MVC

    .

    In my earlier blog, I wrote about _ViewStart.cshtml file and MVC Routing. In this blog, I will write about RenderBody vs RenderSection in MVC. @RenderBody() vs @RenderSection() RenderBody() – RenderBody() must be available in Layout view i.e. it is mandatory for…

  • What is ViewStart.cshtml in MVC?

    .

    Hi All, if you are new to MVC, read my earlier blogs on MVC. In my previous blog, I wrote about MVC routing. In this article, we will see the What is _ViewStart.cshtml file? What is ViewStart.cshtml file? _ViewStart.cshtml file is used to define…

  • MVC Routing in Details

    .

    Hi All, This is my another blog on MVC.In this blog, I have explained Routing in MVC. Here I will show how to create a route for different kinds of URL. What is Routing in ASP.Net MVC? MVC stands for…

  • How to bind drop-down list in .Net MVC using Model?

    .

    There are numerous ways to populate dropdown list control, however, we will learn how to bind the dropdown list in MVC using Model. In this blog, we will see how to bind dropdown with SQL data using Model. In the…

  • SharePoint 2013 central admin app pool keeps stopping

    .

    Hi All, after a few days of gaps I am writing blog on SharePoint 2013. In past few days, I was busy writing about ASP.Net Web API and MVC. One of my blog Important .NET Web API interview questions and…

  • How to bind drop-down list in ASP.Net MVC?

    .

    In the previous blog, we have seen ‘How to bind static values with Dropdown in MVC?‘I have collected MVC tutorial topics, please have a look. In this blog, let’s see how to bind dropdown lists in MVC. Bind dropdown list…


RSS
YouTube
YouTube
Instagram