Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Interlingua
Irish
Italian
Japanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
1
Now, I said before, you do not have to know how to develop using dot net or Narges, which is true,
2
you really don't need to know that.
3
But I do want to go through some of the elements that we see in the code and some of the files.
4
So here we see the files in the folders that that are part of the ridded catalog.
5
And I want to look specifically at two files.
6
The first one is this index dot dot.
7
This is the file that runs the functionality behind the HTML page that we just saw.
8
So, for example, we have a method called On Git, which is automatically run when the page is displayed.
9
And what you see here is that we define a books list which contains a list of objects of type book,
10
and then we go to something called context and tells him to get all the books it has and put them in
11
the list.
12
Now, this context is the object that actually connect to the database right now.
13
As we said before, we are walking with an in-memory database, so the context is wired to an in-memory
14
database.
15
Later, we are going to change it.
16
Now, as you can see, we have some sections here that are coming out, for example, this one now we
17
are going to uncommented this code after we start walking with is the distributed.
18
We will talk about it later in this course.
19
So, for example, we see here a method called unposed.
20
Add to shopping cart, as you can guess, from its name.
21
This method adds book to the shopping cart.
22
And currently most of it is commented out because we don't have anything to add the book to.
23
We will handle it, of course, later.
24
Another file I want you to take a look at is this one upsetting dot Jason?
25
This file contains configuration data for the website.
26
And the two most interesting things here are this one.
27
And here we have an element adjacent element called Beukes DB, which will contain in the future the
28
connection string to the database.
29
Next, we have this one, which again in the future will contain the connection string to the radius.
30
Currently, we don't need it because, again, we don't have a radius and our database is an in-memory
31
one, so we don't connect to a real database.
32
Now, if you're wondering how does the code know to connect to an in-memory database instead of a huge
33
database, then you can take a look here at the start of this file.
34
And here, scroll up and look at this line.
35
This is a boolean valuable.
36
And it indicates to the code that currently it is going to use in memory because use in memory equals
37
true.
38
And we are using this variable here in this line.
39
And basically what we tell Dockett Kahir is to use in memory database.
40
Of course, we will change it later when we will start working with a real world database.
41
So these are the main elements of the code.
42
And now that we have a walking code and a walking platform and a walking code, Edita, let's move on
43
and start walking with Asia.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.