DEV Community

Fatima Aruna
Fatima Aruna

Posted on

VIDLY

Vidly1 is an asp.net mvc architectural project with dotnet, I start by setting up the environment.
Asp.net is a free web framework for building great web sites, web application using html, css and JavaScript.it gives you a powerful patterns based way to build dynamics websites that enables a clean separation of concerns and gives you a full control over markup for enjoyable agile development.
It has a registration and a login button.
I built it by installing Nuget packages, Nuget is a free visual studio extension that makes it easy to add, remove and update libraries and tools in visual studio projects.
I added a theme and a bootstrap templates called lumen,I also worked on action result the base class for all action result in mvc it is a good action when it comes to unit testing it consists ofโ€ฆ
Partial view result
Content redirect
Redirect to route
Json file result
Httpnotfoundresult
Emptyresult
Action parameter is the output for our method parameter value can be embedded in the url
convention based routing: routing is a mechanism which is used to handle the incoming request from browsers and it represent the particular action rather than any static or physical files.
Attribute Routing it uses attributes to define routes before you use it you need to enable it.it gives you more control over the URLS in your web application passing data to view with reshapper you can easily navigate to the view instead of using view data we use view bag with a magic property it is well known to pass data from controller to view and view to view.
View model is the class that contains the Vidly1 is an asp.net mvc architectural project with dotnet, I start by setting up the environment.

Razor view is the syntax that allows you to write server side code on view.it helps to combine code and html in a fluid manner.
A partial view is a razor markup file it is used when developing either an MVC app, where markup files are called views or a razor pages app,where markup files are called pages.
fields which are represented in the strongly typed view it is used to pass data from controllerto strongly typed view.
Razor view is the syntax that allows you to write server side code on view.it helps to combine code and html in a fluid manner.
A partial view is a razor markup file it is used when developing either an MVC app, where markup files are called views or a razor pages app,where markup files are called pages.

Top comments (0)