T1126
Getting Started with ASP.NET MVC 3
This course will give your ASP.NET MVC 3 development a jump start! It focuses on picking out and explaining the things you need to know in order to use the framework effectively. While the course has a focus on practical skills, it also takes the time to explain important underlying concepts, so you will have a good starting point when trying to understand how things work - or why they do not.
Audience:
You are already reasonably comfortable with programming in C# and on the .Net platform. You have some awareness of HTML and CSS, and maybe a little JavaScript exposure too. However, you have little or no experience with ASP.NET MVC, and want to dive in and learn the things you need to know to use it effectively.
Course outline:
DAY 1
Fundamentals
- How the web works: HTTP, servers, clients, statelessness
- A little history: ASP Classic, ASP.NET WebForms, other approaches
- The MVC pattern: models, views and controllers
Hello World
- Creating an ASP.NET MVC web application
- Our first controller and view
- Adding a basic model
- Convention over configuration
Routes
- The relationship between routes and controllers
- Adding more routes
- Routes and linking
- Examining the request lifecycle
The Razor View Engine
- The Razor approach
- Loops and conditionals
- Built-in helpers
- Creating your own helpers
- Layouts
- Partial views
- What NOT to do in a view
Introducing Forms
- Adding a form and posting to a controller
- FormCollection - often a last resort
- Basic model binding
- Not so basic model binding
DAY 2
Linking to a Database
- A little architecture: how close to couple?
- Entity Framework and CRUD
- Looser coupling through using a repository
- MVC with Command/Query Segregation
Validation
- Client-side vs. server-side validation
- Validation annotations
- Custom validation
Security
- The web is a dangerous place
- XSS
- Direct Object References
- CSRF
- Authentication
- Authorization
JavaScript and Ajax
- What is Ajax?
- Introducing jQuery
- The server side of Ajax
- jQuery Templates
- Ajax security considerations
Fakta
Kurs
T1126
Längd
2 dagar
Pris
15.500 kr (exkl. moms)
Förkunskaper
Du bör ha minst ett års erfarenhet av webbutveckling i .NET.
Efterföljande utbildningar
Kursmaterial
Kursmaterial på engelska ingår.
I samarbete med:
Kontakta oss
för mer information:
08 - 587 116 10 (Stockholm)
031 - 773 07 90 (Göteborg)
040-662 20 60 (Malmö)
info@informator.se