Você está na página 1de 6

14July2018

- Introduction

15July2018
-MVC6/MVC Core
-asp.net 5/asp.net CORE
-DotNet Framework vs DotNet Core
-How to create our first project in asp.net core mvc6
-Models
data, objects
-Views
front end design that will contain models
Folder Concept in Views
Shared Folder
-Controllers
Controls Views and Models
C# Class inherited by Controller class
Actions vs Function
return View()
return View("Viewname")
IActionResult
- .cs file extension
- .cshtml file extension
-URL decoding in MVC
-How to change default controller/action using Startup.cs file
-Rules to Create Controller, namespace, actions
-use of Go To Definition
-use of CTRL Dot.
-Windows like Solutions explorer, design view and its positions
-Running our first application using IIS Express (Web Server) and Browser
-Break points
-Working Project Link:
https://drive.google.com/file/d/19_yzhvHuhxZcJZDrelisaOIJ0J1-DqNz/view?usp=sharing

21July2018
- Creating First project
- Understanding Solution Explorer
- MVC6 architecture

22July2018
- Overall Recap of the flow.
- ORM, Database, EF, LINQ, Bootstrap, HTML, CSS, JS, c#, Web, Request , Response

28July2018
- MVC
- Startup.cs
- Default controller and Actions
- How to create controller, action, view, models
- How to send data from action to view using ViewBag.
- Objects in c# and sending objects using ViewBag to View
- Razor Syntax in cshtml (@ sign)
- Link between View, Action, ViewBag, Controller and Models
- Creating a Class in c# and use of prop keyword
- Getter Setter
Working Project:
https://drive.google.com/file/d/1cC2UH1KshbyKvu8yHL2NKDw_Wy0j_swJ/view?usp=sharing
29July2018
- Practice of Model, View, Controller, Actions, ViewBag, Class, Objects and return
View();
- return View();
- return View("ViewName");
- return View("ViewName", Model);
- return RedirectToAction("ActionName");
- Model Biding
- @model vs @Model
- ViewBag scope and life cycle
- ViewBag vs Model Binding
- Null pointer exception handling
Working Project: https://drive.google.com/file/d/1YRaAIkbfZCI478-
sLHWlFepwM6EDL2nM/view?usp=sharing

04Aug2018
- Practice of Models/Views/Controllers
- Razor syntax in View.cshtml file
- use of c# in cshtml file
- How to send data from View To Action
<form>
parameter wise
using Objects
- id, name, placeholder attributes
- httpget and httppost verbs in action
- function overloading in controller
- inheritance concept in c# using : sign
- namespace concept for Models and Controllers
- form > submit button > method=post > action="ControllerName/ActionName"
- Glyphicons
<span class="glyphicon glyphicon-lock"></span>
- Bootstrap concept (class based model)
image responsiveness, tables usage of bootstrap
- placng image in wwwroot>images folder

Working Project: https://drive.google.com/file/d/1l9sR2MA0iQbl1g4rV_B-


ilTQH_ovd03l/view?usp=sharing

05Aug2018
- wwwroot folder
css
js
images
lib
favicon.ico
- Views > Shared > _Layout.cshtml concept
- Enviornment concept > Development and non Development.
- @RenderBody
- @RenderSection
- DOM (Parent Child)
- Bootstrap 12 columns based structure
- CDN (Code delivery network)
Working Project:
https://drive.google.com/file/d/1wUvGK1JJsH5hRt6G38HM0IJXN0Q_Lizd/view?usp=sharing

11Aug2018
- unit designing concept
- conditional designing concept
- IList
- IEnumrable
- @foreach
- div based and table based designing
- labmde expression =>
- reflection and reverse engineering
- @Model with IList
- LINQ usage .where
- .count() function IList
Working Project:
https://drive.google.com/file/d/1nqdFe2kVGz4fHiiADdyGzt3oon_7SK3K/view?usp=sharing

12Aug2018
- PassByValueRef
- ViewImports.cshtml
- ViewStart.cshtml
- Startup.cs practice
- Multiple layouts
- Views without Layout
- Setting or changing default layout of the project
- at time of creating view: option to set layout
- Bootstrap components overview
- Bootstrap latest version download and integration in web.
- FREE themes for bootstrap: https://bootswatch.com/
- Download bootstrap latest version: https://getbootstrap.com/
- List of bootstrap4 components: https://bootswatch.com/flatly/
- glyphicons list: http://glyphicons.com/
- font awesome: https://fontawesome.com
Working Project:
https://drive.google.com/file/d/1jfIqnShovKmmfk2nWocCSJPZmi6OPRzA/view?usp=sharing

18Aug2018
OFF

19Aug2018

- install Express version sql studio 2017 (database server + studio)


-- during installation select mixed mode, not windows authendication mode.
-- during installation remember sa > password
-- during installation remember server name e.g SQLEXPRESS

STEPS TO CONFIGURE ORM EF USING DEPENDENCY INJECTION

1. database completion
primary key
identity column
identity seed
identity inrement
2. modeling using following command.
Scaffold-DbContext "Server=XXXXXX;Database=XXXXX;Trusted_Connection=True;
User ID=sa; Password=XXXXX;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir
Models
3. dbcontext
using dependency injection configure
use of one parameter constructor in your db context file.
connection string(appsettings.json)
startup.cs to add dbcocntext in d.i
4. consume your orm in controller from d.i
mention it in your constructoer()
- test your ORM settings by adding an object in the database.

Working Project:
https://drive.google.com/file/d/1kl5e41SrO8QYFcPgi43zmkDLLLD3DRUZ/view?usp=sharing

01sep2018

02Sep2018

08Sep2018
- file upload flow using ftp architecture
- IHostingEnvrionment concept using dependency injection
- enctype attribute in html form
- input type=file usage
- IFormFile usage in action
- Path library usage to get file extension
- GUID usage to get a unique string
- FileStream
- consuming an image using relative path
- difference between releative and absolute path.
- request length or time out issue.
Working Project:
https://drive.google.com/file/d/1bu0XKqesVjx0ORyzVBHhjeysmSm9uQUM/view?usp=sharing

09sep2018
- upload download flow
- FileResult
- return File()
- MimeSharp library usage to calculate mime/content type of a file
- github introduction
- branch base model concept
- creating account on github
- integration of github with vs 2017
- installting github extension
- team explorer window and add to source control
- while creating a new project checkbox of git
- fetch, pull, push, commit, clone terms
- file comparison inside visual studio
- git file history inside visul studio
- synch, changes, blue lock and red tick understanding
- working on branches
- working in teams
Working Project:
https://drive.google.com/file/d/1KldOCRoD97O2ie0CJYvk60GK_AX6jT5k/view?usp=sharing

15Sep2018
- sending email in asp.net mvc6
- concept of To, CC, BCC
- Email flow and smtp concept
- usage of google smtp server smtp.gmail.com
- port 25, 587, 465
- MailMessage and SmtpClient classes of dot net framework
- sending attachment in email
- github flow revision with following git concepts
- add to source control, clone, commit, sync, feth, merge, pull, push
- viewing history of any file
- branches and checkout
Working Project:
https://drive.google.com/file/d/1C2oTcBYDsfndLH2Slvd1njRNK08bLQwP/view?usp=sharing

16Sep2018
- .ajax
url
data
type
success
- .load
- .parent
- data- in html5 and data() in jquery
- .addClass .removeClass
- .show .hide .fadeOut .fadeIn
- .remove
- $(this)
- virtual class usage and concept
- .text() .html()
- href="#"
- alert() console.log()
- Working Project: Waseem please send today's project here.

29Sep2018
- Some highlights of
*DataTable
*jQuery UI
*Google Anayltics
*Google Web Master Tool
*Google Speed Test
*Disqus
*Facebook Live Chat for websites
*SMS API
- .load function of jquery
- Loading dynamics images using lorem pixel
- Loading data and doing some actions on that data using .load
- view source visibility of .load
- we can use any many .loads on a page without effecting the load time of that
page.
Working Project: Waseem has already sent the github link.

06Oct2018
- gearhost setup and integration with visual studio
- gearhost for mssql database
- visual studio extensions:
-- bootstrap snippets
-- web essentials for vs 2017
- facebook live chat integration with web.
- visual studio publish flow.
- visual studio built in database and external databases inside visual studio sql
explorer
- online database linking in mssql studio.
Working Project: we did nothing special today in the project other than facebook
code. you can get that code from your facebook page.

Google Anayltics
Google WebMasters
Disqus
Authentication / Authorization
Validation (Data Annotation)
Cookies / Sessions
Reporting
Hosting/Deployment
Network Appliations
Themeing
Scaffolding
Cross Site Scripting Attacks
Database Backup/Restore
Login Flow

21Oct2018
- Google Analytics Implementation
- Google Web Masters implementation
- Disqus Comments implementation
- Deploying application on localhost on your own IIS
- accessing application on local network
- host file modification.
- taking backups of mssql 3 ways: .bak file, .mdf .ldf file, scripts
- 3 types of scripts to backup: data only, schema only, data+schema
- Azure cloud concept
- deploying apps on azure cloud
- inetpub and deploynig app on localhost
- binding IP address with local host.
- Session usage implementation
- cookies usage and implementation
- Viewing cookies data in browser.
Working Projects:
Session: https://drive.google.com/file/d/1A3n3GhiUaADbatmcBuEDAHUGD7D59zCP/view?
usp=sharing
Cookies+TodaysWork:
https://drive.google.com/file/d/1ZBmapLdA6bXM1f9leJ8GQ2n0elqPeDN3/view?usp=sharing