IELTS Reading Time Management

LICT .NET Training | Kamal Protap Sir | Part 7

11.1.18 Videos

Entity Framework Codefirst Approach

Success = Focused + Consistency

 

 

 

 

Study+Success Motivation

LICT .NET Training | Kamal Protap Sir | Part 6

19.11.17 Videos:
Relationships:
Inheritance, Association, Aggregation and Composition
These are except that inheritance
From the slide:
Association:
Relation between students and teacher. Both are independent.
Manager has a swipe card to enter the company premises Association
Inheritance:
A manager is a type of Employee. Employee is a parent of manager
Aggregation:
These kind of relationship is called Aggregations. It represents a Has-A relationship.
public class Manager{
//aggregation relation
public List<Worker> workers=new  List<Worker>();
//here worker is the child object and manager  is the parent object

}

public class Worker{

public string WorkerName=” “;

Worker object=new Objects;

}
Composition(Death Relationships)

StringBuilder:

It is very useful while string can make complexity in heap but StringBuilder helps to reduce it by modifed string.

System.Text.StringBuilder class can be used  and it comes from System.Text namespace

 

StringBuilder is mutable
StringBuilder performs faster than string when appending multiple string values

StringBuilder sb=new StringBuilder();

Use append method to add or append strings with StringBuilder
Use ToString() method to get the string from StringBuilder

Relationships Code and Videos:

 

  1. Manager( is a )type of employee(Employee is a parent of Manager) – Inheritance
  2. Manager ( has a ) swipe card to enter company premises – Association
  3. He has many workers under him.  – Aggregation relationship
  4.  His salary depend on project success. – Composition
  5.  Project success depends on a manager. –

I have completed the program may be I need to do it / practice it letter with heart. 🙂

Success Hacks


 

 

C# IEnumerable vs IEnumerator

When we work with Collections in C# we need to iterate the items of collections. One way fo doing is this foreach loop.

 

The class should implenet IEnumerable interface. The IEnumerable interface also inehirts from IEnumerator interface/

 

 

 

codes:

 

 

LICT .NET Training | Kamal Protap Sir | Part 5

16/11/2017 vids

ExtensionMethod
Object Initializer
CollectionInitializer
QueryExpression
– It contains three clauses
from, where, orderby
Linq
IEnumerable

Diffrenet Datasource:
Array, Database, XML,LIST/Collection also datasource, File Concept also data source
Data we can able to store in known as data source
Data source: Where the data is available

Linq-Language Integrated Query
What is strongly typed ?

Strongly typed means:
Which show error immediately at a time of declaration that  is called strongly typed. It is also called compile time error.

Weakly typed means:
Which show error in runtime is called weakly typed like delegate.It is also known as loosely type.

Intellisense and Strongly typed is supproted in LINQ concept.

LINQ enabled data sources is very very important for interview:
LINQ to Objects : It means with array, arralist, etc.
LINQ to Datasets: It’s connected with ADO.NET
LINQ to SQL: It’s connected to SQL
LINQ to Entities: It’s connected to other data base like oracle or mysql
LINQ to XML: It’s connected to XML files

IQueryable
Where IQueryable is inherited from IEnumerable
IEnumerable

There are two expression in LINQ QueryExpression and methodExpression

Differed Execution:

 

Forced Execution:

 

Immediate:

Interview Question

এপ্লিকেন্টকে এত নিয়ম মানতে হবে, তা আপনারাও তো জব পোস্ট করার সময় গ্রুপের নিয়মগুলো পড়ে জব পোস্ট করা উচিত। অন্তত কোম্পানীটার নাম তো দিবেন। তাহলে গুগল সার্চ করে অন্তত দেখতে পারতাম কোম্পানীর অবস্থা কেমন, কবে শুরু করেছে, কিসের কিসের উপর কাজ করে, এদের সাইটে ভিজিটর কেমন। অনলাইনে এদের উপস্থিতি কেমন।CEO কে, ওনার প্রোফাইল ভেল্যু কেমন, কয়জন এমপ্লি কাজ করে ঐখানে। গ্লাসডোরে ওদের প্রোফাইল আছে কিনা। ১৫ হাজারে যে ঢুকবো, ঠিকমত সেলারী দিতে পারবে তো ! একটা কোম্পানীর যেমন অধিকার আছে সবকিছু অ্যানালাসিস করে কাউকে নেয়ার, ঠিক তেমনি এপ্লিকেন্টেরও সব কিছু অ্যানালাইসিস করে অ্যাপ্লাই করার সুযোগ থাকা উচিত।

 

 

???? ????? ?????? ????? ????????? ??????? ??? ?????? ???????? ?? ????????? ????? ???? ????? ????? ?????? ???? ???????? ??????? ??????? ?????? ????? ??????????? ?? ????? ??????? ?????????? ???? ????????? ???????? ?? ???? ?????? ????? ???????? ?????? ????? ??, ?????? ??? ?? ?????? ??? ?????? ????? ??? ???? ??? ?? ????? ?? ??? ???? ??? ??? ????? ?? ????? ??? ??? ???????? ?????

 

LICT .NET Training | Kamal Protap Sir | Part 4

MVC Part:

Controller getting input.

ApplicationManagement video was so important

 

In Controller Folder HomeController.Cs is a controller which is controlling all the things

here is the code:

App_Start Folder:

RouteConfig.cs file we will find that

Views/Home/About
Views/Home/Contact

How to communicate with Controller and View:
ViewData and ViewBag passing the data from a controller to view

Interview questions:
ViewData: ViewData is dictionary of objects that is dervied from ViewData dictionary class and is accessible using string as keys.

ViewBag: viewBag is dynamic property. That take advantages of dynamic features.

both does not provide any compile time error.

 

In model we need to write the business logic.

In View we can show the actual things what we want to show:

View->Details.cshtml

Employee.cs

EmployeeController.cs