This week I learned that a users token, (which allows them to see only their items) can be stored via cache and or locally.
Digest cycle is what Angular JS triggers when a value in the model or view is changed. The cycle sets off the watchers which then match the value of model and view to the newest value. Digest cycle automatically runs when the code encounters a directive. The scope of the digest cycle is limited to that of Angular JS context. To synchronise changes in view and model that happen outside the Angular context, manual application of…
Modules are a significant improvement to the functionality to our angular projects.
To sort or filter through data in an angular material table you can use the sort method, and also the filterPredicate method.
The value and downfalls to a cdn based version and a local angular material. Local Installation: You can download the Angular Material libraries using npm, jspm, or bower on your local machine and include it in your HTML code. CDN based version: You can include the angular-material.min.css and angular-material js files into your HTML code directly from the Content Delivery Network (CDN).
Angular material autocomplete is…
This week I learned that a Modal is a pop up window that you can use methods through.
Annotations are only metadata set on the class using the Reflect Metadata library. Decorator corresponds to a function that is called on the class. Decorator are used for creating an attribute annotations that stores array. Decorator is a function that gets the object that needs to be decorated.
The main building blocks for Angular are modules, components, templates, metadata, data binding, directives, services, and dependency injection.
ngOnInit()is used to trigger something once the initialization is complete
String interpolation in Angular is a one-way data-binding technique that is used to transfer the data from a TypeScript code to an HTML template
Angular JS: Supports Model-View-Controller design. The view processes the information available in the model to generate the output.
Angular: Uses components and directives. Components are the directives with a template.
A template is a form of HTML that tells Angular how to render the component.
Directives are classes that add additional behavior to elements in your Angular applications.
API controllers deal with data, controllers deal with the API controller and the view.
WCF is used for developing SOAP-based services whereas Web API is used for both SOAP-based and RESTful services. WCF does not offer any support for MVC features whereas Web API supports MVC features
As the name implies, attribute routing uses attributes to define routes. Attribute routing gives you more control over the URIs in your web API.
ASP .NET MVC is used to create web applications that return both views and data but ASP .NET Web API is used to create full-blown HTTP services with an easy and simple way that returns only data
OAuth is about Authorization while OpenID is Authentication.
When it comes to errors, study and know the error codes. Set break points when de-bugging.
JSON is a format for structuring code.
Agile seems like a good idea in practice, however each organization should organize their own variant of the practice to best suit them.
The 3 amigos of Agile are the Business Analyst, Developer, and Tester
Time-Boxing proposes fixing a certain amount of time for each process and activity in a Scrum project.
The Scrum Master is in charge of working with the Scrum visionary to get an idea and translate that into code using programmers.
This week I learned how to set up a basic authentication functionality using token based hashing.
A function must return a value while a stored procedure does not.
Caching is the process of storing data for future use.
Global Assembly Cache is where assemblies are shared amongst different applications.
An exe is an executable, its a program. A Dll is a dynamic link library in which cannot be executed.
IHttpActionResult is an upgraded version of IHttpActionMessage. It allows for better extensive functionality and better testing of controllers.
This week I learned how to create an exercise API, that functions to keep a users data and there exercise posts. This taught me a more hierarchical structure to a layered data base.
MVC is the structure that separates your logic into 3 categories, Models, Controllers and the View.
In the aspect of a products features Globalization is the needs and features that may support a wide variety of options that everyone may deem necessary. Localization may only be a select few options that a few individuals may need. Such as Rider in the aspect of Visual Studio. …
Both EF and LINQ to SQL have there pros and cons. Linq to SQL is mostly server based, and used to query and modify a SQL database, while Entity framework can support multiple data bases.
We can use the virtual keyword when wanting to control how your application loads.
When you pluralize an object, it creates a set of objects with a similar identifier and something to separate them, such as a number. User1, User2, User3, User4. Whereas a singular is just a single object.
As there are many addition to EF core 6.0 I will point out some rather interesting ones. 1. Asynchronous Queries and Save support 2. Logging of database commands 3. Translate String.Concat with multiple arguments.(https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-6.0/whatsnew)
This week in class I learned how easy it is to change framework versions. All that is needed is the file in which calls the framework in use, than specifying the desired version, if applicable.
Lazy loading is just loading data manually and not automatically when starting the program.
We can load data by using Lazy loading, Eager Loading, or Explicit Loading.
Item Context is done in a class to link a data base to your code.
An entity set is similar items that share a same features, such as a student roster. (Name, birthday, grade)
An association set does not store any instance of an entity but just holds on to it.