Aspmvc
Click here to load reader
-
Upload
durai-arasan -
Category
Technology
-
view
70 -
download
0
Transcript of Aspmvc
![Page 1: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/1.jpg)
-presented by N.DuraiArasan
Cms & Cts co.
![Page 2: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/2.jpg)
Internet is the fastest growing technology, Has changed the way business is conducted.
Helps organizations to reach a larger range of people, irrespective of their geographical locations.
Helps organizations in sharing and accessing information from anywhere, anytime.
Has changed the focus of application development from desktop applications toWeb applications.
![Page 3: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/3.jpg)
Are programs that are executed on a Web
server and accessed from a Web
browser.
Enable organizations to share and access
information on the Internet and corporate
intranets.
Can support online commercial transactions,
popularly known as e-commerce
![Page 4: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/4.jpg)
Presentation layer : Controls the flow of execution and communication between thepresentation layer and the data layer.
Business logic layer: Exposes the application data stored in Data layer databases to the business logic layer.
Data access layer: Exposes the application data stored in Data layer databases to the business logic layer.
![Page 5: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/5.jpg)
Single-tier architecture
Presentation | Business Logic | Data access
Two-tier architecture
Fat client + Thin Server
Fat Server+ Thin Client
Three-tier architecture
Presentation +Business Logic +Data access
N-tier architecture
Presentation +Business Logic +Data access+Additional Feautures
![Page 6: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/6.jpg)
HTML PAGE
ASPMVC
ASP.NET
![Page 7: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/7.jpg)
The MVC development platform separates into three separate components:
The modelThe viewThe controller
The model:Manages the application data.Encapsulates data stored in a database as well as code used to manipulate thedata.
The view :
It manages the display of information.
The controller:Manages the flow of application.Handles user input.Provides data to the relevant view.
![Page 8: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/8.jpg)
![Page 9: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/9.jpg)
A controller:Is a C# class inherited from .NET Framework’s built-in Controller class.
Contains an application logic in the form of various public methods called actionmethods. The class is .cs
public class HomeController : Controller{//Some code
Public index ActionIndex(){}}
![Page 10: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/10.jpg)
A view is a combination of HTML markup and
code
that runs on the Web server.
It render from the controller class action
method index()
Index.cshtml
<html>
</html>
![Page 11: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/11.jpg)
Consists of a set ofclasses, where the objectsof the classes representthe data associated withthe application.
public class Product{public long Id {get; set;}public string name {get; set;}public string description {get; set;}public int price {get; set;}}
sql server,oracle,ms-access ..etc
![Page 12: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/12.jpg)
Routing
The ASP.NET Routing module is responsible for mapping incoming browser requests to particular MVC controller actions.
Scaffolding
Allows you to create auto-generatedcontrollers and their corresponding views.
Convention-over-Configuration
Basic configuraion info
Bundling and Minification
Deployment final project into software process
![Page 13: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/13.jpg)
It generated Autogenerated controller classes and Views.
To place auto-generated codes
for the application to work.
![Page 14: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/14.jpg)
VALIDATION AND VERIFICATION CONTROLS
Like Registration form and Admisson forms.
![Page 15: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/15.jpg)
Helps in finding, traversing, and manipulating HTML elements inside an HTMLdocument.
Helps you to animate HTML elements, handle events, and make your applicationsrich and interactive.
CONTROLS LIKE
Autocomplete
Datepicker
Accordion
Can be included by using the following syntax:<script type= "text/javascript"src="@Url.Content("~/Scripts/jquery-1.7.1.js")"></script>
![Page 16: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/16.jpg)
A technology called Asynchronous JavaScript
and XML (AJAX) can be implemented
Makes the interaction between the client and
the server asynchronous.
Allows the users to interact with the Web
application while waiting for a response
from the server.
Enables partial updates in Web applications.
![Page 17: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/17.jpg)
Authorization
It is a mechanism that determines the rightsgiven to the users for accessing the available resources
Authentication
Authentication is the process of identifying an individual, usually based on the username and password provided by the user.
Forms Authentication
Windows Authentication
OpenID/Oauth Authentication
![Page 18: Aspmvc](https://reader038.fdocuments.in/reader038/viewer/2022100803/58eefa771a28ab4f1d8b46f5/html5/thumbnails/18.jpg)