New read only view in ASP.NET MVC

How to create a new read only view?

To create a read only view, we need to first create an action method inside a Controller. Go to your Controller and add an action method like defined in  Basics sub category (How to create a view?) and follow the steps (See top-left menu).

No comments:

Post a Comment

How to register multiple implementations of the same interface in Asp.Net Core?

 Problem: I have services that are derived from the same interface. public interface IService { } public class ServiceA : IService { ...