Posts
Angular Basic concepts
- Get link
- X
- Other Apps
@ Component ({ selector : 'app-root' , imports : [], templateUrl : './app.component.html' , styleUrl : './app.component.css' App-root-> defined in index.html app.module.ts-> at least 1 component. Grouping multiple components. Component is combination of HTML+CSS+.TS+spec.ts In ts file-> linking happens @componnet -> decorative, without decorative it is plain JS file convers ts file into component-> using decorator index.html-> Single page application A selector in Angular is like an address for a component. It tells Angular where to display that component in the HTML structure. When Angular finds the selector in the HTML, it replaces it with the component's template. Selectors can be element names, attributes, classes, or combinations of these. For example, a selector app-example would be used in HTML as <app-example> , while [app-example] would be used as <div ap...
Azure for beginners
- Get link
- X
- Other Apps
Q) What is Azure? Azure is a public cloud computing platform—with solutions including Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS) that can be used for services such as analytics, virtual computing, storage, networking, and much more. It can be used to replace or supplement your on-premises servers. Microsoft Azure – IaaS, PaaS and SaaS Flexible – Move compute resources up and down as needed Open – Supports almost any OS, language, tool, or framework Reliable – 99.95% availability SLA and 24×7 tech support Global – Data housed in geo-synchronous data centers Economical – Only pay for what you use Azure is a fast, flexible, and affordable platform, and its pricing and capabilities make it the best public cloud offering on the market. 1. Enhance and Implement Backup and Disaster Recovery Azure is a backup and disaster recovery dream tool. Why? Because of its flexibility, advanced site recovery, and built-in integration. As a...
DOT NET CORE Basic Interview Question and Answers
- Get link
- X
- Other Apps
Q) What is the startup class in ASP.NET core? A) Startup class is the entry point of the ASP.NET Core application. This class contains the application configuration related items. It is not necessary that class name must "Startup", it can be anything, we can configure startup class in Program class. public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } public static IWebHostBuilder CreateWebHostBuilder(string[] args) => WebHost.CreateDefaultBuilder(args) .UseStartup<TestClass>(); } ----------------------------------------------------------------------------------------------------------------------------- Q) What is the use of Configure Services method of startup class? A) This is an optional method of startup class. It can be used to configure the services that are used by the application. This method calls first when the application is requested for the first time...